net: require a full socket in sock_confirm_neigh()
Summary
| CVE | CVE-2026-143218 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:18:00 UTC |
| Updated | 2026-12-04 04:17:43 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 7.3 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
EPSS: 0.002150000 probability, percentile 0.126170000 (date 2026-12-03)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.3 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.3 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e 76d3dbb497bf2f1e6c9c91726eb99794dfcb24b4 git | Not specified |
| CNA | Linux | Linux | affected 4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e af303cad749e40b5f4206e6dc2b0f19ed133e038 git | Not specified |
| CNA | Linux | Linux | affected 4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e 7d6df3e17c07d919c073dcdab57335e2589424c4 git | Not specified |
| CNA | Linux | Linux | affected 4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e 0b71b1991b0e2e2f48fa0e6d1226c9d66f551509 git | Not specified |
| CNA | Linux | Linux | affected 4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e 54a0b6c82bc5e01565f14de0add0bababb57e449 git | Not specified |
| CNA | Linux | Linux | affected 4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e c78b47704934e44442f4e48bfdcc99039e3b85a5 git | Not specified |
| CNA | Linux | Linux | affected 4.11 | Not specified |
| CNA | Linux | Linux | unaffected 4.11 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.276 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.227 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.120 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.66 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.7 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/c78b47704934e44442f4e48bfdcc99039e3b85a5 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/af303cad749e40b5f4206e6dc2b0f19ed133e038 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0b71b1991b0e2e2f48fa0e6d1226c9d66f551509 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/7d6df3e17c07d919c073dcdab57335e2589424c4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/76d3dbb497bf2f1e6c9c91726eb99794dfcb24b4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/54a0b6c82bc5e01565f14de0add0bababb57e449 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.