In the Linux kernel, the following vulnerability has been resolved: udp: fix potential use-after-free in tunnel segmentation… (CVE-2026-74705)
A use-after-free vulnerability in the Linux kernel's UDP tunnel segmentation code was identified and resolved. The function __skb_udp_tunnel_segment() accessed the UDP header before confirming the tunnel header was in the skb head, which could lead to an invalid pointer dereference if skb->head was reallocated. The fix involves retrieving the UDP header after the pull operation to prevent this issue.
AI Analysis
Technical Summary
The Linux kernel contained a use-after-free vulnerability in the UDP tunnel segmentation function __skb_udp_tunnel_segment(). This function accessed the UDP header pointer before ensuring the tunnel header was present in the socket buffer (skb) head. If the pull operation caused skb->head to be reallocated, the previously saved UDP header pointer became invalid, potentially leading to memory corruption. The vulnerability was fixed by changing the code to get the UDP header after the pull, thus avoiding the use of a stale pointer.
Potential Impact
This vulnerability could cause memory corruption due to use-after-free, which may lead to kernel crashes or potentially allow an attacker to execute arbitrary code in kernel context. However, no known exploits in the wild have been reported. The impact is limited to affected Linux kernel versions where this code pattern existed.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code to address this use-after-free issue by adjusting the order of operations in __skb_udp_tunnel_segment(). Users should apply the official kernel updates or patches that include this fix. Since no vendor advisory or patch links are provided here, users should monitor official Linux kernel release notes or trusted security advisories for the patch and update accordingly.
In the Linux kernel, the following vulnerability has been resolved: udp: fix potential use-after-free in tunnel segmentation… (CVE-2026-74705)
Description
A use-after-free vulnerability in the Linux kernel's UDP tunnel segmentation code was identified and resolved. The function __skb_udp_tunnel_segment() accessed the UDP header before confirming the tunnel header was in the skb head, which could lead to an invalid pointer dereference if skb->head was reallocated. The fix involves retrieving the UDP header after the pull operation to prevent this issue.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel contained a use-after-free vulnerability in the UDP tunnel segmentation function __skb_udp_tunnel_segment(). This function accessed the UDP header pointer before ensuring the tunnel header was present in the socket buffer (skb) head. If the pull operation caused skb->head to be reallocated, the previously saved UDP header pointer became invalid, potentially leading to memory corruption. The vulnerability was fixed by changing the code to get the UDP header after the pull, thus avoiding the use of a stale pointer.
Potential Impact
This vulnerability could cause memory corruption due to use-after-free, which may lead to kernel crashes or potentially allow an attacker to execute arbitrary code in kernel context. However, no known exploits in the wild have been reported. The impact is limited to affected Linux kernel versions where this code pattern existed.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code to address this use-after-free issue by adjusting the order of operations in __skb_udp_tunnel_segment(). Users should apply the official kernel updates or patches that include this fix. Since no vendor advisory or patch links are provided here, users should monitor official Linux kernel release notes or trusted security advisories for the patch and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-rcm8-q4cm-988v
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74705"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8a27f0acd9273b499bc738
Added to database: 08/22/2026, 22:51:28 UTC
Last enriched: 08/23/2026, 00:38:43 UTC
Last updated: 08/23/2026, 02:12:06 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.