Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-21851

published high CVSS 3.1 · 7.8

bpf: Fix softlockup in arena_map_free on 64k page kernel

Published
12 Mar 2025, 09:42:06 UTC
Updated
05 Aug 2026, 11:54:55 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux317460317a02a1af512697e6e964298dedd8a163 to < c1f3f3892d4526f18aaeffdb6068ce861e793ee3 · 317460317a02a1af512697e6e964298dedd8a163 to < 787d556a3de447e70964a4bdeba9196f62a62b1e · 317460317a02a1af512697e6e964298dedd8a163 to < 517e8a7835e8cfb398a0aeb0133de50e31cae32b · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 6.12.17 through 6.12.* (unaffected · semver) · 6.13.5 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 10 kernel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-64k-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-cross-headers Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-uki-virt Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-doc Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-headers Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules-extra-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-tools Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-tools-libs Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-tools-libs-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-uki-virt Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-uki-virt-addons Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 libperf Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 perf Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 python3-perf Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 rtla Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 rv Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 9 kernel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-611.5.1.el9_7 ALSA-2025:20518

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

15

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerability is reached through the bpf(2) syscall — creating a BPF_MAP_TYPE_ARENA map, mmap()ing it, faulting in a page, and closing the fd. No network exposure is involved. AC:L - On an affected kernel (arm64 with 64K pages, a mainstream aarch64 distro/server configuration), the unaligned base address makes the non-terminating apply_to_pte_range() loop trigger 100% deterministically with a trivial 4-step sequence; there is no race or memory-layout condition to win. PR:L - Arena map creation requires CAP_BPF, but bpf_token_capable() resolves via ns_capable(token->userns, CAP_BPF), so a delegated BPF token or a container granted CAP_BPF lets an otherwise unprivileged user reach it; this is a delegatable capability, not init-namespace root. UI:N - The attacker performs the entire sequence — map create, mmap, page touch, fd close — in their own process. No victim action is required. S:U - The infinite loop, out-of-bounds page-table walk, and page frees all occur within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - Once pte++ walks past the end of the PTE page, arbitrary kernel memory is read and interpreted as page-table entries, and __free_page() on garbage-derived struct pages releases in-use pages for reallocation, which is leverageable for disclosure of other tasks' data. I:H - existing_page_cb() calls __free_page() on struct page pointers decoded from out-of-bounds memory, corrupting page refcounts and prematurely freeing live pages — a use-after-free primitive suitable for heap grooming and control-flow hijacking. A:H - The `while (addr += PAGE_SIZE, addr != end)` loop can never terminate, producing a soft lockup/RCU stall inside a lazy-MMU section on a system workqueue, hanging the machine; the stray page frees compound this into a panic.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 3.3 low CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 317460317a02a1af512697e6e964298dedd8a163 to < c1f3f3892d4526f18aaeffdb6068ce861e793ee3 (affected · git)317460317a02a1af512697e6e964298dedd8a163 to < 787d556a3de447e70964a4bdeba9196f62a62b1e (affected · git)317460317a02a1af512697e6e964298dedd8a163 to < 517e8a7835e8cfb398a0aeb0133de50e31cae32b (affected · git)Default: unaffected Linux · cna
Linux Linux 6.9 (affected)0 to < 6.9 (unaffected · semver)6.12.17 through 6.12.* (unaffected · semver)6.13.5 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-667 CWE-667 Improper Locking (CISA-ADP · adp)

References

3

Provider assertions

2

Linux · cna

bpf: Fix softlockup in arena_map_free on 64k page kernel

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
d3ab7ce4b2199cfc6b0f2e4d90fbda234c6278fdb63f2e37140bd6c5583ad0e0
Ingested
23 Sep 2026, 08:39:46 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected