CVE-2026-143219
Description
In the Linux kernel, the following vulnerability has been resolved:
net: protect negative destination advice with RCU
SO_CNX_ADVICE calls __dst_negative_advice() while holding the socket lock. Connected UDP sends can still invalidate or replace sk_dst_cache without that lock. A concurrent sk_dst_check() can drop the final destination reference and allow an RCU callback to destroy it while __dst_negative_advice() retains only a borrowed pointer. This can cause a use-after-free while accessing dst->ops or running the negative_advice callback.
The writer-side ordering fixed by commit 92f1655aa2b2 ("net: fix __dst_negative_advice() race") does not protect this reader from an independent cache replacement.
Hold an RCU read-side critical section across the lookup and callback. This follows the datagram release callbacks and covers IPv4, IPv6, and XFRM advice without changing cache-reset or reference-ownership rules.
Affected products
1Patches
Vulnerability mechanics
References
6- git.kernel.org/stable/c/1659b53ca86e3e9982f7eff3d6a0c34fe58a4c59nvd
- git.kernel.org/stable/c/3181e2e6f7c586cd000683511490eec867a406b0nvd
- git.kernel.org/stable/c/4b77d2792c3e482afa108c08f224ea6fa396d80bnvd
- git.kernel.org/stable/c/52d46f2a95586816ace4379da1938dfd6fa06e41nvd
- git.kernel.org/stable/c/a83215575e38e057d52dd3cdfc3ac8307bcaf544nvd
- git.kernel.org/stable/c/c3fd11f2bb0b0f32acdd633ef7bc6773c66229cbnvd
News mentions
0No linked articles in our index yet.