CVE-2023-53804 Details
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.
A use-after-free vulnerability has been identified in the Linux kernel's nilfs2 filesystem, specifically within the nilfs_evict_inode function. During the unmount process, the nilfs_root structure is released after detaching its writer, leaving no references. The nilfs_evict_inode function, which relies on nilfs_root for cleanup, can inadvertently read freed memory if inodes are left in the 'garbage_list' and are disposed of by nilfs_dispose_list() after the writer has been detached. This issue affects several versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/116d53f09ff52e6f98e3fe1f85d8898d6ba26c68 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/2a782ea8ebd712a458466e3103e2881b4f886cb5 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/6b4205ea97901f822004e6c8d59484ccfda03faa | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9b5a04ac3ad9898c4745cba46ea26de74ba56a8e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/acc2a40e428f12780004e1e9fce4722d88f909fd | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/b8427b8522d9ede53015ba45a9978ba68d1162f5 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f31e18131ee2ce80a4da5c808221d25b1ae9ad6d | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/fb8e8d58f116d069e5939e1f786ac84e7fa4533e | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Linux nilfs2 | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 9, 2025 | New CVE Received | kernel.org |
Volerion