5.5

CVE-2025-21853: bpf: avoid holding freeze_mutex during mmap operation

Modified
AliasesUBUNTU-CVE-2025-21853DEBIAN-CVE-2025-21853
Published 12-03-2025Last modified 10-11-2026

Vulnerability summary

CVE-2025-21853 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 22.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.29%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 36 · Related 30

Timeline

  1. 12-03-2025
    PublishedVulnerability first disclosed.
  2. 10-11-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: avoid holding freeze_mutex during mmap operation We use map->freeze_mutex to prevent races between map_freeze() and memory mapping BPF map contents with writable permissions. The way we naively do this means we'll hold freeze_mutex for entire duration of all the mm and VMA manipulations, which is completely unnecessary. This can potentially also lead to deadlocks, as reported by syzbot in [0]. So, instead, hold freeze_mutex only during writeability checks, bump (proactively) "write active" count for the map, unlock the mutex and proceed with mmap logic. And only if something went wrong during mmap logic, then undo that "write active" counter increment. [0] https://lore.kernel.org/bpf/[email protected]/

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.29%

Chance of exploitation in the next 30 days

Percentile

23%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 0.25% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu126 products
  • linux< 5.15.0-144.157 | < 6.8.0-78.78
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.15.0-1088.95 | < 6.8.0-1035.37
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ fc9702273e2edb90400a34b3be76f7b08fa3344b, < 2ce31c97c219b4fe797749f950274f246eb88c49 | ≥ fc9702273e2edb90400a34b3be76f7b08fa3344b, < 0d90d9e154144a3a80e9fc0eb9b21b7fc990f68f | ≥ fc9702273e2edb90400a34b3be76f7b08fa3344b, < 4759acbd44d24a69b7b14848012ec4201d6c5501 | ≥ fc9702273e2edb90400a34b3be76f7b08fa3344b, < 29cfda62ab4d92ab94123813db49ab76c1e61b29 | ≥ fc9702273e2edb90400a34b3be76f7b08fa3344b, < d95607a5f2f9bb08194c9deaf4a5f3e8ba59a9d4 | ≥ fc9702273e2edb90400a34b3be76f7b08fa3344b, < 271e49f8a58edba65bc2b1250a0abaa98c4bfdbe | ≥ fc9702273e2edb90400a34b3be76f7b08fa3344b, < bc27c52eea189e8f7492d40739b7746d67b65beb | 5.5
  • linux_kernel≥ 5.5, < 6.6.80 | ≥ 6.7, < 6.12.17 | ≥ 6.13, < 6.13.5 | 6.14:rc1 | 6.14:rc2 | 6.14:rc3
Debian1 product
  • linux< 6.1.135-1 | < 6.12.17-1

3 vendors · 129 products

References

35 links
Show all 35 references