Skip to main content

Linux Kernel EUVDEUVD-2025-201638

| CVE-2025-40307 HIGH
2025-12-08 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious exFAT image with bad bitmap start cluster
  2. Delivery
    Insert media or trigger auto-mount
  3. Exploit
    Kernel reads unvalidated allocation bitmap
  4. Execution
    mkdir zeroes in-use cluster 6
  5. Persist
    Directory entries and bitmap corrupted
  6. Impact
    Live clusters reallocated, data destroyed or disclosed

Vulnerability Assessment

Exploitation Conditions

Exploitation requires the attacker to supply a specially crafted exFAT image (with the allocation bitmap's start cluster, e.g. cluster 6, not marked allocated) AND to have that image mounted by the target - either through the low privilege/capability to invoke mount or via a system configured to auto-mount attacker-controlled removable media. The corruption is triggered by a normal filesystem operation such as mkdir after mount. Limiting factors: the vector is local only (AV:L, no network reachability), the target must actually mount the malicious exFAT volume, and systems that neither mount untrusted removable media nor build/load the exfat module are not exposed.

Impact

The CVSS 3.1 base score is 7.8 (High) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, meaning local access and only low privileges are needed, with high confidentiality, integrity and availability impact. However, the EPSS probability is just 0.03% (6th percentile), it is not on CISA KEV, and no POC is referenced - the discovery came from syzbot fuzzing, not from observed attacks. The signals are consistent, not conflicting: this is a genuine memory/data-integrity flaw but its real-world priority is moderate because exploitation requires the attacker to supply and mount a maliciously crafted exFAT filesystem, which typically means physical media access or an auto-mount pathway. Note a nuance: CVSS lists UI:N and PR:L, but practically an attacker either needs the privilege/capability to mount, or must rely on a system that auto-mounts attacker-supplied removable media - verify the mount pathway in your environment when prioritizing.

Exploit ScenarioDerived

An attacker crafts an exFAT filesystem image whose allocation bitmap start cluster (e.g., cluster 6) is not itself marked in-use, then gets a victim system to mount it - via a physically inserted USB stick/SD card or an auto-mount daemon. When any process subsequently creates a directory, exfat-fs zeroes cluster 6, destroying existing directory entries and corrupting the bitmap, which then permits reallocation of live clusters leading to data corruption and potential disclosure of stale cluster contents. No public POC is referenced, though the original trigger image was produced by syzbot.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 30, 2026

Filesystem corruption in the Linux kernel's exFAT driver (exfat-fs) allows a local attacker who can mount a crafted exFAT image to overwrite in-use data structures and reallocate live clusters. Because the allocation bitmap's own cluster-allocation bits are never validated on mount, a malicious image can point the bitmap at cluster 6, which mkdir then zeroes - deleting existing directory entries and corrupting the bitmap itself, enabling further reallocation of already-allocated clusters. There is no public exploit identified at time of analysis and EPSS is very low (0.03%), consistent with a local physical/mount-dependent flaw rather than a mass-exploited network bug.

Earlier versions of this analysis (1)
v1 Mar 15, 2026 - 17:54

RemediationAI

Vendor-released patch: upgrade to Linux kernel 6.12.58, 6.17.8, or 6.18 (or your distribution's equivalent - Ubuntu users apply USN-8095-1 at https://ubuntu.com/security/notices/USN-8095-1 and reboot into the new kernel). The upstream fixes are the git.kernel.org stable commits listed for CVE-2025-40307. Where immediate patching is not possible, reduce exposure by preventing untrusted exFAT media from being mounted: disable or restrict automatic mounting of removable devices (e.g., udisks2/USB auto-mount policies), and where exFAT is not required, blacklist the module by adding 'install exfat /bin/true' to modprobe configuration so crafted images cannot be parsed - the trade-off is that legitimate exFAT SD cards and USB drives will no longer mount. Also restrict which users hold mount privileges, since only local users able to mount attacker-supplied images can trigger the flaw.

Affected VersionsENISA

Linux patch: 6.18
Linux 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003 <79c1587b6cda74deb0c86fc7ba194b92958c793c
Linux 5.7
Linux patch: 6.12.58
Linux 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003 <6bc58b4c53795ab5fe00648344aa7d9d61175f90
Linux patch: 0
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6bc58b4c53795ab5fe00648344aa7d9d61175f90
Linux patch: 6.17.8
Linux 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003 <13c1d24803d5b0446b3f6f0fdd67e07ac1fdc7bf
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <13c1d24803d5b0446b3f6f0fdd67e07ac1fdc7bf
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <79c1587b6cda74deb0c86fc7ba194b92958c793c

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The bug is in fs/exfat, the in-kernel driver implementing Microsoft's exFAT filesystem used on SD cards, USB flash media and other removable storage. exFAT tracks free/used clusters with an allocation bitmap that itself occupies one or more clusters on disk. On mount, exfat-fs trusts the bitmap's declared start cluster and reads it without verifying that those clusters are marked in-use within the bitmap. This is a missing-input-validation class defect (CWE-20 / CWE-1284, improper validation of an on-disk value), a common pattern for filesystem drivers that treat untrusted media metadata as authoritative. The fix adds exfat_test_bitmap_range() so the driver confirms that clusters backing the allocation bitmap are correctly flagged as allocated before use.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local mount of a crafted image (AV:L, PR:L for mount capability); on-disk corruption and stale-cluster reuse yield high integrity, availability and confidentiality impact within the same system (S:U).

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 6.3 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
Patch released
Mar 16, 2026 - 15:00 nvd
Patch available
CVE Published
Dec 08, 2025 - 01:16 cve.org
HIGH 7.8
CVE Published
Dec 08, 2025 - 01:16 nvd
N/A

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

exfat: validate cluster allocation bits of the allocation bitmap

syzbot created an exfat image with cluster bits not set for the allocation bitmap. exfat-fs reads and uses the allocation bitmap without checking this. The problem is that if the start cluster of the allocation bitmap is 6, cluster 6 can be allocated when creating a directory with mkdir. exfat zeros out this cluster in exfat_mkdir, which can delete existing entries. This can reallocate the allocated entries. In addition, the allocation bitmap is also zeroed out, so cluster 6 can be reallocated. This patch adds exfat_test_bitmap_range to validate that clusters used for the allocation bitmap are correctly marked as in-use.

Executive ViewAI

Why It Matters

Systems used for removable storage or external media are vulnerable to data loss via CVE-2025-40307, a Linux kernel issue affecting file integrity. This risk is specific to desktop and portable device environments where users handle external drives. No public exploit identified at time of analysis, and threat likelihood is minimal (EPSS 0.03%), but the vendor patch should be deployed systematically over the next 30 days.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Prevalence
Ubiquitous
exFAT driver ships in the mainline Linux kernel used everywhere
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Image SL-Micro Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.115 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.146 Affected
Container suse/sl-micro/6.0/toolbox:latest Affected

References

Advisories & patches
ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2025-40307 ADVISORY https://ubuntu.com/security/notices/USN-8095-1 ADVISORY https://vuldb.com/vuln/334743 ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0278/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0281/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0315/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20207/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20220/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20228/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20477/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20479/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20498/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20520/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20564/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20772/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20794/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20819/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20845/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20872/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20876/ REF https://git.kernel.org/stable/c/13c1d24803d5b0446b3f6f0fdd67e07ac1fdc7bf REF https://git.kernel.org/stable/c/67ce8034dc0278ddd88cad93d4218a945180dddd REF https://git.kernel.org/stable/c/6bc58b4c53795ab5fe00648344aa7d9d61175f90 REF https://git.kernel.org/stable/c/79c1587b6cda74deb0c86fc7ba194b92958c793c REF https://git.kernel.org/stable/c/87f827d53bd0688597bda63ae95908e2ad39bac0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy