From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BA5573A9624 for ; Wed, 3 Jun 2026 15:51:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780501895; cv=none; b=YhKEK2L6oQGhWlaGhwL/87cEfNS+ADsxprqrMERfbemLwwlOBswIFSarzUkRgwCKq9f5CJtjNBjDzwU5WnuCKhaCs2BFhCAKUbJGzwXLDsw94GWOsIhauJm4ftp44Zn/kIW3P7Z7DaWgjuV9MVGniiL5efWuNUIoWMpkzspz03g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780501895; c=relaxed/simple; bh=a/x7tTiT9sGe1we5n9sdwBWCLLt5mheUFECyIVUC4lQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qUZEvOik2EDYpnYNnqlZDS2iqrTlyX5/OmxwmQbDexY3wmy32gxSsdtgweLIdlFH2a3FouOVKmV5DLio1aYP1l+cCrvmKd8lewGhxMTWT9dwUoKQB3FtyGYavAJ9NVGC/FXl7LssN4Nf8iH6iKW0odQ+ORDUMO5n3BCeRAspcHY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NgVVb704; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="NgVVb704" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CB871F00893; Wed, 3 Jun 2026 15:51:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780501894; bh=yhUqZMMuu3mIjMzbeUGPTvHVtDF8wxn7lTTPhFIdJ3Q=; h=From:To:Cc:Subject:Date:Reply-To; b=NgVVb704pcvk8PZBqm2O3JPb2uZjuI/NGH0HN4Dy+2tYK0jrZyeoUdGKX4OST6fk/ i9FzSa/RxcFBf7t+udxpIvxUdsxx5c867UlWtTkvCsm1cUdR5sAz9ebMGO8cZjuZQl JmzeFJcG7rF2NEbuae2cQMZM6wCrzJrIm1kmI8A0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46266: inet: RAW sockets using IPPROTO_RAW MUST drop incoming ICMP Date: Wed, 3 Jun 2026 17:49:55 +0200 Message-ID: <2026060337-CVE-2026-46266-1e5e@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3189; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5BA2eaOTOKKHTpulmfBtGzD3Mgm0p9uGnFSVF0JZQrI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkKvkJ2Xeaz1VlYXJudQlhe9R2YkJDL27jqwQvviXdWa X78kh/SEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMJ38YwP3P3zOWOAquMXu21 XtYV9sdrprBMO8OCfa1py9dN+rPjeIe66/z1Yd3PQ3MiAQ== 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: inet: RAW sockets using IPPROTO_RAW MUST drop incoming ICMP Yizhou Zhao reported that simply having one RAW socket on protocol IPPROTO_RAW (255) was dangerous. socket(AF_INET, SOCK_RAW, 255); A malicious incoming ICMP packet can set the protocol field to 255 and match this socket, leading to FNHE cache changes. inner = IP(src="192.168.2.1", dst="8.8.8.8", proto=255)/Raw("TEST") pkt = IP(src="192.168.1.1", dst="192.168.2.1")/ICMP(type=3, code=4, nexthopmtu=576)/inner "man 7 raw" states: A protocol of IPPROTO_RAW implies enabled IP_HDRINCL and is able to send any IP protocol that is specified in the passed header. Receiving of all IP protocols via IPPROTO_RAW is not possible using raw sockets. Make sure we drop these malicious packets. The Linux kernel CVE team has assigned CVE-2026-46266 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.128 with commit db76b75ede3810e7cf9cfea5067d4f3e0993768b Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.75 with commit 19e42490c89bac9a388f28179e66bebbef350f99 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.14 with commit 531c1aec81bfe19d00af13da5531fbb8209e4bd2 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.19.4 with commit 719d3932b8f6e3348ce2f0ac58e278301fc17575 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.0 with commit c89477ad79446867394360b29bb801010fc3ff22 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-46266 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/ipv4/icmp.c net/ipv6/icmp.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/db76b75ede3810e7cf9cfea5067d4f3e0993768b https://git.kernel.org/stable/c/19e42490c89bac9a388f28179e66bebbef350f99 https://git.kernel.org/stable/c/531c1aec81bfe19d00af13da5531fbb8209e4bd2 https://git.kernel.org/stable/c/719d3932b8f6e3348ce2f0ac58e278301fc17575 https://git.kernel.org/stable/c/c89477ad79446867394360b29bb801010fc3ff22