Linux kernel writeback use-after-free in __mark_inode_dirty()
CVE-2025-39866High
The Linux kernel's __mark_inode_dirty() function can access a writeback object after it has been freed due to a race condition during inode writeback switching. An attacker with local access could trigger this by performing file write operations whilst the kernel is switching an inode's writeback object, causing a use-after-free memory access. The fix involves holding the inode spinlock until the writeback wakeup operation completes.
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 4.2, before 5.10.247
- linux linux kernel: from 5.11, before 5.15.192
- linux linux kernel: from 5.16, before 6.1.151
- linux linux kernel: from 6.2, before 6.6.105
- linux linux kernel: from 6.7, before 6.12.46
- linux linux kernel: from 6.13, before 6.16.6
- linux linux kernel: 6.17
- debian debian linux: 11.0
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)