Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795075806; b=owE2GbjJNWmXzTKmaJYlrN4Iedk1yQurJzEO+wna+OX09kIYdHYIznBm0NHC8Q5mN65l Ue9v0oIjFpuA+lxYTrgYZj23kUkcZCcmzW8rbsHxVZFOqyxXbwYHKqv7cV61XW1KzCRkK SzEnDDRejmaGolVvX91Nr8/RoPc1VCTTFcLW0OgEFaZyCv3ZwU2DPzJUb4Xa3+20j+LFA L6zxYA7SFYyiPrRUFxIkFsL5vznv8l2FGH5foH/SvFg0/Q4iSwh0TZds/mPNYtO4Aalrk Ku0AM6pzs3z06wZihe5RwITU+QEVXLrVvWY+lQpQOPXtidfjR9HGt/TKntjUtSILn1w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795075806; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=HcT5fzr8eWzFPW+ln2LZ7w5YB0sszWINaTVCXow3SO8=; b=169j679epk1gdcrMZ9yPW0I5gcBX4g0aQVNUSggInlfLIWryRINwvWIBQETI3wXxBgju QyN9ZD2AVs7hQ1hCMQ/VZpZX3ei3bowRDPGX/rQodXdYW0AM9D62wJjcn2nUtPmmdSg8J xEcpSYErudxa37QXM0KNazCEuvyUz/hJ7T73RX3s3VKspjasBsoxiSxHV9CmHUtqogCNe ADgSr2jMhN2LStGMpKub00Fzw0p7sKye7Jy6PI2Uw6dXMwlTpXh/WO3wcBvV8qBA8lYUo HI+gcwrp09BmvQGdENemW+y6I38i+qiKBzAZalmXBvEr2cbv7AkfDk1AyMtsn1OPyIA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=MB8bVb6Z; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E37AD606A325 for ; Thu, 19 Nov 2026 08:10:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=MB8bVb6Z Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B3411F000C4; Thu, 19 Nov 2026 08:10:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795075805; bh=HcT5fzr8eWzFPW+ln2LZ7w5YB0sszWINaTVCXow3SO8=; h=From:To:Cc:Subject:Date:Reply-To; b=MB8bVb6ZTlAL/TlRcvOFgxb8U/7ZVNhVGSbfA9n3PUvv78DQNm9GeD6/B3wcb9Sed jo3ZYpe1e7qnuTG1O/x8OM0OFim1vNQxmAdiV5zTo5ZtVZcdQGKYuW1wOdHVleO4Gb qNgsxFP+MrWhel7GFpNGw2bFu6GIOL/hD73Rc+vw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99320: ipv6: raw: fix use-after-free in rawv6_send_hdrinc() Date: Thu, 19 Nov 2026 09:10:00 +0100 Message-ID: <2026111959-CVE-2026-99320-70e6@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2940; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MC9WQoRQ4PU2tlu/MT5wZsa7Euo8WsuD08rJLWCNINE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/1l3fdUu18mF72xdBvZ9XW4/ptGydXri7bdqqlgfHt +R7WFvXdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEpv9gWLBP++KWpjkt95b7 s20LS+7dc1LBXZVhwcLcRx+FtBwag+62nDu+iTv/xsMPdQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: ipv6: raw: fix use-after-free in rawv6_send_hdrinc() rawv6_send_hdrinc() caches the route before handing the skb to l3mdev_ip6_out(). The VRF output path may replace skb->dst and release the original route, leaving the cached pointer stale. The function later dereferences that pointer for statistics accounting and as the output device passed to NF_HOOK(). Its RCU read-side critical section starts after l3mdev_ip6_out(), so it cannot prevent the old route from being reclaimed in between. Reload the route from the current skb destination after l3mdev_ip6_out() returns. KASAN reports a slab-use-after-free in rawv6_sendmsg(), with the route allocated by ip6_dst_alloc(), freed by dst_destroy() from rcu_core(), and the related RCU callback queued from vrf_l3_out(). The Linux kernel CVE team has assigned CVE-2026-99320 to this issue. Affected and fixed versions =========================== Issue introduced in 4.9 with commit 4c1feac58e06270321cc500b85c2d94a11495775 and fixed in 6.12.118 with commit afb69c90cf62b630bf74c82d7bcfca840db8b076 Issue introduced in 4.9 with commit 4c1feac58e06270321cc500b85c2d94a11495775 and fixed in 6.18.64 with commit 3fda55b34d8f1621676f1238728c16033dff1148 Issue introduced in 4.9 with commit 4c1feac58e06270321cc500b85c2d94a11495775 and fixed in 7.3.5 with commit 18772182967f9a0160dc7ada43311eab87c3d9ec Issue introduced in 4.9 with commit 4c1feac58e06270321cc500b85c2d94a11495775 and fixed in 7.4-rc2 with commit 66dfb2cacda7faae614d688943d85e75abf7f586 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99320 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/ipv6/raw.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/afb69c90cf62b630bf74c82d7bcfca840db8b076 https://git.kernel.org/stable/c/3fda55b34d8f1621676f1238728c16033dff1148 https://git.kernel.org/stable/c/18772182967f9a0160dc7ada43311eab87c3d9ec https://git.kernel.org/stable/c/66dfb2cacda7faae614d688943d85e75abf7f586