Skip to main content
VulnerabilityPublished

CVE-2025-40287: Linux kernel · exfat: fix improper check of dentry.stream.valid_size

Source GCVE Database

0
Compare

Not known to be exploited.

Data as of 25 Nov 2026, 04:14 UTC

Severity
High

Rated High by Threat Radar's AI analysis · No CVSS score from NVD or the CNA

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

AI-suggested

A patch has been released that adds a check for negative dentry.stream.valid_size values to prevent the infinite loop and DoS condition. Users should apply the official Linux kernel update containing this fix. No alternative mitigations are indicated.

Description

A vulnerability in the Linux kernel's exFAT filesystem allows an infinite loop leading to a Denial-of-Service (DoS) condition. The issue arises from improper validation of the dentry.stream.valid_size field, which can be negative but was not checked. This flaw affects system calls such as SYS_openat, SYS_ftruncate, and SYS_pwrite64, causing the kernel to hang when processing malformed dentries. A patch has been introduced to add the missing check and prevent this issue.

References

Community reviews

Loading reviews…