Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Non-default clang+FORTIFY_SOURCE build and active GENEVE tunnel both required; no confidentiality or integrity impact described.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Lifecycle Timeline
5DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
net: dst_metadata: fix false-positive memcpy overflow in tun_dst_unclone
kmalloc_flex() in metadata_dst_alloc() sets __counted_by for the structure to the options_len, which is then initialized to zero. Later, we're initializing the structure by copying the tunnel info together with the options, and this triggers a warning for a potential memcpy overflow, since the compiler estimates that the options can't fit into the structure, even though the memory for them is actually allocated.
memcpy: detected buffer overflow: 104 byte write of buffer size 96 WARNING: CPU: X PID: Y at lib/string_helpers.c:1036 __fortify_report skb_tunnel_info_unclone+0x179/0x190 geneve_xmit+0x7fe/0xe00
The issue is triggered when built with clang and source fortification.
Fix that by doing the copy in two stages: first - the main data with the options_len, then the options. This way the correct length should be known at the time of the copy.
It would be better if the options_len never changed after allocation, but the allocation code is a little separate from the initialization and it would be awkward and potentially dangerous to return a struct with options_len set to a non-zero value from the metadata_dst_alloc().
Another option would be to use ip_tunnel_info_opts_set(), but it is doing too many unnecessary operations for the use case here.
AnalysisAI
Kernel memory corruption path in Linux's tunnel metadata subsystem (tun_dst_unclone) triggers a FORTIFY_SOURCE memcpy overflow warning when the kernel is built with clang, due to the __counted_by annotation on a flexible array member being evaluated as zero at copy time. Systems using GENEVE tunneling on clang-built kernels with source fortification enabled may experience kernel availability disruption if the warning escalates to a panic. …
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | Exploitation requires all of the following non-default conditions: (1) the Linux kernel must be compiled with the clang compiler (not GCC, which is the default for most distributions) with FORTIFY_SOURCE/source fortification enabled; (2) the GENEVE kernel module must be loaded and an active GENEVE tunnel interface must be configured on the target host; (3) the kernel's fortification warning must be configured to escalate to a fatal condition (BUG/panic) for availability impact to materialize. … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | The NVD-assigned CVSS 8.2 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H) materially overstates real-world risk. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | Full exploit scenario with step-by-step reproduction available after sign-in. |
| Remediation | Apply the upstream stable kernel fix available at https://git.kernel.org/stable/c/7ce31739fe88a558370135db95bbeec1e7ddfc29 and https://git.kernel.org/stable/c/4c6d43db2a4d2cef3921e885cf34798f790d34ea; distribution maintainers should target kernel versions 7.1.5 or 7.2 per EUVD patch tracking. … Detailed patch versions, workarounds, and compensating controls in full report. |
Recommended ActionAI
Within 24 hours, identify Linux systems running clang-built kernels with GENEVE tunnel support enabled by reviewing kernel configuration (check for CONFIG_GENEVE and compiler version details). …
Sign in for detailed remediation steps and compensating controls.
Threat intelligence, references, and detailed analysis are available after sign-in.
Same technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-67491
GHSA-7hmj-qv84-3gcj