VDB

CVE-2026-80845

CVE-2026-80845 PUBLISHED

xfrm: avoid lock inversion in nat keepalive work

Reported by linux · Published September 4, 2026

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.

EPSS 0.17% · 6.1th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perf6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel6.12-develAmazon Linux1:6.12.110-135.201.amzn2023
kernel6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.110-135.201.amzn2023
kernel6.12-headersAmazon Linux1:6.12.110-135.201.amzn2023
bpftool6.18Amazon Linux1:6.18.51-120.162.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.110-135.201.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.51-120.162.amzn2023

Risk scores

EPSS Score
0.17%
6.1th percentile

Affected products

VendorProductVersions
LinuxLinuxf531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae
LinuxLinux6.11, 0, 6.12.108
amazon:2023python3-perf6.120
amazon:2023kernel6.12-devel0
amazon:2023kernel6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-headers0
amazon:2023bpftool6.180
amazon:2023kernel6.12-tools0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-modules-extra-common0
linuxlinux_kernel6.11, 6.11, 6.11
amazon:2023kernel6.180
LinuxLinux7.3, *, *
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-tools-devel0
amazon:2023perf6.180
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2023bpftool6.120

…and 7 more

Timeline

  • Sep 4, 2026 Coalition ESS Score
  • Sep 4, 2026 CVE Published
  • Sep 5, 2026 EPSS Score (10 in total, the first dated here)
  • Sep 15, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-80845
vulnetix vdb fixes CVE-2026-80845

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-80845/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›