{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99320",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.407Z",
        "datePublished": "2026-11-19T08:09:56.238Z",
        "dateUpdated": "2026-11-23T08:01:25.107Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-23T08:01:25.107Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: raw: fix use-after-free in rawv6_send_hdrinc()\n\nrawv6_send_hdrinc() caches the route before handing the skb to\nl3mdev_ip6_out(). The VRF output path may replace skb->dst and release\nthe original route, leaving the cached pointer stale.\n\nThe function later dereferences that pointer for statistics accounting\nand as the output device passed to NF_HOOK(). Its RCU read-side critical\nsection starts after l3mdev_ip6_out(), so it cannot prevent the old route\nfrom being reclaimed in between.\n\nReload the route from the current skb destination after\nl3mdev_ip6_out() returns.\n\nKASAN reports a slab-use-after-free in rawv6_sendmsg(), with the route\nallocated by ip6_dst_alloc(), freed by dst_destroy() from rcu_core(), and\nthe related RCU callback queued from vrf_l3_out()."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - sendmsg() on an AF_INET6 SOCK_RAW socket enters rawv6_send_hdrinc() through inet_sendmsg() and rawv6_sendmsg() when HDRINCL is set. The route that vrf_ip6_out_redirect() drops with skb_dst_drop() is the one this local send cached before calling l3mdev_ip6_out().\nAC:H - HDRINCL sets FLOWI_FLAG_KNOWN_NH, so ip6_pol_route() returns a one-ref ip6_rt_cache_alloc() route when the nexthop has no gateway, and skb_dst_drop() only call_rcu_hurry()s dst_destroy. rawv6_send_hdrinc() then uses that rt with no attacker-controlled stall after l3mdev_ip6_out() returns, so the slab is reclaimed only if an RCU grace period finishes in that gap.\nPR:L - inet6_create() requires CAP_NET_RAW in the socket netns user namespace. vrf_ip6_out_redirect() runs only when the egress device is an l3 slave and qdisc_tx_is_default() is false, and creating that VRF and qdisc needs CAP_NET_ADMIN in rtnetlink_rcv_msg(). An unprivileged user gets both via a user and network namespace.\nUI:N - The attacker opens the AF_INET6 SOCK_RAW socket, adds the VRF qdisc, and calls sendmsg() to an on-link global address.\nS:U - The freed object is the rt6_info for this socket's own output route, and the corruption is kernel memory in the caller's security domain.\nC:H - After dst_destroy() frees the rt6_info, rawv6_send_hdrinc() loads rt->rt6i_idev for IP6_INC_STATS() and rt->dst.dev for NF_HOOK(). Reclaiming that ip6_dst_ops slab lets the attacker choose those pointers and disclose kernel memory through the resulting dereferences.\nI:H - IP6_INC_STATS() increments a counter through the freed rt->rt6i_idev, and NF_HOOK(NFPROTO_IPV6, NF_INET_LOCAL_OUT) uses the freed rt->dst.dev as the output net_device. Reusing the route slab supplies those pointers and yields a kernel write.\nA:H - dst_destroy() frees the route from rcu_core() after vrf_l3_out() queues the callback, and rawv6_send_hdrinc() then dereferences it. That slab use-after-free oopses the kernel; KASAN reports it in rawv6_sendmsg()."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/ipv6/raw.c"
                    ],
                    "versions": [
                        {
                            "version": "4c1feac58e06270321cc500b85c2d94a11495775",
                            "lessThan": "cf0ac98b750292a2389cd21af7cf0e89c712ee09",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4c1feac58e06270321cc500b85c2d94a11495775",
                            "lessThan": "a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4c1feac58e06270321cc500b85c2d94a11495775",
                            "lessThan": "f38df644608ffd1253074f6d55103c1d8b2a197c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4c1feac58e06270321cc500b85c2d94a11495775",
                            "lessThan": "6cf361f77b4b329ad009daa63397a32bab95b1d0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4c1feac58e06270321cc500b85c2d94a11495775",
                            "lessThan": "afb69c90cf62b630bf74c82d7bcfca840db8b076",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4c1feac58e06270321cc500b85c2d94a11495775",
                            "lessThan": "3fda55b34d8f1621676f1238728c16033dff1148",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4c1feac58e06270321cc500b85c2d94a11495775",
                            "lessThan": "18772182967f9a0160dc7ada43311eab87c3d9ec",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4c1feac58e06270321cc500b85c2d94a11495775",
                            "lessThan": "66dfb2cacda7faae614d688943d85e75abf7f586",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/ipv6/raw.c"
                    ],
                    "versions": [
                        {
                            "version": "4.9",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.9",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.118",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.64",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.5",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc2",
                            "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.9",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "7.3.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/cf0ac98b750292a2389cd21af7cf0e89c712ee09"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a31dee121f5ba1c3f521f7a929e0ad4a0d9a431d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f38df644608ffd1253074f6d55103c1d8b2a197c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6cf361f77b4b329ad009daa63397a32bab95b1d0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/afb69c90cf62b630bf74c82d7bcfca840db8b076"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3fda55b34d8f1621676f1238728c16033dff1148"
                },
                {
                    "url": "https://git.kernel.org/stable/c/18772182967f9a0160dc7ada43311eab87c3d9ec"
                },
                {
                    "url": "https://git.kernel.org/stable/c/66dfb2cacda7faae614d688943d85e75abf7f586"
                }
            ],
            "title": "ipv6: raw: fix use-after-free in rawv6_send_hdrinc()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}