In the Linux kernel, the following vulnerability has been resolved: vxlan: use one headroom snapshot for neighbour replies vxlan_na_create() samples… (CVE-2026-98568)
Description
A time-of-check to time-of-use (TOCTOU) race condition was identified and resolved in the Linux kernel's VXLAN implementation. The vulnerability occurs because vxlan_na_create() samples the headroom size twice, allowing a concurrent vxlan_changelink() to modify the headroom between reads. This can cause an out-of-bounds write when the Ethernet header is written, potentially leading to memory corruption. The issue was detected by KASAN during testing and has been fixed by snapshotting the headroom once for allocation and reservation.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel VXLAN module had a TOCTOU race condition in vxlan_na_create() where the function sampled LL_RESERVED_SPACE() twice to size and reserve headroom for neighbour replies. A concurrent vxlan_changelink() could update needed_headroom between these reads, causing the second sampled value to exceed the allocated buffer size. This led to an out-of-bounds write of the Ethernet header. The race was reproducible and detected by KASAN. The fix involves taking a single snapshot of the headroom value and using it consistently for allocation and reservation to prevent the race.
Potential Impact
This vulnerability can cause out-of-bounds memory writes in the kernel, which may lead to memory corruption, system instability, or potential escalation of privileges if exploited. However, there is no indication of known exploits in the wild. The issue affects the integrity and stability of the Linux kernel networking stack.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by snapshotting the headroom once and using that value consistently. Users should update to the patched kernel version containing this fix. Since no specific patch links or vendor advisories are provided, users should consult their Linux distribution's security updates for the official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-489c-q3cc-mm5r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98568"]
Threat ID: 6ad520af2cdf04f656993abc
Added to database: 10/18/2026, 19:40:31 UTC
Last enriched: 10/18/2026, 20:48:57 UTC
Last updated: 10/18/2026, 22:08:18 UTC
Views: 5
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.