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 9DE48446049 for ; Wed, 26 Aug 2026 14:38:42 +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=1787755125; cv=none; b=V9+F0e7/GUpAsatyVTecMycLe6DVXNqCHUNASjXOfeRF1g2HZr3UR5GOXdCLlbFC8Yv5odddzsS7Gqp462hL1s7a7UVCePOq9l0mZLG3pmdDN5GnMfWwN6KRCCmuD1M/dw8qLSJletPE3mDHOqzv0GgcCoOdqg3mPSDeTW+6C6w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755125; c=relaxed/simple; bh=VEt5zJch3Pb+O4+w+ePLBxKq/PFLgc3k0VbFBK74e68=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sOwYwBqjWsKAhdHKa6I0q6oX+uconxPEW5AjGjq21Zor5u2T7tam5uEaYhOrVLVGKsHPnTOOK//vzhTEQEDY/5bgwrBcaKwVQFda10NeRJOY9ltwiEns+3lHbnM7CUmC393yiJ84PO1Xfqn2W1nv2jpfHqdRHAnfE6MswNYYIRU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qoxuf+IM; 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="qoxuf+IM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4522F1F000E9; Wed, 26 Aug 2026 14:38:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755120; bh=DBku/BTOI71Rk2xOSbSw4pOzbiixhUVpWGDu6TtuFCE=; h=From:To:Cc:Subject:Date:Reply-To; b=qoxuf+IMvWPydgea7b6tbC7hWA8KE+YSa86TuttWA9F4vYMgFApq6bBKWmo8WuNm8 I+hyxFmJKAodCgRr2+xqFWQSiqqEu6KTvMRum9AHoi4FL7/w8vIZS4bN/2iT4bIhjH acs+rGctBG2Nr6T/iHvCx5341YM49lCytMn2/hiM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74739: net/sched: cls_u32: skip hash tables in u32_bind_class() Date: Wed, 26 Aug 2026 16:36:59 +0200 Message-ID: <2026082657-CVE-2026-74739-5fd6@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=3414; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rScE8dcpdJRHSkZKoY3XVj9775OQtbFxQXmXZAe8Yow=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9vzjrzD9KSLwq870z5YRS6p5W99mP5q4McXziFSiW7 5b/1PJPRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkQYNhwdbJL190RvJu1Dkg qGLf56Z8Y6HoT4Z5CkGmSidE3RacZTFVTnq6yP78QvsrAA== 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: skip hash tables in u32_bind_class() u32_walk() enumerates both struct tc_u_hnode and struct tc_u_knode through the walker callback. u32_bind_class() unconditionally casts the passed fh to tc_u_knode and accesses &n->res, so when fh is actually a tc_u_hnode, which has no tcf_result member, this results in a slab-out-of-bounds read of res->classid in tc_cls_bind_class(). The issue can be reproduced with the following commands: tc qdisc add dev lo root handle 1: hfsc tc class add dev lo parent 1: classid 1:1 hfsc sc rate 1000kbit tc filter add dev lo parent 1:1 protocol ip prio 1 u32 match u32 0 0 flowid 1:1 tc class add dev lo parent 1: classid 1:2 hfsc sc rate 2000kbit Fix this by skipping hash tables via the TC_U32_KEY(handle) check. The Linux kernel CVE team has assigned CVE-2026-74739 to this issue. Affected and fixed versions =========================== Issue introduced in 4.14 with commit 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 and fixed in 6.1.184 with commit ec5f3005586a785689fd568361b0c5925cb1548b Issue introduced in 4.14 with commit 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 and fixed in 6.6.153 with commit 19d114b93c94bdef70496f26685c2a6b242f41b3 Issue introduced in 4.14 with commit 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 and fixed in 6.12.105 with commit 594a064d603202b9ee21e07679d854e5c1750cc4 Issue introduced in 4.14 with commit 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 and fixed in 6.18.46 with commit 31f26a95eeee926946809ac456c61a3217936a62 Issue introduced in 4.14 with commit 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 and fixed in 7.1.10 with commit e71f8e9ed6f311410b14741f6012afe01869c0fa Issue introduced in 4.14 with commit 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 and fixed in 7.2 with commit 6d3724e616faf952c3adcf8414fc21a828ef3709 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-74739 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/ec5f3005586a785689fd568361b0c5925cb1548b https://git.kernel.org/stable/c/19d114b93c94bdef70496f26685c2a6b242f41b3 https://git.kernel.org/stable/c/594a064d603202b9ee21e07679d854e5c1750cc4 https://git.kernel.org/stable/c/31f26a95eeee926946809ac456c61a3217936a62 https://git.kernel.org/stable/c/e71f8e9ed6f311410b14741f6012afe01869c0fa https://git.kernel.org/stable/c/6d3724e616faf952c3adcf8414fc21a828ef3709