CVE-2023-53804

HIGHCVSS 7.8/10EPSS 0.18%

Last modified

CVE-2023-53804 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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 estimates a 0.18% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.8/10

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
0.18%

7.2th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= e912a5b66837ee89fb025e67b5efeaa11930c2ce, < f31e18131ee2ce80a4da5c808221d25b1ae9ad6d; >= e912a5b66837ee89fb025e67b5efeaa11930c2ce, < 2a782ea8ebd712a458466e3103e2881b4f886cb5; >= e912a5b66837ee89fb025e67b5efeaa11930c2ce, < 116d53f09ff52e6f98e3fe1f85d8898d6ba26c68; >= e912a5b66837ee89fb025e67b5efeaa11930c2ce, < 6b4205ea97901f822004e6c8d59484ccfda03faa; >= e912a5b66837ee89fb025e67b5efeaa11930c2ce, < b8427b8522d9ede53015ba45a9978ba68d1162f5; >= e912a5b66837ee89fb025e67b5efeaa11930c2ce, < acc2a40e428f12780004e1e9fce4722d88f909fd; >= e912a5b66837ee89fb025e67b5efeaa11930c2ce, < fb8e8d58f116d069e5939e1f786ac84e7fa4533e; >= e912a5b66837ee89fb025e67b5efeaa11930c2ce, < 9b5a04ac3ad9898c4745cba46ea26de74ba56a8e
LinuxLinux2.6.37

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is 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.
How severe is CVE-2023-53804?
CVE-2023-53804 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.18% probability of exploitation in the next 30 days.
How do I fix CVE-2023-53804?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2023

Are you affected by CVE-2023-53804?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST