# CVE-2026-80845: xfrm: avoid lock inversion in nat keepalive work

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-04T15:54:55.489Z
- **Modified:** 2026-10-19T09:17:19.983Z

## Who should check

- Anyone running Linux \>= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, \< ea09210462316e5235a25eccb11ad0708d86615e; \>= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, \< 5c86c895d1cac81a71ead3005084c6265cf6a7a5; \>= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, \< 89ef3a2e1e4682ab82b0455ce113f8c39fb9e50d; \>= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, \< a9fa05b7a1246797748d15771052639e0d3cabf1; \>= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, \< 763fe700b7c58ad64fe5202c5638848244dd4127
- Anyone running Linux 6.11

## 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.

## Affected and fixed versions

- Linux: \>= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, \< ea09210462316e5235a25eccb11ad0708d86615e; \>= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, \< 5c86c895d1cac81a71ead3005084c6265cf6a7a5; \>= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, \< 89ef3a2e1e4682ab82b0455ce113f8c39fb9e50d; \>= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, \< a9fa05b7a1246797748d15771052639e0d3cabf1; \>= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, \< 763fe700b7c58ad64fe5202c5638848244dd4127 (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- Upgrade Linux to 763fe700b7c58ad64fe5202c5638848244dd4127 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80845. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80845.md
Affected: Linux >= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, < ea09210462316e5235a25eccb11ad0708d86615e; >= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, < 5c86c895d1cac81a71ead3005084c6265cf6a7a5; >= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, < 89ef3a2e1e4682ab82b0455ce113f8c39fb9e50d; >= f531d13bdfe3f4f084aaa8a…
Fixed in: Linux 5c86c895d1cac81a71ead3005084c6265cf6a7a5, Linux 89ef3a2e1e4682ab82b0455ce113f8c39fb9e50d, Linux 763fe700b7c58ad64fe5202c5638848244dd4127

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80845 being exploited?

There is no confirmed exploitation: CVE-2026-80845 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80845?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-80845?

Linux \>= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, \< ea09210462316e5235a25eccb11ad0708d86615e; \>= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, \< 5c86c895d1cac81a71ead3005084c6265cf6a7a5; \>= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, \< 89ef3a2e1e4682ab82b0455ce113f8c39fb9e50d; \>= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, \< a9fa05b7a1246797748d15771052639e0d3cabf1; \>= f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae, \< 763fe700b7c58ad64fe5202c5638848244dd4127; Linux 6.11.

### Is there a fix for CVE-2026-80845?

Yes. Fixed in Linux 5c86c895d1cac81a71ead3005084c6265cf6a7a5, Linux 89ef3a2e1e4682ab82b0455ce113f8c39fb9e50d, Linux 763fe700b7c58ad64fe5202c5638848244dd4127. Upgrade Linux to 763fe700b7c58ad64fe5202c5638848244dd4127 or later.

### How do I check if I'm affected by CVE-2026-80845?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/ea09210462316e5235a25eccb11ad0708d86615e>
- other: <https://git.kernel.org/stable/c/5c86c895d1cac81a71ead3005084c6265cf6a7a5>
- other: <https://git.kernel.org/stable/c/89ef3a2e1e4682ab82b0455ce113f8c39fb9e50d>
- other: <https://git.kernel.org/stable/c/a9fa05b7a1246797748d15771052639e0d3cabf1>
- other: <https://git.kernel.org/stable/c/763fe700b7c58ad64fe5202c5638848244dd4127>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80845>

HTML: <https://flawdb.com/CVE-2026-80845> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80845>
