{"api_version":"1","generated_at":"2026-12-04T05:37:29+00:00","cve":"CVE-2026-143218","urls":{"html":"https://cve.report/CVE-2026-143218","api":"https://cve.report/api/cve/CVE-2026-143218.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143218","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143218"},"summary":{"title":"net: require a full socket in sock_confirm_neigh()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: require a full socket in sock_confirm_neigh()\n\nAn skb can retain dst_pending_confirm after its original output and\nsocket owner have changed. For example, a raw MSG_CONFIRM packet can\ncross veth, have a TCP request socket assigned by TPROXY, and be bridged\ninto gretap. Neighbor output for the outer packet then calls\nsock_confirm_neigh() with the request socket in skb->sk.\n\nThe helper unconditionally treats a non-NULL skb->sk as a full socket\nwhen accessing sk_dst_pending_confirm. TCP request and TIME_WAIT sockets\ndo not contain that field. This produces an out-of-bounds four-byte read\nand, if the word is nonzero, an out-of-bounds four-byte zero write. A\nKASAN-enabled kernel reports:\n\n  BUG: KASAN: slab-out-of-bounds in ip_finish_output2+0xc9f/0xd60\n  Read of size 4 at addr ffff8880bdc3d880 by task tproxy_dst_conf/1771\n\nRequire sk_fullsock() before accessing the socket field, moving the\nexisting helper earlier in the header to make it available here. Keep\nneigh_confirm() independent of the socket type so the skb's neighbor\nconfirmation still works, including for socketless packets. This also\ncovers the IPv6, VRF, and BPF neighbor-output callers.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:18:00","updated_at":"2026-12-04 04:17:43"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.3","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.3","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","data":{"baseScore":7.3,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/c78b47704934e44442f4e48bfdcc99039e3b85a5","name":"https://git.kernel.org/stable/c/c78b47704934e44442f4e48bfdcc99039e3b85a5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/af303cad749e40b5f4206e6dc2b0f19ed133e038","name":"https://git.kernel.org/stable/c/af303cad749e40b5f4206e6dc2b0f19ed133e038","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0b71b1991b0e2e2f48fa0e6d1226c9d66f551509","name":"https://git.kernel.org/stable/c/0b71b1991b0e2e2f48fa0e6d1226c9d66f551509","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7d6df3e17c07d919c073dcdab57335e2589424c4","name":"https://git.kernel.org/stable/c/7d6df3e17c07d919c073dcdab57335e2589424c4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/76d3dbb497bf2f1e6c9c91726eb99794dfcb24b4","name":"https://git.kernel.org/stable/c/76d3dbb497bf2f1e6c9c91726eb99794dfcb24b4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/54a0b6c82bc5e01565f14de0add0bababb57e449","name":"https://git.kernel.org/stable/c/54a0b6c82bc5e01565f14de0add0bababb57e449","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143218","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143218","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e 76d3dbb497bf2f1e6c9c91726eb99794dfcb24b4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e af303cad749e40b5f4206e6dc2b0f19ed133e038 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e 7d6df3e17c07d919c073dcdab57335e2589424c4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e 0b71b1991b0e2e2f48fa0e6d1226c9d66f551509 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e 54a0b6c82bc5e01565f14de0add0bababb57e449 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e c78b47704934e44442f4e48bfdcc99039e3b85a5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.11","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.276 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.227 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143218","cve":"CVE-2026-143218","epss":"0.002150000","percentile":"0.126170000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["include/net/sock.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"76d3dbb497bf2f1e6c9c91726eb99794dfcb24b4","status":"affected","version":"4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e","versionType":"git"},{"lessThan":"af303cad749e40b5f4206e6dc2b0f19ed133e038","status":"affected","version":"4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e","versionType":"git"},{"lessThan":"7d6df3e17c07d919c073dcdab57335e2589424c4","status":"affected","version":"4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e","versionType":"git"},{"lessThan":"0b71b1991b0e2e2f48fa0e6d1226c9d66f551509","status":"affected","version":"4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e","versionType":"git"},{"lessThan":"54a0b6c82bc5e01565f14de0add0bababb57e449","status":"affected","version":"4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e","versionType":"git"},{"lessThan":"c78b47704934e44442f4e48bfdcc99039e3b85a5","status":"affected","version":"4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["include/net/sock.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.11"},{"lessThan":"4.11","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.276","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.227","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.276","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.227","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"4.11","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: require a full socket in sock_confirm_neigh()\n\nAn skb can retain dst_pending_confirm after its original output and\nsocket owner have changed. For example, a raw MSG_CONFIRM packet can\ncross veth, have a TCP request socket assigned by TPROXY, and be bridged\ninto gretap. Neighbor output for the outer packet then calls\nsock_confirm_neigh() with the request socket in skb->sk.\n\nThe helper unconditionally treats a non-NULL skb->sk as a full socket\nwhen accessing sk_dst_pending_confirm. TCP request and TIME_WAIT sockets\ndo not contain that field. This produces an out-of-bounds four-byte read\nand, if the word is nonzero, an out-of-bounds four-byte zero write. A\nKASAN-enabled kernel reports:\n\n  BUG: KASAN: slab-out-of-bounds in ip_finish_output2+0xc9f/0xd60\n  Read of size 4 at addr ffff8880bdc3d880 by task tproxy_dst_conf/1771\n\nRequire sk_fullsock() before accessing the socket field, moving the\nexisting helper earlier in the header to make it available here. Keep\nneigh_confirm() independent of the socket type so the skb's neighbor\nconfirmation still works, including for socketless packets. This also\ncovers the IPv6, VRF, and BPF neighbor-output callers."}],"metrics":[{"cvssV3_1":{"baseScore":7.3,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - sock_confirm_neigh() runs from ip_finish_output2() on a locally built skb. raw_sendmsg() sets skb->dst_pending_confirm for MSG_CONFIRM; veth keeps that bit across skb_scrub_packet(), br_netfilter setup_pre_routing() orphans the original socket, nf_tproxy_assign_sock() attaches the TCP_NEW_SYN_RECV or TIME_WAIT socket found by inet_lookup_established(), and gretap iptunnel_xmit() feeds that same skb back into neighbor output.\nAC:L - One local user builds the veth, bridge, and gretap, installs the TPROXY rule, sets IP_TRANSPARENT so tcp_conn_request() stores no_srccheck on the request socket, and sends the MSG_CONFIRM segment with the matching 4-tuple. The attacker creates every object the path needs, including enough request sockets to fill the slab.\nPR:L - raw_sendmsg() needs CAP_NET_RAW, IP_TRANSPARENT is allowed by sockopt_ns_capable() for CAP_NET_RAW or CAP_NET_ADMIN in the netns user namespace, and the veth, bridge, gretap, and TPROXY rule need CAP_NET_ADMIN. An unprivileged user holds those capabilities after unshare of a user and network namespace.\nUI:N - The attacker sends the MSG_CONFIRM skb and owns the transparent listener, the TPROXY rule, and the virtual devices. No other user has to mount, accept, or click anything.\nS:U - The four-byte access in sock_confirm_neigh() stays inside the host kernel's request_sock or timewait slab, the same security authority as the sending process. It does not cross a guest-to-host or IOMMU boundary.\nC:L - sock_confirm_neigh() reads four bytes at sk_dst_pending_confirm, which tcp_request_sock and tcp_timewait_sock do not contain. That word is only tested for nonzero inside the helper and is not returned to user space, so the disclosure is a single bounded kernel word.\nI:H - If the word is nonzero, sock_confirm_neigh() writes 0 there. sk_dst_pending_confirm is in struct sock's sock_read_tx group, past the end of tcp_request_sock and tcp_timewait_sock, so the store is a four-byte out-of-bounds zero of the next object in that slab.\nA:H - KASAN reports a slab-out-of-bounds BUG in ip_finish_output2() on this read. Without KASAN the same four-byte zero corrupts the adjacent request or timewait object, which is enough to oops the kernel when that object is used."}]}],"providerMetadata":{"dateUpdated":"2026-12-04T03:31:10.533Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/76d3dbb497bf2f1e6c9c91726eb99794dfcb24b4"},{"url":"https://git.kernel.org/stable/c/af303cad749e40b5f4206e6dc2b0f19ed133e038"},{"url":"https://git.kernel.org/stable/c/7d6df3e17c07d919c073dcdab57335e2589424c4"},{"url":"https://git.kernel.org/stable/c/0b71b1991b0e2e2f48fa0e6d1226c9d66f551509"},{"url":"https://git.kernel.org/stable/c/54a0b6c82bc5e01565f14de0add0bababb57e449"},{"url":"https://git.kernel.org/stable/c/c78b47704934e44442f4e48bfdcc99039e3b85a5"}],"title":"net: require a full socket in sock_confirm_neigh()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143218","datePublished":"2026-12-03T09:20:37.174Z","dateReserved":"2026-12-03T03:10:28.360Z","dateUpdated":"2026-12-04T03:31:10.533Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:18:00","lastModifiedDate":"2026-12-04 04:17:43","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.5}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143218","Ordinal":"1","Title":"net: require a full socket in sock_confirm_neigh()","CVE":"CVE-2026-143218","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143218","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: require a full socket in sock_confirm_neigh()\n\nAn skb can retain dst_pending_confirm after its original output and\nsocket owner have changed. For example, a raw MSG_CONFIRM packet can\ncross veth, have a TCP request socket assigned by TPROXY, and be bridged\ninto gretap. Neighbor output for the outer packet then calls\nsock_confirm_neigh() with the request socket in skb->sk.\n\nThe helper unconditionally treats a non-NULL skb->sk as a full socket\nwhen accessing sk_dst_pending_confirm. TCP request and TIME_WAIT sockets\ndo not contain that field. This produces an out-of-bounds four-byte read\nand, if the word is nonzero, an out-of-bounds four-byte zero write. A\nKASAN-enabled kernel reports:\n\n  BUG: KASAN: slab-out-of-bounds in ip_finish_output2+0xc9f/0xd60\n  Read of size 4 at addr ffff8880bdc3d880 by task tproxy_dst_conf/1771\n\nRequire sk_fullsock() before accessing the socket field, moving the\nexisting helper earlier in the header to make it available here. Keep\nneigh_confirm() independent of the socket type so the skb's neighbor\nconfirmation still works, including for socketless packets. This also\ncovers the IPv6, VRF, and BPF neighbor-output callers.","Type":"Description","Title":"net: require a full socket in sock_confirm_neigh()"}]}}}