AZL-118367: CVE-2026-143219 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
net: protect negative destination advice with RCU
SOCNXADVICE calls dstnegativeadvice() while holding the socket lock. Connected UDP sends can still invalidate or replace skdstcache without that lock. A concurrent skdstcheck() can drop the final destination reference and allow an RCU callback to destroy it while dstnegativeadvice() retains only a borrowed pointer. This can cause a use-after-free while accessing dst->ops or running the negativeadvice callback.
The writer-side ordering fixed by commit 92f1655aa2b2 ("net: fix dstnegativeadvice() 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Hold an RCU read-side critical section across the destination lookup and negative_advice callback.
Event History
Frequently Asked Questions
Which workloads are exposed to the race condition?
The race involves connected UDP sends and concurrent destination-cache validation or replacement. The affected advice paths include IPv4, IPv6, and XFRM destination handling.
What condition triggers the use-after-free?
A concurrent sk_dst_check() can release the final destination reference while __dst_negative_advice() still holds only a borrowed destination pointer. An RCU callback can then destroy the destination before the code accesses dst->ops or invokes the negative_advice callback.
How can I determine whether a system is affected?
The reported affected package is azure-linux/kernel version 6.6.161.1-1. Systems running that package version should be treated as affected.