Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143219

net: protect negative destination advice with RCU

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 to < 1659b53ca86e3e9982f7eff3d6a0c34fe58a4c59affected
  • a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 to < 52d46f2a95586816ace4379da1938dfd6fa06e41affected
  • a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 to < a83215575e38e057d52dd3cdfc3ac8307bcaf544affected
  • a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 to < c3fd11f2bb0b0f32acdd633ef7bc6773c66229cbaffected
  • a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 to < 3181e2e6f7c586cd000683511490eec867a406b0affected
  • a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 to < 4b77d2792c3e482afa108c08f224ea6fa396d80baffected

Linux Linux

Default version status: affected

  • 4.6affected
  • 0 to < 4.6unaffected
  • 5.10.276 to ≤ 5.10.*unaffected
  • 5.15.227 to ≤ 5.15.*unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc3 to ≤ *unaffected

References