CVE-2026-93045: bpf: Reject arena frees below the arena base
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
bpf: Reject arena frees below the arena base
bpf_arena_free_pages() accepts scalar arena addresses. The runtime masks the address to the low 32 bits and reconstructs a full user address from the arena base before returning the range to the arena free tree.
When the scalar value is below the low 32 bits of the arena base, full_uaddr falls below user_vm_start. The existing upper-end clipping then turns this into an out-of-range free-tree offset. A later allocation can reuse that offset and return an address below the arena mapping.
Reject such frees before computing the clipped range.
The Linux kernel CVE team has assigned CVE-2026-93045 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.9 with commit 317460317a02a1af512697e6e964298dedd8a163 and fixed in 6.12.110 with commit 90453eaf8f14e7be0ab03983f2a93aeb6b990a58 Issue introduced in 6.9 with commit 317460317a02a1af512697e6e964298dedd8a163 and fixed in 6.18.52 with commit a968dffa5ab3c74d2ebb3a6233bf8b843f0bfc20 Issue introduced in 6.9 with commit 317460317a02a1af512697e6e964298dedd8a163 and fixed in 7.2.6 with commit 8a08635656037aee9c12231ed384449c4ffb1a93 Issue introduced in 6.9 with commit 317460317a02a1af512697e6e964298dedd8a163 and fixed in 7.3-rc1 with commit b5a71cb2db6d84ac0042549dcec266b18429d41e
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-93045
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/arena.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/90453eaf8f14e7be0ab03983f2a93aeb6b990a58 https://git.kernel.org/stable/c/a968dffa5ab3c74d2ebb3a6233bf8b843f0bfc20 https://git.kernel.org/stable/c/8a08635656037aee9c12231ed384449c4ffb1a93 https://git.kernel.org/stable/c/b5a71cb2db6d84ac0042549dcec266b18429d41e