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 81C81381EA9 for ; Sat, 15 Aug 2026 06:33:58 +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=1786775639; cv=none; b=IbuwVO4rxEiACrDXIODE8Kng6sOINi/oHD05SJzPYorneOJkQxPlT4X5/vILmEDU8zVqMLHFXpcOZ18OrHwHbkkPOVAlPKumch1NFidPkMWx6vZh1F37odeUu0ctUOn9IVO+gP3xXFQBym7NKpGnuVl7gYJjZk2eqmHIT3WuOEk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775639; c=relaxed/simple; bh=B5HHyQKaJhSeYXX+Mc+4YUiFQHjCCSjgQe5zS+f5ErM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PZ54tMOw38kGFq2N4LPrYzo19Xm8U7H2fn7WERmNLtJEgwUNJEVj8zbm4wIFx0PCtyoaya/Kv6zUvw4250T7ytfB2Yvf2meG9xb2wRRrk3MoKPtKwhAqxswYXuxHZnUpHFwHOU30XBCSKsIkA5UGNRx+astGLhLkARe5YoebIBY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IFfEj06e; 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="IFfEj06e" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D72E11F000E9; Sat, 15 Aug 2026 06:33:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775638; bh=1GDyFB4xa9ThNU6/om2bojOVjo65bGTq6imwpC4uVyo=; h=From:To:Cc:Subject:Date:Reply-To; b=IFfEj06ehtG91TGhYl+7U46YTJFdpTUsy154YZrKDUx3mf0xiU4elJt6f5ymXwRvX ni9+DEiwE/1vH75m/h7Kff22Qrt4ADgwgEFDmhnmfPomo83v2nkIl4U6ZwDHAMcKt9 68Jr4nKY+/SqgqW7Gr3AhW8GiTe8BQv/y6V8smBs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74305: bpf: Tighten cgroup storage cookie checks for prog arrays Date: Sat, 15 Aug 2026 15:10:32 +0900 Message-ID: <2026081550-CVE-2026-74305-30ba@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=3807; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cXD6/Y2sVH2mO8kpG80W0HOX12eyQVxScGPkKSigqKI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjFzaopWR3d/vBJZV1U2KlD716RVbmUjKBoPJHfe4m X7Vf/LoiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIn0SzEsmCd8hrXyoiqjF98S qYyARyrr5EvnM8xm4VTT2Rnn+PF04mRtrlnP/l4/5lIOAA== 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: bpf: Tighten cgroup storage cookie checks for prog arrays The fix in commit abad3d0bad72 ("bpf: Fix oob access in cgroup local storage") is still incomplete. The prog-array compatibility check treats a program with no cgroup storage as compatible with any stored storage cookie. This allows a storage-less program to bridge a tail call chain between an entry program and a storage-using callee even though cgroup local storage at runtime still follows the caller's context, that is, A -> B(no storage) -> C(storage) path. Requiring exact cookie equality would break the legitimate case of a storage-less leaf program being tail called from a storage-using one. Instead, only accept a zero storage cookie if the program cannot perform tail calls itself. This keeps A -> B(no storage) working while rejecting the A -> B(no storage) -> C(storage) bridge. The Linux kernel CVE team has assigned CVE-2026-74305 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15.192 with commit c1c74584b9b4043c52e41fec415226e582d266a3 and fixed in 5.15.212 with commit 87177497cca90bf4fcfb759eb898560eb5b46a10 Issue introduced in 6.1.151 with commit 66da7cee78590259b400e51a70622ccd41da7bb2 and fixed in 6.1.178 with commit 1c762d28698483ce7c372091f34d86e4d4828652 Issue introduced in 6.6.105 with commit 7acfa07c585e3d7a64654d38f0a5c762877d0b9b and fixed in 6.6.145 with commit eb73056ce2a6f101ddd3bdba89af6b24ebffff85 Issue introduced in 6.12.46 with commit 41688d1fc5d163a6c2c0e95c0419e2cb31a44648 and fixed in 6.12.97 with commit 9ca06849c4239aa2d580c54651f8588c51cb398b Issue introduced in 6.17 with commit abad3d0bad72a52137e0c350c59542d75ae4f513 and fixed in 6.18.40 with commit 46fbafe3d2d569d828e8d24a7dbe1659f63685cf Issue introduced in 6.17 with commit abad3d0bad72a52137e0c350c59542d75ae4f513 and fixed in 7.1.5 with commit cb22dc79528eb26a46d346c3118dbd6b14c70609 Issue introduced in 6.17 with commit abad3d0bad72a52137e0c350c59542d75ae4f513 and fixed in 7.2-rc1 with commit 10627ddc0167aab5c1c390a10ef461e9937aba08 Issue introduced in 6.16.1 with commit 19341d5c59e8c7e8528e40f8663e99d67810473c 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-74305 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: kernel/bpf/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/87177497cca90bf4fcfb759eb898560eb5b46a10 https://git.kernel.org/stable/c/1c762d28698483ce7c372091f34d86e4d4828652 https://git.kernel.org/stable/c/eb73056ce2a6f101ddd3bdba89af6b24ebffff85 https://git.kernel.org/stable/c/9ca06849c4239aa2d580c54651f8588c51cb398b https://git.kernel.org/stable/c/46fbafe3d2d569d828e8d24a7dbe1659f63685cf https://git.kernel.org/stable/c/cb22dc79528eb26a46d346c3118dbd6b14c70609 https://git.kernel.org/stable/c/10627ddc0167aab5c1c390a10ef461e9937aba08