CVE-2023-53804: Linux

High severity, CVSS 7.8. EPSS: 0.1% chance of exploitation in the next 30 days.

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.

Affected products

  • Linux Linux: from 2.6.37, before 4.14.316 (fixed in 4.14.316); from 4.15, before 4.19.284 (fixed in 4.19.284); from 4.20, before 5.4.244 (fixed in 5.4.244); from 5.5, before 5.10.181 (fixed in 5.10.181); from 5.11, before 5.15.113 (fixed in 5.15.113); from 5.16, before 6.1.30 (fixed in 6.1.30); …

Published 2025-12-09. Last modified 2026-08-04.