
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-53311 is a vulnerability in the Linux kernel affecting the nilfs2 filesystem that was discovered and disclosed in September 2025. The issue involves a use-after-free vulnerability of nilfs_root in dirtying inodes via iput during the unmount process (Ubuntu Security).
The vulnerability occurs during the unmount process of nilfs2, where the nilfs_root structure is no longer held after nilfs2 detaches its writer in nilfs_detach_log_writer(). The issue manifests when mark_inode_dirty_sync() is called from iput() in the following call path: nilfs_detach_log_writer() -> nilfs_dispose_list() -> iput() -> mark_inode_dirty_sync() -> __mark_inode_dirty() -> nilfs_dirty_inode() -> __nilfs_mark_inode_dirty() -> nilfs_load_inode_block(), leading to a use-after-free condition of the nilfs_root structure (Ubuntu Security).
This vulnerability could potentially lead to system instability or crashes when unmounting nilfs2 filesystems. The issue affects various Linux kernel versions and has been assigned a medium priority by Ubuntu, indicating moderate severity (Ubuntu Security).
The issue has been fixed in various Linux kernel versions including Ubuntu 22.04 LTS (5.15.0-91.101), Ubuntu 20.04 LTS (5.4.0-169.187), and several other kernel variants. The fix involves adding a 'purging flag' to the nilfs structure, setting it while disposing of the 'garbage_list' and checking it in __nilfs_mark_inode_dirty() (Ubuntu Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."