CVE-2023-54119
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54119 is a race condition vulnerability in the Linux kernel's inotify subsystem that can cause invalid watch descriptor (wd) values to be reported to userspace. Specifically, when inotify_freeing_mark() races with inotify_handle_inode_event(), the latter may observe that i_mark->wd has already been reset to -1 and incorrectly report this invalid value to inotify listeners. The vulnerability affects the Linux kernel from version 2.6.31 onward, with fixes backported to stable releases including 5.4.243, 5.10.180, 5.15.112, 6.1.29, 6.2.16, 6.3.3, and 6.4. It was published on December 24, 2025, with a CVSS base score of 0.0 as assessed by ENISA, indicating low direct security severity (Feedly, EUVD).

Technical details

The root cause is a time-of-check/time-of-use (TOCTOU) race condition (CWE-362) in the Linux kernel's inotify filesystem notification subsystem. When a watch mark is being freed via inotify_freeing_mark(), it resets the watch descriptor (wd) field to -1; if inotify_handle_inode_event() concurrently reads this field before the mark is fully removed, it can propagate the invalid -1 value to userspace applications relying on inotify events. The fix validates that the wd value is sensible before reporting it, and if not, treats the event as if the mark was removed prior to event generation (Feedly). Patches are available across multiple stable kernel branches via commits such as 8fb33166, 2d65c977, 17ad86d8, 145f54ea, fb329499, a48bacee, and c915d8f5 (kernel.org patches).

Impact

The primary impact of this vulnerability is incorrect behavior in userspace applications that rely on inotify for filesystem event monitoring — receiving an event with wd = -1 can confuse or crash inotify listeners, potentially causing denial of service or missed filesystem events. There is no evidence of direct confidentiality or integrity compromise, and the vulnerability does not enable privilege escalation or remote code execution. The scope is limited to local processes using inotify on affected kernel versions, with no known lateral movement potential (Feedly).

Mitigation and workarounds

The Linux kernel maintainers have released patches across all affected stable branches. Users should upgrade to kernel versions 5.4.243, 5.10.180, 5.15.112, 6.1.29, 6.2.16, 6.3.3, or 6.4 (or later), depending on their current branch. Linux distribution vendors (e.g., Debian, Ubuntu, RHEL) are expected to incorporate these fixes into their respective kernel packages; administrators should apply available distribution security updates promptly (Feedly, kernel.org patches).

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