AZL-118364: CVE-2026-143218 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
net: require a full socket in sockconfirmneigh()
An skb can retain dstpendingconfirm after its original output and socket owner have changed. For example, a raw MSGCONFIRM packet can cross veth, have a TCP request socket assigned by TPROXY, and be bridged into gretap. Neighbor output for the outer packet then calls sockconfirmneigh() with the request socket in skb->sk.
The helper unconditionally treats a non-NULL skb->sk as a full socket when accessing skdstpendingconfirm. TCP request and TIMEWAIT sockets do not contain that field. This produces an out-of-bounds four-byte read and, if the word is nonzero, an out-of-bounds four-byte zero write. A KASAN-enabled kernel reports:
BUG: KASAN: slab-out-of-bounds in ipfinishoutput2+0xc9f/0xd60 Read of size 4 at addr ffff8880bdc3d880 by task tproxydstconf/1771
Require skfullsock() before accessing the socket field, moving the existing helper earlier in the header to make it available here. Keep neighconfirm() independent of the socket type so the skb's neighbor confirmation still works, including for socketless packets. This also covers the IPv6, VRF, and BPF neighbor-output callers.
Affected Software
Event History
Frequently Asked Questions
What network configuration is needed for this issue to be reachable?
The described path involves a raw MSG_CONFIRM packet crossing a veth interface, TPROXY assigning a TCP request socket, and traffic being bridged into gretap. The issue also covers IPv6, VRF, and related paths referenced in the description, but no broader default exposure statement is provided.
What is the impact when the vulnerable path is triggered?
The kernel can perform an out-of-bounds four-byte read when it treats a TCP request or TIME_WAIT socket as a full socket. If the accessed word is nonzero, it can also perform an out-of-bounds four-byte zero write; KASAN reports this as a slab-out-of-bounds condition.
How can an affected system be identified?
A KASAN-enabled kernel may report a slab-out-of-bounds bug in ip_finish_output2, with a read of size 4. The report example identifies the triggering task as tproxy_dst_conf.