
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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).
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."