CVE-2026-143218

Source
https://cve.org/CVERecord?id=CVE-2026-143218
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143218.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143218
Downstream
Published
2026-12-03T09:20:37Z
Modified
2026-12-03T11:01:43Z
Summary
net: require a full socket in sock_confirm_neigh()
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143218.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e
Fixed
76d3dbb497bf2f1e6c9c91726eb99794dfcb24b4
Fixed
af303cad749e40b5f4206e6dc2b0f19ed133e038
Fixed
7d6df3e17c07d919c073dcdab57335e2589424c4
Fixed
0b71b1991b0e2e2f48fa0e6d1226c9d66f551509
Fixed
54a0b6c82bc5e01565f14de0add0bababb57e449
Show 1 more event Show fewer events
Fixed
c78b47704934e44442f4e48bfdcc99039e3b85a5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143218.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.11.0
Fixed
5.10.276
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143218.json"