# CVE-2026-80615: net: dst\_metadata: fix false-positive memcpy overflow in tun\_dst\_unclone

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.49% (percentile 35, 2026-11-28)
- **Published:** 2026-08-28T06:48:36.315Z
- **Modified:** 2026-10-16T20:18:04.063Z

## Who should check

- Anyone running Linux \>= 69050f8d6d075dc01af7a5f2f550a8067510366f, \< 7ce31739fe88a558370135db95bbeec1e7ddfc29; \>= 69050f8d6d075dc01af7a5f2f550a8067510366f, \< 4c6d43db2a4d2cef3921e885cf34798f790d34ea
- Anyone running Linux 7.0

## Description

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.

## Affected and fixed versions

- Linux: \>= 69050f8d6d075dc01af7a5f2f550a8067510366f, \< 7ce31739fe88a558370135db95bbeec1e7ddfc29; \>= 69050f8d6d075dc01af7a5f2f550a8067510366f, \< 4c6d43db2a4d2cef3921e885cf34798f790d34ea (cvelist)
- Linux: 7.0 (cvelist)

## Mitigation

- Upgrade Linux to 4c6d43db2a4d2cef3921e885cf34798f790d34ea or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80615. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80615.md
Affected: Linux >= 69050f8d6d075dc01af7a5f2f550a8067510366f, < 7ce31739fe88a558370135db95bbeec1e7ddfc29; >= 69050f8d6d075dc01af7a5f2f550a8067510366f, < 4c6d43db2a4d2cef3921e885cf34798f790d34ea; Linux 7.0
Fixed in: Linux 7ce31739fe88a558370135db95bbeec1e7ddfc29, Linux 4c6d43db2a4d2cef3921e885cf34798f790d34ea

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80615 being exploited?

There is no confirmed exploitation: CVE-2026-80615 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-80615?

High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-80615?

Linux \>= 69050f8d6d075dc01af7a5f2f550a8067510366f, \< 7ce31739fe88a558370135db95bbeec1e7ddfc29; \>= 69050f8d6d075dc01af7a5f2f550a8067510366f, \< 4c6d43db2a4d2cef3921e885cf34798f790d34ea; Linux 7.0.

### Is there a fix for CVE-2026-80615?

Yes. Fixed in Linux 7ce31739fe88a558370135db95bbeec1e7ddfc29, Linux 4c6d43db2a4d2cef3921e885cf34798f790d34ea. Upgrade Linux to 4c6d43db2a4d2cef3921e885cf34798f790d34ea or later.

### How do I check if I'm affected by CVE-2026-80615?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/7ce31739fe88a558370135db95bbeec1e7ddfc29>
- other: <https://git.kernel.org/stable/c/4c6d43db2a4d2cef3921e885cf34798f790d34ea>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80615>

HTML: <https://flawdb.com/CVE-2026-80615> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80615>
