CVE-2026-64580
Description
A flaw was found in the Linux kernel's xfrm6 component, which manages the IPv6 transformation framework. An error in the xfrm6_fill_dst() function can cause a network device reference to be released twice. This double release leads to a reference count underflow, which may result in resource mismanagement and a denial of service (DoS) condition, making the affected system or network service unavailable.
Statement
xfrm6_fill_dst can release a net_device reference on an error path but leave dst.dev pointing to the same device. A later dst_destroy can call netdev_put again on that stale dst.dev value, causing a double reference release and net_device refcount corruption. This is reachable from local IPv6 output paths such as udpv6_sendmsg when XFRM policy and device state hit the in6_dev_get failure path. For the CVSS the PR:L is used for the paranoid score because a local unprivileged process may be able to trigger packet output when the XFRM configuration already exists, even though creating or changing XFRM policy normally requires administrative privileges. The issue is not directly network reachable by incoming packet traffic. Impact is at least local denial of service via ref_tracker warnings, unregister_netdevice stalls, or kernel instability. In the worst defensible case, the double reference release is a memory lifetime bug and may allow broader confidentiality or integrity impact if it can be shaped into a use-after-free.
Mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.5 | N/A | 7.8 |
| Attack Vector | Local | N/A | Local |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | Low | N/A | Low |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | None | N/A | High |
| Integrity Impact | None | N/A | High |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Understanding the Weakness (CWE)
Integrity,Confidentiality
Technical Impact: Modify Application Data; Read Application Data
If a released resource is subsequently reused or reallocated, then an attempt to use the original resource might allow access to sensitive data that is associated with a different user or entity.
Other,Availability
Technical Impact: Other; DoS: Crash, Exit, or Restart
When a resource is released it might not be in an expected state, later attempts to access the resource may lead to resultant errors that may lead to a crash.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.