CVE-2026-98568

vxlan: use one headroom snapshot for neighbour replies

Published Oct 18, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

vxlan: use one headroom snapshot for neighbour replies

vxlan_na_create() samples LL_RESERVED_SPACE() to size the reply skb and then
samples it again to reserve headroom. A concurrent vxlan_changelink() can
update needed_headroom between the two reads, creating a TOCTOU race. The
second value can exceed the allocation and make the Ethernet header write out
of bounds.

The race is reproducible on the unpatched kernel. It occurred when
vxlan_na_create() generated a neighbour reply while vxlan_changelink() changed
the link headroom. KASAN caught a four-byte write two bytes beyond a 704-byte
skbuff_small_head allocation.

Snapshot the headroom once and use that value for both allocation and
reservation.

Analysis

AI-generated

Technical impact

A time‑of‑check to time‑of‑use race in the Linux kernel’s VXLAN module allows an attacker to cause an out‑of‑bounds write when the kernel constructs a neighbor reply. The race arises because vxlan_na_create() reads the required headroom twice, once for buffer allocation and once for headroom reservation; a concurrent vxlan_changelink() call can alter the value between those reads. If the second value is larger, the Ethernet header is written beyond the allocated buffer, corrupting kernel memory and potentially leading to a system crash or compromise.

Affected Systems

All Linux kernels that contain the vulnerable vxlan_na_create() implementation before the latest patch are affected. This includes every distribution that ships with the default kernel code for VXLAN support; specific sub‑versions are not enumerated, so any unpatched kernel running the outdated code is susceptible.

Risk and Exploitability

The CVSS v3.1 score of 4.7 indicates moderate severity, while the EPSS score of less than 1% suggests low likelihood of widespread exploitation. Because the flaw can be triggered by network‑based VXLAN traffic while a local administrator changes link settings, the theoretical attack vector is limited to environments that both send and receive VXLAN packets. Although the vulnerability is not yet listed in the CISA KEV catalog, the reproducible out‑of‑bounds write could crash the kernel or, if an attacker can influence the surrounding memory, potentially lead to denial of service or privilege escalation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest stable Linux kernel release that includes the patch for CVE‑2026‑98568.
  • Disable VXLAN for any interfaces that are not in active use, or unload the vxlan module until the fix is available.
  • Monitor kernel logs for KASAN, oops, or other memory corruption messages that might indicate an ongoing exploit attempt.

Generated by OpenCVE AI on October 22, 2026 at 21:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9167-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9169-1 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-2 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9167-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9169-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-4 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9167-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-119
CWE-682
Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-119
CWE-682
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: vxlan: use one headroom snapshot for neighbour replies vxlan_na_create() samples LL_RESERVED_SPACE() to size the reply skb and then samples it again to reserve headroom. A concurrent vxlan_changelink() can update needed_headroom between the two reads, creating a TOCTOU race. The second value can exceed the allocation and make the Ethernet header write out of bounds. The race is reproducible on the unpatched kernel. It occurred when vxlan_na_create() generated a neighbour reply while vxlan_changelink() changed the link headroom. KASAN caught a four-byte write two bytes beyond a 704-byte skbuff_small_head allocation. Snapshot the headroom once and use that value for both allocation and reservation.
Title vxlan: use one headroom snapshot for neighbour replies
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:38 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 30, 2026, 1:21 PM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM