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 628933254A8 for ; Wed, 24 Jun 2026 16:38:41 +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=1782319122; cv=none; b=Amf8yFVeO5Yz9ov+pHXxgCFWuD8cAN6M2h0qIYsCtN7mzcblT1qjP/0y7lVJNYgWSP34JRWMeN5ze1ILh8JjR7fUGfoBcCN6TMmS5CycojYQKUwxXCGbJ0xdDoqfXvEXLwYkSndcnXOW63w5iZ+KfFjGWedxuQw417uf4/r/+f4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782319122; c=relaxed/simple; bh=eld50RLeXiqCzWeLTTXF+HzndkqsXzio7n8DOddtzw4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qxSNdnTuu76StWu70VHAhMi0Ky7nCpZ9tqteyWDb0+K4ZV8nprFulNP0mQD+ACV487LIKYzxYr3g+Gb0L52vTO7oNsNoHH0fY8Nx74n3NNeoctcIBpN/dU9vlcUaP/dH3u5NlxYas5SIa1leyunD8eEwCsKgevxLY229PE/6mXM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jXdP+B/Z; 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="jXdP+B/Z" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A80001F000E9; Wed, 24 Jun 2026 16:38:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782319121; bh=dM+Aem0XCcVN1aLsrQU4oQu8xR90aMXconns9DfkP7U=; h=From:To:Cc:Subject:Date:Reply-To; b=jXdP+B/ZqJvrFrj+rilA/Omtn3oB7NyUdAsoSbiPWMxP/J2NpcXhLLoqMaL3jPyrV ALSAGTVjgYnzAESnQwMwOtPmcZh6/bCNG/bYZ9axyH1pAkEksz6+9Jw0vVwBHGBh2i ja8XW2enJuoLLUjvF95+C5VYSr3IuAZqsUepz4hg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53076: bpf: Fix OOB in pcpu_init_value Date: Wed, 24 Jun 2026 17:31:40 +0100 Message-ID: <2026062405-CVE-2026-53076-65f3@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=3461; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/O4hycd9e2mSfuzTmVK+6dqO/PX+99TtAg8CeHdgQYo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2bHyrnppecXvWtu3ekZNWU6adc7+ZI/jpdPxHRtW2T XsnWD/50hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATcbNimCv074/8mWV/XUwD t1bk7Ghx8+Hn1mZY0Fgl99bnSeP5FRmdgVE6KUn/d2X9BgA= 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: Fix OOB in pcpu_init_value An out-of-bounds read occurs when copying element from a BPF_MAP_TYPE_CGROUP_STORAGE map to another pcpu map with the same value_size that is not rounded up to 8 bytes. The issue happens when: 1. A CGROUP_STORAGE map is created with value_size not aligned to 8 bytes (e.g., 4 bytes) 2. A pcpu map is created with the same value_size (e.g., 4 bytes) 3. Update element in 2 with data in 1 pcpu_init_value assumes that all sources are rounded up to 8 bytes, and invokes copy_map_value_long to make a data copy, However, the assumption doesn't stand since there are some cases where the source may not be rounded up to 8 bytes, e.g., CGROUP_STORAGE, skb->data. the verifier verifies exactly the size that the source claims, not the size rounded up to 8 bytes by kernel, an OOB happens when the source has only 4 bytes while the copy size(4) is rounded up to 8. The Linux kernel CVE team has assigned CVE-2026-53076 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit d3bec0138bfbe58606fc1d6f57a4cdc1a20218db and fixed in 6.6.141 with commit e19c5ed9f1922a6854073f8651a63fa7be26e9e9 Issue introduced in 5.10 with commit d3bec0138bfbe58606fc1d6f57a4cdc1a20218db and fixed in 6.12.91 with commit e0378419b0e20178b5d100b27c9cc7e51064202e Issue introduced in 5.10 with commit d3bec0138bfbe58606fc1d6f57a4cdc1a20218db and fixed in 6.18.33 with commit 6086079e6d1c32ba4c4b422612b8aebb1129a96c Issue introduced in 5.10 with commit d3bec0138bfbe58606fc1d6f57a4cdc1a20218db and fixed in 7.0.10 with commit 634a793d0e1c822412095d25a1338f8831ad894c Issue introduced in 5.10 with commit d3bec0138bfbe58606fc1d6f57a4cdc1a20218db and fixed in 7.1 with commit 576afddfee8d1108ee299bf10f581593540d1a36 Issue introduced in 5.4.78 with commit c602ad2b52dcbca5af08e5137bd5575c039b52e3 Issue introduced in 5.9.9 with commit ab68b940dd6f7b5f8e2557937162dcb8a0583a05 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-53076 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/hashtab.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/e19c5ed9f1922a6854073f8651a63fa7be26e9e9 https://git.kernel.org/stable/c/e0378419b0e20178b5d100b27c9cc7e51064202e https://git.kernel.org/stable/c/6086079e6d1c32ba4c4b422612b8aebb1129a96c https://git.kernel.org/stable/c/634a793d0e1c822412095d25a1338f8831ad894c https://git.kernel.org/stable/c/576afddfee8d1108ee299bf10f581593540d1a36