From mboxrd@z Thu Jan 1 00:00:00 1970 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=1795154529; b=H9SZ0dg3gyxSgL4wDukTFzRs3a/9ZMZQfbSh8Pf4j3evDSvJKLYMBPoo0/IZLgiwQiIy I9XaYIE8l6PMAakrGvowvgClt578tjTkQXkNkNNzxSU0hKP24p8N1tFf+TB2kyi4VkAwR IBa8KaF6K+y3fXvLoVIOUdEikSnex3fd5YyXLrCqiYZMvUWxOInNug9rrRFHrChqxIPgl jLLYlUKH6djINirZYG+DU6uf6q0hIqlv3JxW1BGRyZhEsJ6Scjp4YtplyTfD17VVbP3e/ OjZD3IPQLroFR7Hb9r8JznjR6e1XEa54HwOs0mnkr2CPYDjP83r6nnh/uamD6uAK7CQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154529; 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=meGHXNRvHTzpT/gF0HmJoSauPW2OWTYcl2y3sO52DgA=; b=2kOOMENde5v2tpcDuu0IG7jYUKWDaOPwH9smAEJMYA74rDXuwuTudvCGtf3qWlmcmknw ieDc8knggZjXLntPPtio9gMSpfJ0QjEXR86p5mXiGU0ymUyEDxBOIHdi41fLuIUCzE7JL dLPKPmx0rdPLiAp6YrKArXAlZuAGYhfOrzhL/JsJWcxh4t0tW5czhlhbSbghIFeGO/IW1 DKC+0FCUZxOgQrEHKkV/MSYAngBhvKyJbCzwf8Bd92bfsqhY9iSaXB7M/ZWt3MirZIdSv LPUI8a0IGUGwWjAMU+xKZ+umXe+bb51yJaNUf3rJ2MAuce5fsJf6PvyatVFyjCb6/Og== 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=olS7gXsw; 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 ED132606A339 for ; Fri, 20 Nov 2026 06:02:08 +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=olS7gXsw Received: by smtp.kernel.org (Postfix) with ESMTPSA id 491981F000C6; Fri, 20 Nov 2026 06:02:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154528; bh=meGHXNRvHTzpT/gF0HmJoSauPW2OWTYcl2y3sO52DgA=; h=From:To:Cc:Subject:Date:Reply-To; b=olS7gXswVnmB/R8mMRZhWyrqCV/KptTQq75BMKVG7aV/BRlui4EEp5cmIr4w8tDqg 10Cs/5AxhCjIo8AwfimSHyu1f9aRlmgowaaH8W1i/0otRiEORk5Cdw2b0cSDi5xotP 2oTVRh55V/xtGFX7UyvTQBs8n0MDXYovnX9p2hW0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99775: xfrm: interface: validate the IP header on xmit Date: Fri, 20 Nov 2026 06:52:41 +0100 Message-ID: <2026112030-CVE-2026-99775-4ff6@gregkh> X-Mailer: git-send-email 2.56.1 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=2752; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SZy3cldU+Z93TLJ2sXH1dFhGLzEftMLlwdbhl9yt/K4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7y973yC16I0K2/nkn5t+7fa/eO6V2N6APt6s6O+fM t5n9dazdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEPs5imGd+IXnis6VPK9ru 7pz48x8z7zULs5kMC9rMknTmdfUvmnPUMjhf/vDxajePMwA= 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: xfrm: interface: validate the IP header on xmit Packets injected into an xfrm interface (e.g. AF_PACKET on an xfrmi device) reach the xfrm output path without IP header validation, but xfrm4_transport_output() uses iph->ihl for __skb_pull() and memmove() and expects the header to be valid. vti_tunnel_xmit() already calls pskb_inet_may_pull() before handing packets to the xfrm output path. Do the same in xfrmi_xmit() and perform the header checks ip_rcv_core()/ip6_rcv_core() do on entry to the IP stack: reject wrong IP versions and malformed IPv4 header lengths. The Linux kernel CVE team has assigned CVE-2026-99775 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19 with commit f203b76d78092faf248db3f851840fbecf80b40e and fixed in 6.12.118 with commit 289423502470ec7377efeae20fa802523f336356 Issue introduced in 4.19 with commit f203b76d78092faf248db3f851840fbecf80b40e and fixed in 6.18.64 with commit 2b1e92bd69d0fbb2e1d974e7b57d07429ee902bb Issue introduced in 4.19 with commit f203b76d78092faf248db3f851840fbecf80b40e and fixed in 7.3.5 with commit 56f9254cb83d93033e449f70cd9b896bbc3c191f Issue introduced in 4.19 with commit f203b76d78092faf248db3f851840fbecf80b40e and fixed in 7.4-rc2 with commit 86de3a1118a16dbbbe5fabe9aa20ffb93c072ed5 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-99775 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/xfrm/xfrm_interface_core.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/289423502470ec7377efeae20fa802523f336356 https://git.kernel.org/stable/c/2b1e92bd69d0fbb2e1d974e7b57d07429ee902bb https://git.kernel.org/stable/c/56f9254cb83d93033e449f70cd9b896bbc3c191f https://git.kernel.org/stable/c/86de3a1118a16dbbbe5fabe9aa20ffb93c072ed5