{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143218",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.360Z",
        "datePublished": "2026-12-03T09:20:37.174Z",
        "dateUpdated": "2026-12-04T03:31:10.533Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:31:10.533Z"
            },
            "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": {
                        "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"
                    },
                    "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."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "include/net/sock.h"
                    ],
                    "versions": [
                        {
                            "version": "4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e",
                            "lessThan": "76d3dbb497bf2f1e6c9c91726eb99794dfcb24b4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e",
                            "lessThan": "af303cad749e40b5f4206e6dc2b0f19ed133e038",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e",
                            "lessThan": "7d6df3e17c07d919c073dcdab57335e2589424c4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e",
                            "lessThan": "0b71b1991b0e2e2f48fa0e6d1226c9d66f551509",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e",
                            "lessThan": "54a0b6c82bc5e01565f14de0add0bababb57e449",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4ff0620354f2b39b9fe2a91c22c4de9d1fba0c8e",
                            "lessThan": "c78b47704934e44442f4e48bfdcc99039e3b85a5",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "include/net/sock.h"
                    ],
                    "versions": [
                        {
                            "version": "4.11",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.11",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.276",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.227",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.11",
                                    "versionEndExcluding": "5.10.276"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.11",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.11",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.11",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.11",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.11",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}