Linux kernel overlayfs use-after-free in ovl_link_up
CVE-2025-21887High
The Linux kernel overlayfs subsystem has a use-after-free vulnerability in the ovl_link_up function. When processing certain file operations, the code frees a data structure (upper) before it has finished accessing its contents in the ovl_dentry_update_reval function. An attacker with local access to the system could trigger this vulnerability through file rename operations on overlayfs mounted filesystems, potentially causing a kernel crash or other undefined behaviour.
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:H/A:H
Detail
Affected versions
- linux linux kernel: from 5.10.188, before 5.11
- linux linux kernel: from 5.15.121, before 5.15.179
- linux linux kernel: from 6.1.39, before 6.1.130
- linux linux kernel: from 6.3.13, before 6.4
- linux linux kernel: from 6.4.4, before 6.6.81
- linux linux kernel: from 6.7, before 6.12.18
- linux linux kernel: from 6.13, before 6.13.6
- 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)