CVE-2026-80845: xfrm: avoid lock inversion in nat keepalive work
Vulnerability summary
CVE-2026-80845 is a vulnerability in linux with no CVSS score yet. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 5.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 1Timeline
- 04-09-2026PublishedVulnerability first disclosed.
- 19-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
Risk metrics not yet published.
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.17% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Ubuntu121 products
- linuxAll versions (No fix recorded)
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.12.111-1 | < 7.1.13-1
- linux-6.12< 6.12.111-1~deb12u1
Linux1 product
- linux≥ f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, < ea09210462316e5235a25eccb11ad0708d86615e | ≥ f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, < 5c86c895d1cac81a71ead3005084c6265cf6a7a5 | ≥ f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, < 89ef3a2e1e4682ab82b0455ce113f8c39fb9e50d | ≥ f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, < a9fa05b7a1246797748d15771052639e0d3cabf1 | ≥ f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, < 763fe700b7c58ad64fe5202c5638848244dd4127 | 6.11
3 vendors · 124 products