CVE-2025-21851
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
12/03/2025
Last modified:
01/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
bpf: Fix softlockup in arena_map_free on 64k page kernel<br />
<br />
On an aarch64 kernel with CONFIG_PAGE_SIZE_64KB=y,<br />
arena_htab tests cause a segmentation fault and soft lockup.<br />
The same failure is not observed with 4k pages on aarch64.<br />
<br />
It turns out arena_map_free() is calling<br />
apply_to_existing_page_range() with the address returned by<br />
bpf_arena_get_kern_vm_start(). If this address is not page-aligned<br />
the code ends up calling apply_to_pte_range() with that unaligned<br />
address causing soft lockup.<br />
<br />
Fix it by round up GUARD_SZ to PAGE_SIZE
Impact
Base Score 3.x
3.30
Severity 3.x
LOW
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.9 (including) | 6.12.17 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.13.5 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.9:-:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



