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 7F6F93F12EF for ; Sat, 15 Aug 2026 12:32:22 +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=1786797143; cv=none; b=haLukJUfaMlhO5C+EevStMa9EFC3Nr4sPZ+ugMHmVo0HJgAWUEn5G4fgi91Y6y8PthuDbQ6Hqq41l2WRGFT98+z73LDRzfJCEASJEnfybWo4oYcVV/bqCL3qVwNRazUmH6pZUrRlXZ+KDCeEjWGm1lKFcqKXTtSI4ngYPYr7UM0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786797143; c=relaxed/simple; bh=OU7LZ4Ftbo0atmc58i9DJyj0/28mB0fKSnjS9ZQrXRw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OrwcQl8mdIDFdLq8jw67GQXwB1uWHn+UfHdQGT8RI2tHPG0PDExnha3rwNbrZp5wneJeLcHqVc30kW25K9j9l6EEAZ+ff7iWQZvZacMwhAkANcaqX+IukhaNOkF3Ipbwwir51ltCQFYojCRLwa6Nw7DAKpKpXsNH1u91ieQuh+U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=axx0/b4U; 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="axx0/b4U" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA3471F000E9; Sat, 15 Aug 2026 12:32:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786797142; bh=CufotWB0h0n21pwcDfJ4FMOirsAjgmvzajMN92e8mAE=; h=From:To:Cc:Subject:Date:Reply-To; b=axx0/b4Ub8XqW9MFVKyUnvKnOy1usa0CGo0IbsoY/X2hRphNZzSVndlth28uNX7s2 cHLsSMVsWQpJwVnmiMHpSs0pzsqq3hBICQdo1P/hMkBachyJubltx6MZS7YJ3HFAEF 4h0/rIbEJK8Iwm5gyBaAnIFTvJAygGwc1t9/WZW0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74544: net/sched: cls_u32: validate offshift to prevent shift-out-of-bounds Date: Sat, 15 Aug 2026 21:27:05 +0900 Message-ID: <2026081549-CVE-2026-74544-2dcd@gregkh> X-Mailer: git-send-email 2.55.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=2419; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Z0rgGv/dRhY8/Wd9BTBuwgR9OGFAFbvS8FTqOy9tA+Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNUWe3qRuvXcXBdPT4pksyqZJpHxr7UmXCSx60LjsZo 8UQcWdzRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkxjOGBXMs5cw3fxc+VNLg 6pB53Cnll/u9vwwLzl3M83tZIn2p0cxPpbCmR6iNvzgFAA== 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: net/sched: cls_u32: validate offshift to prevent shift-out-of-bounds u32_change() copies the user-provided tc_u32_sel.offshift (unsigned char, 0-255) into the kernel knode object without bounds validation. When a packet later hits u32_classify() with TC_U32_VAROFFSET set, it evaluates `ntohs(offmask & *data) >> offshift` where the left operand is a 16-bit value promoted to a 32-bit int. Any offshift >= 32 is undefined behavior per C11 6.5.7p3, triggerable by an unprivileged user via user/network namespaces. UBSAN: shift-out-of-bounds in net/sched/cls_u32.c:236:43 shift exponent 32 is too large for 32-bit type int Fix this by rejecting offshift >= 16 during filter creation in u32_change(). The Linux kernel CVE team has assigned CVE-2026-74544 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.1.8 with commit 313cb9ffc4101a885d791facf4b5ea3d5e06144d Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.2-rc6 with commit aef96eead2860cbfa371e4471d4f04412213b958 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-74544 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/sched/cls_u32.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/313cb9ffc4101a885d791facf4b5ea3d5e06144d https://git.kernel.org/stable/c/aef96eead2860cbfa371e4471d4f04412213b958