CVE-2023-53845
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-53845 is a vulnerability in the Linux kernel's nilfs2 filesystem driver that causes an infinite loop in the nilfs_mdt_get_block() function when a corrupted disk image is mounted. When a virtual block address obtained during metadata file block lookup is invalid, nilfs_bmap_lookup_at_level() may return -ENOENT — the same code used to indicate a block simply doesn't exist — creating an ambiguity that causes nilfs_mdt_get_block() to loop indefinitely attempting to read and create a metadata block. The vulnerability was published on December 9, 2025, and affects the Linux kernel across multiple stable branches. Feedly estimates this as a Medium severity issue with an EPSS score of 0.00033 (Feedly).

Technical details

The root cause is an improper error code handling issue (related to CWE-835: Loop with Unreachable Exit Condition) in the nilfs2 filesystem subsystem. When a corrupted disk image causes nilfs_bmap_lookup_at_level() to fail during virtual block address translation, it returns -ENOENT, which is the same code used to signal a legitimately absent block. This ambiguity causes nilfs_mdt_get_block() to misinterpret a corruption error as a missing block and repeatedly attempt to read and then create the block, resulting in an infinite loop. If this occurs in the inode metadata file (ifile), the semaphore i_rwsem can be left held, causing task hangs in lock_mount. The fix changes nilfs_bmap_lookup_at_level() to treat virtual block address translation failures with -ENOENT as metadata corruption rather than returning the ambiguous error code (Feedly, Kernel Git).

Impact

Successful triggering of this vulnerability results in a denial of service condition: the affected kernel task enters an infinite loop and, in the case of the inode metadata file (ifile), leaves the i_rwsem semaphore held, causing subsequent tasks to hang indefinitely in lock_mount. This impacts system availability by potentially rendering the filesystem and related kernel threads unresponsive. There is no evidence of confidentiality or integrity impact beyond the availability disruption caused by the kernel hang (Feedly).

Mitigation and workarounds

The Linux kernel maintainers have released patches across multiple stable branches. Fixed versions include kernel 4.14.315, 4.19.283, 5.4.243, 5.10.180, 5.15.111, 6.1.28, 6.2.15, 6.3.2, and 6.4. Users should update to the patched kernel version applicable to their distribution. As a workaround, systems that do not require nilfs2 support can blacklist or disable the nilfs2 kernel module (modprobe -r nilfs2 or adding blacklist nilfs2 to /etc/modprobe.d/) to prevent exposure (Feedly, Kernel Git).

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-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 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