{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143219",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.360Z",
        "datePublished": "2026-12-03T09:20:37.829Z",
        "dateUpdated": "2026-12-04T03:31:14.011Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:31:14.011Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: protect negative destination advice with RCU\n\nSO_CNX_ADVICE calls __dst_negative_advice() while holding the socket\nlock. Connected UDP sends can still invalidate or replace sk_dst_cache\nwithout that lock. A concurrent sk_dst_check() can drop the final\ndestination reference and allow an RCU callback to destroy it while\n__dst_negative_advice() retains only a borrowed pointer. This can cause\na use-after-free while accessing dst->ops or running the negative_advice\ncallback.\n\nThe writer-side ordering fixed by commit 92f1655aa2b2 (\"net: fix\n__dst_negative_advice() race\") does not protect this reader from an\nindependent cache replacement.\n\nHold an RCU read-side critical section across the lookup and callback.\nThis follows the datagram release callbacks and covers IPv4, IPv6, and\nXFRM advice without changing cache-reset or reference-ownership rules."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The borrowed dst pointer is taken in __dst_negative_advice(), called from sk_setsockopt() case SO_CNX_ADVICE under the socket lock, and the last reference is dropped by the lockless connected path in udp_sendmsg() via sk_dst_check().\nAC:L - The attacker races setsockopt(SO_CNX_ADVICE) with sendmsg() on one connected UDP socket after IP_ADD_MEMBERSHIP reaches ip_rt_multicast_event() and rt_cache_flush(), so ipv4_dst_check() fails rt_is_expired() and sk_dst_reset() frees the rtable; both threads and the genid bump are attacker-controlled and repeatable.\nPR:L - sk_setsockopt() applies SO_CNX_ADVICE with no capability check, udp_sendmsg() on a connected datagram socket needs none, and do_ip_setsockopt(IP_ADD_MEMBERSHIP) calls ip_mc_join_group() with no cap check before the route-cache flush that expires the cached dst.\nUI:N - The attacker creates the UDP socket, joins a multicast group with IP_ADD_MEMBERSHIP, and races SO_CNX_ADVICE against their own sendmsg(); every step is their own syscall.\nS:U - The object freed by sk_dst_reset() is the socket's own cached rtable, and hijacking dst->ops stays within the kernel that owns that socket, which is ordinary local privilege escalation.\nC:H - dst_release() queues dst_destroy_rcu(), which kmem_cache_free()s the rtable, while __dst_negative_advice() still reads dst->ops and calls negative_advice() on that freed object; reclaiming the slab slot supplies the ops pointer and yields a kernel read.\nI:H - The freed dst_entry is used as dst->ops->negative_advice(sk, dst), and ipv4_negative_advice() may call sk_dst_reset(); a reclaimed object with attacker-controlled ops, input, and output function pointers gives kernel code execution and an arbitrary write.\nA:H - A use of dst->ops or the negative_advice callback after dst_destroy() has kmem_cache_free()d the rtable faults in kernel context and panics, and the same socket race can be repeated."
                        }
                    ]
                }
            ],
            "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": "a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314",
                            "lessThan": "1659b53ca86e3e9982f7eff3d6a0c34fe58a4c59",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314",
                            "lessThan": "52d46f2a95586816ace4379da1938dfd6fa06e41",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314",
                            "lessThan": "a83215575e38e057d52dd3cdfc3ac8307bcaf544",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314",
                            "lessThan": "c3fd11f2bb0b0f32acdd633ef7bc6773c66229cb",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314",
                            "lessThan": "3181e2e6f7c586cd000683511490eec867a406b0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314",
                            "lessThan": "4b77d2792c3e482afa108c08f224ea6fa396d80b",
                            "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.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.6",
                            "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.6",
                                    "versionEndExcluding": "5.10.276"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.6",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.6",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.6",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.6",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.6",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/1659b53ca86e3e9982f7eff3d6a0c34fe58a4c59"
                },
                {
                    "url": "https://git.kernel.org/stable/c/52d46f2a95586816ace4379da1938dfd6fa06e41"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a83215575e38e057d52dd3cdfc3ac8307bcaf544"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c3fd11f2bb0b0f32acdd633ef7bc6773c66229cb"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3181e2e6f7c586cd000683511490eec867a406b0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4b77d2792c3e482afa108c08f224ea6fa396d80b"
                }
            ],
            "title": "net: protect negative destination advice with RCU",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}