CVE-2025-39835
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2025-39835) has been identified in the Linux kernel's XFS filesystem implementation. The issue was disclosed on September 16, 2025, and involves improper error handling in the XFS extended attribute (xattr) code (NVD).

Technical details

The vulnerability stems from incorrect propagation of ENODATA disk errors into the xattr code. ENODATA (also known as ENOATTR) has a specific meaning in XFS xattr code, indicating that a requested attribute name could not be found. However, medium errors from disk operations may also return ENODATA. This can lead to a null pointer dereference in xfsattrleafget() when xfstrans_brelse() is called with a null bp value (NVD).

Impact

The vulnerability can manifest in two ways: At best, a medium error from disk may incorrectly appear to userspace as an 'attribute not found' error when it's actually an IO (disk) error. At worst, it can cause a system crash through a null pointer dereference in the kernel (NVD).

Mitigation and workarounds

A patch has been developed to address this specific bug in the xattr code, which is considered safe for backporting to stable kernels. A more comprehensive solution to handle unique errors at lower levels is planned for future implementation. Prior to commit 07120f1abdff, the system did not crash but still returned incorrect error codes to userspace (NVD).

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-39866N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-whitelists
NoYesSep 19, 2025
CVE-2025-39865N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-devel
NoYesSep 19, 2025
CVE-2025-39864N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules
NoYesSep 19, 2025
CVE-2025-39863N/AN/A
  • Linux KernelLinux Kernel
  • linux-fips
NoYesSep 19, 2025
CVE-2025-39861N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesSep 19, 2025

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