CVE-2026-64580

xfrm6: clear dst.dev on error to avoid double netdev_put in xfrm6_fill_dst()

7.8 high EPSS 0.12%

Published 5 Aug 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-64580

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64580 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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 ...

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.12%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.38% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 84c4a9dfbf430861e7588d95ae3ff61535dca351, before 97e032e5733e49471fb73de117ea2ac1ac7c479a
affected from 84c4a9dfbf430861e7588d95ae3ff61535dca351, before df6856c2dda9187601d29b5fbd7a81b3b178cedf
affected from 84c4a9dfbf430861e7588d95ae3ff61535dca351, before 43de8a49335e611adb271bbd52e84dfbc11fc185
affected from 84c4a9dfbf430861e7588d95ae3ff61535dca351, before ff636d7b7cba6dea82ecf580415ea57f2c1a11b6
affected from 84c4a9dfbf430861e7588d95ae3ff61535dca351, before e078da1b4e11390cff3201c19a9a1fe70c5b934f
affected from 84c4a9dfbf430861e7588d95ae3ff61535dca351, before 136992de9bb91871084ae52d172610541c76e4d2
affected a7e22d0c0e81dde129a51ee413644124f4b59954
affected 01b0d887f67a388fb2a658ee2bdd74e5ba146818
affected a98124aac0b5adc5de8ae54f11322781cb4d85c3
affected e27b7bee743d921f037b1da6f071237345bef7c1
affected from 3.0.79, before 3.1
affected from 3.2.46, before 3.3
affected from 3.4.46, before 3.5
affected from 3.9.3, before 3.10
Other versions: unaffected
Linux
affected 3.10
unaffected before 3.10
unaffected from 6.1.183 up to and including 6.1.*
unaffected from 6.6.148 up to and including 6.6.*
unaffected from 6.12.101 up to and including 6.12.*
unaffected from 6.18.42 up to and including 6.18.*
unaffected from 7.1.6 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64580 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64580

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-64580
trivy image --scanners vuln IMAGE | grep CVE-2026-64580

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-64580 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.