# CVE-2026-64580: xfrm6: clear dst.dev on error to avoid double netdev\_put in xfrm6\_fill\_dst()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-415
- **Published:** 2026-08-05T08:09:34.946Z
- **Modified:** 2026-10-19T21:17:48.170Z

## Who should check

- Anyone running Linux \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< 97e032e5733e49471fb73de117ea2ac1ac7c479a; \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< df6856c2dda9187601d29b5fbd7a81b3b178cedf; \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< 43de8a49335e611adb271bbd52e84dfbc11fc185; \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< ff636d7b7cba6dea82ecf580415ea57f2c1a11b6; \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< e078da1b4e11390cff3201c19a9a1fe70c5b934f; \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< 136992de9bb91871084ae52d172610541c76e4d2; a7e22d0c0e81dde129a51ee413644124f4b59954; 01b0d887f67a388fb2a658ee2bdd74e5ba146818; a98124aac0b5adc5de8ae54f11322781cb4d85c3; e27b7bee743d921f037b1da6f071237345bef7c1; …
- Anyone running Linux 3.10

## Description

In the Linux kernel, the following vulnerability has been resolved:

xfrm6: clear dst.dev on error to avoid double netdev\_put in xfrm6\_fill\_dst()

On the error path where in6\_dev\_get(dev) returns NULL, xfrm6\_fill\_dst()
releases the device reference with netdev\_put() but leaves
xdst-\>u.dst.dev set. dst\_destroy() later calls netdev\_put(dst-\>dev)
again, so the same net\_device reference is released twice, underflowing
its refcount (ref\_tracker WARNING + "unregister\_netdevice: waiting for
\<dev\> to become free").

Clear xdst-\>u.dst.dev after the netdev\_put(), the same way the XFRM
device-offload paths xfrm\_dev\_state\_add() and xfrm\_dev\_policy\_add() in
net/xfrm/xfrm\_device.c NULL -\>dev when releasing the reference on error.

  ref\_tracker: reference already released.
  ref\_tracker: allocated in:
   xfrm6\_fill\_dst (net/ipv6/xfrm6\_policy.c:86)
   ...
   udpv6\_sendmsg (net/ipv6/udp.c:1696)
   ...
  ref\_tracker: freed in:
   xfrm6\_fill\_dst (net/ipv6/xfrm6\_policy.c:90)
   ...
  WARNING: lib/ref\_tracker.c:322 at ref\_tracker\_free+0x58b/0x780
   dst\_destroy (net/core/dst.c:115)
   rcu\_core
   handle\_softirqs
   ...

## Affected and fixed versions

- Linux: \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< 97e032e5733e49471fb73de117ea2ac1ac7c479a; \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< df6856c2dda9187601d29b5fbd7a81b3b178cedf; \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< 43de8a49335e611adb271bbd52e84dfbc11fc185; \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< ff636d7b7cba6dea82ecf580415ea57f2c1a11b6; \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< e078da1b4e11390cff3201c19a9a1fe70c5b934f; \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< 136992de9bb91871084ae52d172610541c76e4d2; a7e22d0c0e81dde129a51ee413644124f4b59954; 01b0d887f67a388fb2a658ee2bdd74e5ba146818; a98124aac0b5adc5de8ae54f11322781cb4d85c3; e27b7bee743d921f037b1da6f071237345bef7c1; … (cvelist)
- Linux: 3.10 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-64580.md
Affected: Linux >= 84c4a9dfbf430861e7588d95ae3ff61535dca351, < 97e032e5733e49471fb73de117ea2ac1ac7c479a; >= 84c4a9dfbf430861e7588d95ae3ff61535dca351, < df6856c2dda9187601d29b5fbd7a81b3b178cedf; >= 84c4a9dfbf430861e7588d95ae3ff61535dca351, < 43de8a49335e611adb271bbd52e84dfbc11fc185; >= 84c4a9dfbf430861e7588d9…
Fixed in: Linux 97e032e5733e49471fb73de117ea2ac1ac7c479a, Linux 43de8a49335e611adb271bbd52e84dfbc11fc185, Linux 136992de9bb91871084ae52d172610541c76e4d2

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-64580 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< 97e032e5733e49471fb73de117ea2ac1ac7c479a; \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< df6856c2dda9187601d29b5fbd7a81b3b178cedf; \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< 43de8a49335e611adb271bbd52e84dfbc11fc185; \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< ff636d7b7cba6dea82ecf580415ea57f2c1a11b6; \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< e078da1b4e11390cff3201c19a9a1fe70c5b934f; \>= 84c4a9dfbf430861e7588d95ae3ff61535dca351, \< 136992de9bb91871084ae52d172610541c76e4d2; a7e22d0c0e81dde129a51ee413644124f4b59954; 01b0d887f67a388fb2a658ee2bdd74e5ba146818; a98124aac0b5adc5de8ae54f11322781cb4d85c3; e27b7bee743d921f037b1da6f071237345bef7c1; …; Linux 3.10.

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

Yes. Fixed in Linux 97e032e5733e49471fb73de117ea2ac1ac7c479a, Linux 43de8a49335e611adb271bbd52e84dfbc11fc185, Linux 136992de9bb91871084ae52d172610541c76e4d2. No fix listed yet: follow the vendor advisory.

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

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/97e032e5733e49471fb73de117ea2ac1ac7c479a>
- other: <https://git.kernel.org/stable/c/df6856c2dda9187601d29b5fbd7a81b3b178cedf>
- other: <https://git.kernel.org/stable/c/43de8a49335e611adb271bbd52e84dfbc11fc185>
- other: <https://git.kernel.org/stable/c/ff636d7b7cba6dea82ecf580415ea57f2c1a11b6>
- other: <https://git.kernel.org/stable/c/e078da1b4e11390cff3201c19a9a1fe70c5b934f>
- other: <https://git.kernel.org/stable/c/136992de9bb91871084ae52d172610541c76e4d2>

## 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-64580>

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