LiveActive security incident?Get immediate response
CVE Record

CVE-2025-21851: bpf: Fix softlockup in arena_map_free on 64k page kernel

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.

LowCVSS 3.3Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

CVE-2025-21851 is a low-severity Linux kernel availability issue. On aarch64 systems built with 64KB pages, specific BPF arena cleanup behavior can trigger a segmentation fault and soft lockup. It requires local low-privilege access and does not indicate data theft or privilege escalation.

Executive priority

Handle through normal kernel patch governance, with priority for aarch64 64KB-page fleets. This is not presented as internet-exploitable or actively exploited, but it can affect system availability where local users or workloads can reach the vulnerable path.

Technical view

The bug is in Linux BPF arena map cleanup. arena_map_free() passed a potentially unaligned address into apply_to_existing_page_range(), which could reach apply_to_pte_range() unaligned and cause soft lockup on CONFIG_PAGE_SIZE_64KB aarch64 kernels. The fix aligns GUARD_SZ so bpf_arena_get_kern_vm_start() returns a page-aligned value.

Likely exposure

Exposure appears limited to Linux systems with affected kernel versions and aarch64 64KB page builds where BPF arena functionality is reachable by a local user. Standard x86 deployments and aarch64 4KB page builds are not described as affected in the provided sources.

Exploitation context

The CVSS vector is local, low complexity, low privileges, no user interaction, and availability-only impact. The source bundle does not cite public exploitation, and KEV is false. Treat this as a targeted local denial-of-service risk unless vendor advisories say otherwise.

Researcher notes

The available evidence is authoritative but narrow: CVE metadata and kernel stable fixes. It does not provide distribution package mappings, proof-of-concept status, or exploitation reports. Avoid broad exposure claims beyond local availability impact on the described Linux kernel configuration.

Mitigation direction

  • Apply Linux vendor or stable kernel updates containing the referenced fixes.
  • Prioritize aarch64 systems built with CONFIG_PAGE_SIZE_64KB.
  • Check distribution advisories for exact package names and backport status.
  • If patching is delayed, review vendor guidance for BPF exposure controls.

Validation and detection

  • Inventory Linux kernel versions and architecture across managed hosts.
  • Confirm whether affected aarch64 hosts use CONFIG_PAGE_SIZE_64KB.
  • Verify updated kernels include the referenced stable commits or vendor backports.
  • Review kernel logs for soft lockups involving BPF arena cleanup.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-667: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-21851 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Low
CVSS
3.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
3.3CVSS 3.1LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L1.81.4CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

3.3Low
CVSS 3.1 vector shape for CVE-2025-21851Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux317460317a02a1af512697e6e964298dedd8a163, 317460317a02a1af512697e6e964298dedd8a163, 317460317a02a1af512697e6e964298dedd8a163unaffected
LinuxLinux6.9, 0, 6.12.17, 6.13.5, 6.14affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-667 · source CWE mapping

Improper Locking

Improper Locking represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.