Linux kernel ext4 out-of-bounds read in directory entry check
CVE-2025-37785High
The Linux kernel's ext4 filesystem implementation does not properly validate directory entries when a corrupted filesystem contains a '.' directory entry with a record length equal to the block size. When ext4_empty_dir() processes such an entry, it reads past the allocated memory block to locate the '..' entry, causing an out-of-bounds read. An attacker can trigger this by mounting a specially crafted ext4 filesystem image and then attempting to remove the corrupted directory.
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:H/I:N/A:H
Detail
Affected versions
- linux linux kernel: from 2.6.19, before 5.10.236
- linux linux kernel: from 5.11, before 5.15.180
- linux linux kernel: from 5.16, before 6.1.134
- linux linux kernel: from 6.2, before 6.6.87
- linux linux kernel: from 6.7, before 6.12.23
- linux linux kernel: from 6.13, before 6.13.11
- linux linux kernel: from 6.14, before 6.14.2
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)