AZL-118190: CVE-2026-143145 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ipv6: fix cached route reuse for control messages
A connected IPv6 UDP or ping socket can reuse its cached route when an SOMARK cmsg requests another mark. A packet can then bypass a prohibit rule instead of failing with EACCES.
ip6skdstlookupflow() reads the cache even when connected is false. UDP clears connected after parsing IP or socket control messages. Ping always passes false.
Only read the cache when connected is true. Ordinary connected UDP sends keep using the cache. Ping sends do a fresh lookup.
Found during code review of IPv6 UDP route caching. On UML, the same connected-socket selftest fails four IPv6 cases before the fix and passes all 54 with it.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Systems using the affected Azure Linux kernel package are exposed when they use connected IPv6 UDP or ping sockets and send control messages that request a different SO_MARK value. Ordinary connected UDP sends are not affected when no such control-message-driven mark change occurs.
What does an attacker or triggering workload need to do?
The triggering packet must be sent through a connected IPv6 UDP or ping socket with an SO_MARK control message requesting a mark different from the cached route's mark. This can cause reuse of a cached route rather than a fresh route lookup.
What is the security impact?
A packet may bypass an IPv6 prohibit routing rule when it should fail with EACCES. The issue is specifically caused by stale cached-route reuse after a control message changes the requested mark.
What can be done if the kernel update cannot be applied immediately?
Avoid sending IPv6 UDP or ping packets with SO_MARK control messages that request a different mark on connected sockets. This prevents the cached-route reuse condition described by the vulnerability.
How can I assess whether a fix is present?
The provided validation notes report that an IPv6 connected-socket selftest failed four cases before the fix and passed all 54 cases after it on UML. A fixed kernel performs a fresh route lookup for ping sends and for UDP sends after relevant control-message processing, while retaining cached-route use for ordinary connected UDP sends.