Linux kernel BPF map freeze mutex deadlock during mmap
CVE-2025-21853Medium
The Linux kernel holds a freeze_mutex lock for the entire duration of memory mapping operations on BPF maps, which can cause deadlocks. An attacker with local access could trigger this deadlock condition by attempting to map BPF map contents with writable permissions whilst another process tries to freeze the map. The fix involves holding the mutex only during writeability checks rather than throughout the entire mmap operation.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Detail
Affected versions
- linux linux kernel: from 5.5, before 6.6.80
- linux linux kernel: from 6.7, before 6.12.17
- linux linux kernel: from 6.13, before 6.13.5
- linux linux kernel: 6.14
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)