CVE-2025-37806
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-37806 is a vulnerability in the Linux kernel's NTFS3 filesystem implementation, discovered and reported by syzbot on May 8, 2025. The vulnerability affects the write operations in the filesystem, specifically related to the compression flag handling (NVD CVE, Red Hat CVE).

Technical details

The vulnerability manifests as a NULL pointer dereference in the _genericfilewriteiter function. The issue occurs when a user executes an ioctl command to clear the compress flag of a file before the write operation is completed. This causes the iscompressed() judgment to return 0, leading the program to enter an incorrect process and call the wrong ops ntfsaopscmpr, ultimately triggering a null pointer dereference of writebegin. The vulnerability has been assigned a CVSS v3.1 score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) indicating moderate severity (Red Hat CVE).

Impact

The vulnerability can lead to a system crash through a NULL pointer dereference, potentially causing a denial of service condition. The impact is limited to local attacks and requires local user access to exploit. The vulnerability affects the system's availability but does not compromise confidentiality or integrity (Red Hat CVE).

Mitigation and workarounds

The vulnerability has been resolved by implementing inode lock synchronization between ioctl and write operations to prevent race conditions. The fix ensures atomic write operations in the NTFS3 filesystem implementation (Ubuntu Security).

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-40258HIGH7
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-devel-matched
NoNoDec 04, 2025
CVE-2025-40259MEDIUM6.2
  • Linux KernelLinux Kernel
  • kernel-64k-devel
NoNoDec 04, 2025
CVE-2025-40264MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
NoNoDec 04, 2025
CVE-2025-40254MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-modules-partner
NoNoDec 04, 2025
CVE-2025-40253MEDIUM5.5
  • Linux KernelLinux Kernel
  • python3-perf
NoNoDec 04, 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