cbcvebase.
CVE-2025-21851
published 2025-03-12

CVE-2025-21851: In the Linux kernel, the following vulnerability has been resolved: bpf: Fix softlockup in arena_map_free on 64k page kernel On an aarch64 kernel with…

PriorityP48low3.3CVSS 3.1
AVLACLPRLUINSUCNINAL
EPSS
0.17%
7.0th percentile
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix softlockup in arena_map_free on 64k page kernel On an aarch64 kernel with CONFIG_PAGE_SIZE_64KB=y, arena_htab tests cause a segmentation fault and soft lockup. The same failure is not observed with 4k pages on aarch64. It turns out arena_map_free() is calling apply_to_existing_page_range() with the address returned by bpf_arena_get_kern_vm_start(). If this address is not page-aligned the code ends up calling apply_to_pte_range() with that unaligned address causing soft lockup. Fix it by round up GUARD_SZ to PAGE_SIZE << 1 so that the division by 2 in bpf_arena_get_kern_vm_start() returns a page-aligned value.

Affected

13 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.12.17-1 (forky)linux 6.12.17-1 (forky)
linuxlinux
linuxlinux>= 317460317a02a1af512697e6e964298dedd8a163 < c1f3f3892d4526f18aaeffdb6068ce861e793ee3c1f3f3892d4526f18aaeffdb6068ce861e793ee3
linuxlinux>= 317460317a02a1af512697e6e964298dedd8a163 < 787d556a3de447e70964a4bdeba9196f62a62b1e787d556a3de447e70964a4bdeba9196f62a62b1e
linuxlinux>= 317460317a02a1af512697e6e964298dedd8a163 < 517e8a7835e8cfb398a0aeb0133de50e31cae32b517e8a7835e8cfb398a0aeb0133de50e31cae32b
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.12.17-16.12.17-1
linuxlinux_kernel>= 0 < 6.12.17-16.12.17-1
linuxlinux_kernel>= 6.13 < 6.13.56.13.5
linuxlinux_kernel>= 6.9 < 6.12.176.12.17

CVSS provenance

nvdv3.13.3LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
osv3.3LOW
vendor_debian3.3LOW
vendor_redhat3.3LOW
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.