CVE-2026-80845
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.12 | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae |
| Linux | Linux | 6.11, 0, 6.12.108 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| linux | linux_kernel | 6.11, 6.11, 6.11 |
| amazon:2023 | kernel6.18 | 0 |
| Linux | Linux | 7.3, *, * |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.12.110-135.201 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
…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