CVE-2023-54125
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54125 is a use-after-free vulnerability in the Linux kernel's NTFS3 filesystem driver (fs/ntfs3), triggered when reading inconsistent extended attributes (EAs). The ntfs_read_ea function fails to return a proper error code for malformed EA data, leading to unpredictable memory accesses after return — specifically a write-after-free in ntfs_set_ea. It was published on December 24, 2025, and affects the Linux kernel (vendor: linux, product: kernel). Feedly estimates the severity as Medium, with an EPSS score of 0.000180 (Red Hat CVE, Red Hat Bugzilla).

Technical details

The root cause is improper error handling (CWE-416: Use After Free) in the ntfs_read_ea function within fs/ntfs3. When extended attributes on an NTFS volume are inconsistent or malformed, the function fails to propagate an error code to its caller, allowing execution to continue with invalid state. This results in a use-after-free condition in ntfs_set_ea, where a write of 4 bytes occurs at an already-freed kernel address (ffff88800205cfac), as confirmed by KASAN output in the vulnerability description. Exploitation requires the ability to mount or interact with a crafted NTFS filesystem image, typically requiring local access or the ability to supply a malicious disk image (Red Hat CVE). Patches are referenced in the Linux stable kernel tree at commits 1474098b590a and c9db0ff04649 (kernel.org patch 1, kernel.org patch 2).

Impact

Successful exploitation of this vulnerability can lead to kernel memory corruption via a use-after-free write, potentially enabling local privilege escalation, kernel crash (denial of service), or information disclosure depending on heap layout. The affected component is the NTFS3 kernel driver, meaning any system that mounts NTFS filesystems using the in-kernel ntfs3 driver is at risk. The scope is limited to the local system, but a compromised kernel context could allow an attacker to escalate privileges or destabilize the host (Red Hat CVE).

Mitigation and workarounds

Apply the upstream Linux kernel patches that fix the error-handling path in ntfs_read_ea to ensure a proper error code is returned for inconsistent extended attributes. The relevant fixes are available in the Linux stable kernel tree at commits 1474098b590a426d90f27bb992f17c326e0b60c1 and c9db0ff04649aa0b45f497183c957fe260f229f6. As a workaround, systems that do not require NTFS3 filesystem support can blacklist or disable the ntfs3 kernel module (echo 'blacklist ntfs3' >> /etc/modprobe.d/blacklist.conf) to prevent exposure. Red Hat has tracked this issue and users of affected RHEL-based distributions should apply vendor-provided kernel updates when available (Red Hat CVE, kernel.org patch 1, kernel.org patch 2).

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