{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-80845","id":"CVE-2026-80845","title":"xfrm: avoid lock inversion in nat keepalive work","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: avoid lock inversion in nat keepalive work\n\nnat_keepalive_work() walks the state table while xfrm_state_walk()\nholds net->xfrm.xfrm_state_lock. Its callback then acquires x->lock,\nwhich conflicts with the delete path taking the same locks in reverse\norder via xfrm_state_delete() and __xfrm_state_delete(). This creates\nan AB","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: avoid lock inversion in nat keepalive work\n\nnat_keepalive_work() walks the state table while xfrm_state_walk()\nholds net->xfrm.xfrm_state_lock. Its callback then acquires x->lock,\nwhich conflicts with the delete path taking the same locks in reverse\norder via xfrm_state_delete() and __xfrm_state_delete(). This creates\nan AB-BA deadlock that is reported by lockdep when a NAT keepalive\nworker races with SA deletion.\n\nFix this by splitting the keepalive walk into two phases. First,\ncollect the candidate states while the walk holds xfrm_state_lock and\ntake a reference on each state. Then, after the walk completes, process\neach collected state and acquire x->lock without nesting it under\nxfrm_state_lock.","published":"2026-09-04T15:54:55.489Z","updated":"2026-10-28T02:30:42.458458146Z","reserved":"2026-08-26T14:34:25.797Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae","lessThan":"ea09210462316e5235a25eccb11ad0708d86615e","status":"affected","versionType":"git"},{"version":"f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae","lessThan":"5c86c895d1cac81a71ead3005084c6265cf6a7a5","status":"affected","versionType":"git"},{"version":"f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae","lessThan":"89ef3a2e1e4682ab82b0455ce113f8c39fb9e50d","status":"affected","versionType":"git"},{"version":"f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae","lessThan":"a9fa05b7a1246797748d15771052639e0d3cabf1","status":"affected","versionType":"git"},{"version":"f531d13bdfe3f4f084aaa8acae2cb0f02295f5ae","lessThan":"763fe700b7c58ad64fe5202c5638848244dd4127","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","lessThan":"6.11","status":"unaffected","versionType":"semver"},{"version":"6.12.108","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.49","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.13","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2.3","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/ea09210462316e5235a25eccb11ad0708d86615e","tags":["web"]},{"url":"https://git.kernel.org/stable/c/5c86c895d1cac81a71ead3005084c6265cf6a7a5","tags":["web"]},{"url":"https://git.kernel.org/stable/c/89ef3a2e1e4682ab82b0455ce113f8c39fb9e50d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a9fa05b7a1246797748d15771052639e0d3cabf1","tags":["web"]},{"url":"https://git.kernel.org/stable/c/763fe700b7c58ad64fe5202c5638848244dd4127","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80845.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80845","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00168,"epssPercentile":0.06136,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-80845","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80845","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-80845","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-80845","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}