CVE-2023-53311
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Mitigation and workarounds

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).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68764N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug
NoYesJan 05, 2026
CVE-2025-68758N/AN/A
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesJan 05, 2026
CVE-2025-68756N/AN/A
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68753N/AN/A
  • Linux KernelLinux Kernel
  • python3-perf
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management