CVE-2025-21853: Linux kernel BPF map mmap deadlock
- Vendor
- Linux
CVE-2025-21853 is a deadlock vulnerability in the Linux kernel's BPF map memory-mapping implementation. The kernel uses map->freeze_mutex to prevent races between map_freeze() and writable mappings of BPF map contents. The vulnerable implementation holds this mutex throughout memory-management and virtual memory area manipulations during mmap, potentially causing a kernel deadlock and denial of service.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can cause kernel deadlocks, disrupting affected workloads or system availability. The vulnerability is rated as having high availability impact, with no established confidentiality or integrity impact. Code execution and privilege escalation are not established consequences of this flaw.
Mitigation
If you can’t patch tonight, do this now.
No vulnerability-specific workaround is established. Until patched, restrict local execution and access to BPF map operations to trusted users and workloads. For affected Siemens devices, restrict interactive shell access to trusted personnel and run applications only from trusted sources. These controls reduce exposure but do not correct the locking defect.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update containing the BPF freeze_mutex fix and reboot into the updated kernel. The fix restricts mutex ownership to writability checks, proactively increments the map's active-write counter before releasing the mutex and entering mmap processing, and reverses that increment if mmap fails. Fixed releases include Echo Linux kernel package version 6.1.135-1 or later and Google Container-Optimized OS csql-kernel-6_1 package version 17800.519.1 or later. Red Hat supplies fixes through RHSA-2025:20095 for RHEL 10 and RHSA-2025:20518 for RHEL 9. Use the update appropriate to the installed distribution and release.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-21853 exploited in the wild?
- As of Nov 10, 2026, Mallory has no reports of CVE-2025-21853 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-21853?
- As of Nov 10, 2026, Mallory has found no public exploit for CVE-2025-21853.
- Is there a patch for CVE-2025-21853?
- Install a vendor-supported kernel update containing the BPF freeze_mutex fix and reboot into the updated kernel. The fix restricts mutex ownership to writability checks, proactively increments the map's active-write counter before releasing the mutex and entering mmap processing, and reverses that increment if mmap fails.
- What products are affected by CVE-2025-21853?
- Linux Kernel.
- How severe is CVE-2025-21853?
- CVE-2025-21853 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.31% (16th percentile) as of Nov 10, 2026.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.