CVE-2026-80845
xfrm: avoid lock inversion in nat keepalive work
Check your servers for CVE-2026-80845
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-80845 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
xfrm: avoid lock inversion in nat keepalive work
nat_keepalive_work() walks the state table while xfrm_state_walk() holds net->xfrm.xfrm_state_lock. Its callback then acquires x->lock, which conflicts with the delete path taking the same locks in reverse order via xfrm_state_delete() and __xfrm_state_delete(). This creates an AB-BA deadlock that is reported by lockdep when a NAT keepalive worker races with SA deletion.
Fix this by splitting the keepalive walk into two phases. First, collect the candidate states while the walk holds xfrm_state_lock and take a reference on each state. Then, after the walk completes, process each collected state and acquire x->lock without nesting it under xfrm_state_lock.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.35% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, before ea09210462316e5235a25eccb11ad0708d86615e affected from f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, before 5c86c895d1cac81a71ead3005084c6265cf6a7a5 affected from f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, before 89ef3a2e1e4682ab82b0455ce113f8c39fb9e50d affected from f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, before a9fa05b7a1246797748d15771052639e0d3cabf1 affected from f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, before 763fe700b7c58ad64fe5202c5638848244dd4127
Other versions: unaffected
|
| Linux |
affected 6.11 unaffected before 6.11 unaffected from 6.12.108 up to and including 6.12.* unaffected from 6.18.49 up to and including 6.18.* unaffected from 7.1.13 up to and including 7.1.* unaffected from 7.2.3 up to and including 7.2.* unaffected 7.3 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-80845 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-80845
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-80845
trivy image --scanners vuln IMAGE | grep CVE-2026-80845
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
- https://git.kernel.org/stable/c/ea09210462316e5235a25eccb11ad0708d86615e git.kernel.org
- https://git.kernel.org/stable/c/5c86c895d1cac81a71ead3005084c6265cf6a7a5 git.kernel.org
- https://git.kernel.org/stable/c/89ef3a2e1e4682ab82b0455ce113f8c39fb9e50d git.kernel.org
- https://git.kernel.org/stable/c/a9fa05b7a1246797748d15771052639e0d3cabf1 git.kernel.org
- https://git.kernel.org/stable/c/763fe700b7c58ad64fe5202c5638848244dd4127 git.kernel.org
Source: the record CVE-2026-80845 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse