Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode() During unmount process of nilfs2, nothing holds nilfs_root structure after nilfs2 detaches its writer in nilfs_detach_log_writer(). However, since nilfs_evict_inode() uses nilfs_root for some cleanup operations, it may cause use-after-free read if inodes are left in "garbage_list" and released by nilfs_dispose_list() at the end of nilfs_detach_log_writer(). Fix this issue by modifying nilfs_evict_inode() to only clear inode without additional metadata changes that use nilfs_root if the file system is degraded to read-only or the writer is detached.
References (8)
Core 8
Core References
Scores
EPSS
0.0018
EPSS Percentile
7.2%
Details
Status
published
Products (25)
linux/Kernel
2.6.37 - 4.14.316linux
linux/Kernel
4.15.0 - 4.19.284linux
linux/Kernel
4.20.0 - 5.4.244linux
linux/Kernel
5.11.0 - 5.15.113linux
linux/Kernel
5.16.0 - 6.1.30linux
linux/Kernel
5.5.0 - 5.10.181linux
linux/Kernel
6.2.0 - 6.3.4linux
Linux/Linux
< 2.6.37
Linux/Linux
2.6.37
Linux/Linux
4.14.316 - 4.14.*
... and 15 more
Published
Dec 09, 2025
Tracked Since
Feb 18, 2026