Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 434EB15853B for ; Fri, 1 May 2026 14:20:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645239; cv=none; b=szK9QZrWLL9KVctKa/MQh+rKem4yt5er9KkDvbWRKIvsopjBKhyO46h97R6hi8ZHXDsyLYlOVuX2GKIRX/tG47weIv9bjZyyFyR2j6sZZateRTFkma8oXRkLg1TeGbY9LOa6zoTNDTLxmV4XVNT4qNyqCyroR2ajRgspczXK1Rk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645239; c=relaxed/simple; bh=ZtTRUTPrgR7aEZxZ3bjvv0MCfEiFx/6x8zWnNr9pqh4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KQRMrktcqklFOfgbJ8sirOneNdWe759efXXfmwNA0onL055+cCiSo1RhbKSQub2xVEi5B4+ogHTxEmixbIH9950vMFP7Eq1N2Cu34CAbT/26C7+4yfQbBjkx+Enb5YgFDbEybjb56KG4cCRo6mcHg5nbWrQ0RuXW2h9scL6qqbw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aQ4MaEYa; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="aQ4MaEYa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC7D1C2BCB4; Fri, 1 May 2026 14:20:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645239; bh=ZtTRUTPrgR7aEZxZ3bjvv0MCfEiFx/6x8zWnNr9pqh4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=aQ4MaEYaMScq56SrkRMmMllyGSkzWnMPMHwWvAv9zoT5rgTLHr0GIBPCVDNUtAxTT KbwlZTd2IUJ3thKvekuRnMywogiHOeQd87ngNVIo5imNXVLtYBC74Fv+3ODAbz6YrH MU+eXeqaxxlZ+/0pxqS4u6rwmGHV8so59d5WvQcQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43030: bpf: Fix regsafe() for pointers to packet Date: Fri, 1 May 2026 16:16:03 +0200 Message-ID: <2026050100-CVE-2026-43030-58b8@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=3310; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GJV0Ti0r6CxWXDmdhhyA3vwF09kOKI2sRDhSDXZ5ukc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftqZ8trzp+9POjJupcpG8FzOb7KkK67RT9X2dH/l3r ksSMtPuiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIko+zIsuOY/YYXi13vH3pzc 2RPuLXrCyNDpLsM8tcpeOf7de6b1Xpl1onnzJWfDCcuWAQA= 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 regsafe() for pointers to packet In case rold->reg->range == BEYOND_PKT_END && rcur->reg->range == N regsafe() may return true which may lead to current state with valid packet range not being explored. Fix the bug. The Linux kernel CVE team has assigned CVE-2026-43030 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10.155 with commit 95b6ec733752b31bfd166c4609d2c1b5cdde9b47 and fixed in 5.10.253 with commit b52f6d0ef7b308f9d05bbddb78749852f28e8e40 Issue introduced in 5.11 with commit 6d94e741a8ff818e5518da8257f5ca0aaed1f269 and fixed in 5.15.203 with commit 37db6b9726d0bcf91cbdf9d63b558c50da49f968 Issue introduced in 5.11 with commit 6d94e741a8ff818e5518da8257f5ca0aaed1f269 and fixed in 6.1.168 with commit 015a74476dc1ab6923d89f1ee009aaf43faa7185 Issue introduced in 5.11 with commit 6d94e741a8ff818e5518da8257f5ca0aaed1f269 and fixed in 6.6.134 with commit b99d82706bd1511bb875e3de7154698fd9215c99 Issue introduced in 5.11 with commit 6d94e741a8ff818e5518da8257f5ca0aaed1f269 and fixed in 6.12.81 with commit 7241da033fdc507b920e092dab1f97b945cb0370 Issue introduced in 5.11 with commit 6d94e741a8ff818e5518da8257f5ca0aaed1f269 and fixed in 6.18.22 with commit 8aebe18069394f4a79d2d82080a0f806da449996 Issue introduced in 5.11 with commit 6d94e741a8ff818e5518da8257f5ca0aaed1f269 and fixed in 6.19.12 with commit ca995b1462ec6db1e869100ba1fb7356bd3f22f0 Issue introduced in 5.11 with commit 6d94e741a8ff818e5518da8257f5ca0aaed1f269 and fixed in 7.0 with commit a8502a79e832b861e99218cbd2d8f4312d62e225 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-43030 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/verifier.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/b52f6d0ef7b308f9d05bbddb78749852f28e8e40 https://git.kernel.org/stable/c/37db6b9726d0bcf91cbdf9d63b558c50da49f968 https://git.kernel.org/stable/c/015a74476dc1ab6923d89f1ee009aaf43faa7185 https://git.kernel.org/stable/c/b99d82706bd1511bb875e3de7154698fd9215c99 https://git.kernel.org/stable/c/7241da033fdc507b920e092dab1f97b945cb0370 https://git.kernel.org/stable/c/8aebe18069394f4a79d2d82080a0f806da449996 https://git.kernel.org/stable/c/ca995b1462ec6db1e869100ba1fb7356bd3f22f0 https://git.kernel.org/stable/c/a8502a79e832b861e99218cbd2d8f4312d62e225