Vulnerability in Linux

CVE-2023-53804

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.

EPSS: 0.002 (7.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Linux — versions e912a5b66837ee89fb025e67b5efeaa11930c2ce, 2.6.37, 0

References

Frequently asked questions

What is CVE-2023-53804?
CVE-2023-53804 is a high-severity vulnerability in Linux. CVSS score: 7.8/10. Published 2025-12-09.
How severe is CVE-2023-53804?
High severity. CVSS v3 base score is 7.8 out of 10.