CVE-2026-80845

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
19/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> xfrm: avoid lock inversion in nat keepalive work<br /> <br /> nat_keepalive_work() walks the state table while xfrm_state_walk()<br /> holds net-&gt;xfrm.xfrm_state_lock. Its callback then acquires x-&gt;lock,<br /> which conflicts with the delete path taking the same locks in reverse<br /> order via xfrm_state_delete() and __xfrm_state_delete(). This creates<br /> an AB-BA deadlock that is reported by lockdep when a NAT keepalive<br /> worker races with SA deletion.<br /> <br /> Fix this by splitting the keepalive walk into two phases. First,<br /> collect the candidate states while the walk holds xfrm_state_lock and<br /> take a reference on each state. Then, after the walk completes, process<br /> each collected state and acquire x-&gt;lock without nesting it under<br /> xfrm_state_lock.

Impact