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 5DCD7409DE4 for ; Wed, 27 May 2026 13:06:15 +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=1779887176; cv=none; b=CIjMjuHaWyZ/wukGN+SR5NOTbfdyBBQUAiVZo/gNl53frv/oQXGJ5aP3V2/iJjzhi5NYs2AethyMLl8zXDG3sTs0LNiD5jGZ1wTLvPQBL9pUFTi9lqxUrLUX8K3qA4uLHoiG2t/0FBGuebyf0Y2Pdjd0MVDxG4q2DhP9Y1bPDQM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887176; c=relaxed/simple; bh=DVqUuG80X4oDkOb+YRLR7HuIVNdTtGHIVVHyP+oy/OU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sA9tgjzMbmi9ZW7gGo/EW/rC3j0FjSDap7NL96Sz4CfrGoujOntakUW2Ku5l/KI9lfGwNa/e6dVPceraAPsqmpS+5fhLjWjDYmR4g6e2TUaW6OEyHDQ/685UhGKxrtEiWQ5PhgTig7qB9KrSLFojSgTa5KxOJvWVfhW4ovNtZvI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aNlCmEUk; 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="aNlCmEUk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96C371F000E9; Wed, 27 May 2026 13:06:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779887175; bh=ac59yqFwtm7iKMWTiuqir5u/4jpy3WxBkbAi6FRnl4o=; h=From:To:Cc:Subject:Date:Reply-To; b=aNlCmEUk+ccr4fYTX0jGTKkVTUIuOocjqMOtoYqu5Xqgvgu0VKYMcEUcYQmnInvdM 0XIiFx9g1LTmZzLUEwQ7ndKgHeNfGSL7xLYNcqRSgfXnHTDOOyOo17f1uIeJSHqTcw O0ctacNFYprnlhsh6tHI5LnoMqaRTiO3JVVRZ2BI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46101: netfilter: reject zero shift in nft_bitwise Date: Wed, 27 May 2026 15:00:32 +0200 Message-ID: <2026052705-CVE-2026-46101-3102@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=2907; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lafkaw3rQ94VItDv+9e6+y1qqSdqDiSX77g0G8eR168=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlir2bavrxVwO/97ASfxvpJybVm3w7M+OqY2L7+feali fwr5uxr6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJPJNimJ94Ve5xaLZRW+Ti zlbhQ1d4W4XaTjPMYv44XTLWT/sl77299lyLzqh9TT/aAwA= 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: netfilter: reject zero shift in nft_bitwise Reject zero shift operands for nft_bitwise left and right shift expressions during initialization. The carry propagation logic computes the carry from the adjacent 32-bit word using BITS_PER_TYPE(u32) - shift. A zero shift operand turns this into a 32-bit shift, which is undefined behaviour. Reject zero shift operands in the control plane, alongside the existing check for values greater than or equal to 32, so malformed rules never reach the packet path. The Linux kernel CVE team has assigned CVE-2026-46101 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit 567d746b55bc66d3800c9ae91d50f0c5deb2fd93 and fixed in 6.6.140 with commit bffef0acec9c3b837a785248a893137fb7f26c95 Issue introduced in 5.6 with commit 567d746b55bc66d3800c9ae91d50f0c5deb2fd93 and fixed in 6.12.86 with commit ca24f1243ad1a4d12d6a23876bbbe3ed02099853 Issue introduced in 5.6 with commit 567d746b55bc66d3800c9ae91d50f0c5deb2fd93 and fixed in 6.18.27 with commit 6f820139d16a4c9865a145d4a9cf9c92cc632c14 Issue introduced in 5.6 with commit 567d746b55bc66d3800c9ae91d50f0c5deb2fd93 and fixed in 7.0.4 with commit f370205974f171a5868c13ff30d7642fed46e47b Issue introduced in 5.6 with commit 567d746b55bc66d3800c9ae91d50f0c5deb2fd93 and fixed in 7.1-rc2 with commit fe11e5c40817b84abaa5d83bfb6586d8412bfd07 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-46101 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/netfilter/nft_bitwise.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/bffef0acec9c3b837a785248a893137fb7f26c95 https://git.kernel.org/stable/c/ca24f1243ad1a4d12d6a23876bbbe3ed02099853 https://git.kernel.org/stable/c/6f820139d16a4c9865a145d4a9cf9c92cc632c14 https://git.kernel.org/stable/c/f370205974f171a5868c13ff30d7642fed46e47b https://git.kernel.org/stable/c/fe11e5c40817b84abaa5d83bfb6586d8412bfd07