PT-2026-167076
CVE-2026-143218
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
CVSS 3.1
7.3
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
In the Linux kernel, the following vulnerability has been resolved:
net: require a full socket in sock confirm neigh()
An skb can retain dst pending confirm after its original output and
socket owner have changed. For example, a raw MSG CONFIRM 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
sock confirm neigh() with the request socket in skb->sk.
The helper unconditionally treats a non-NULL skb->sk as a full socket
when accessing sk dst pending confirm. TCP request and TIME WAIT 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 ip finish output2+0xc9f/0xd60
Read of size 4 at addr ffff8880bdc3d880 by task tproxy dst conf/1771
Require sk fullsock() before accessing the socket field, moving the
existing helper earlier in the header to make it available here. Keep
neigh confirm() 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.
Found an issue in the description? Have something to add? Feel free to write us 👾