Vulnary
← back to the feed
Critical· 9.1official fix available

CVE-2025-38365

A race condition exists in the Linux kernel's Btrfs filesystem during file renaming operations. If a system crash or power failure occurs at a specific moment during this process, the filesystem may incorrectly delete files upon the next mount.

publishedJul 25, 2025
last modifiedJul 30, 2026
sourcesNVD
severity · cvss
9.1
critical · how bad it is
exploitation · epss
<1%
21th percentile · chance of exploitation in 30 days
(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →
auto-deletes from the system
counting…on Aug 29, 2026

An official fix is available, so this entry is kept for 30 days and then removed automatically.

01

Who is affected

Users running the Linux kernel, specifically mentioned versions include 6.16 and Debian 11.0, who are using the Btrfs filesystem.

02

Real-world impact

An attacker cannot directly exploit this, but a sudden power loss or system crash could lead to permanent data loss, as the filesystem may delete files that were being renamed.

03

Why this severity

The critical score reflects that this vulnerability can lead to significant data loss (integrity and availability) and is triggered by specific system states, though it requires a crash or power failure to manifest.

04

What to do about it

official fix available
recommended steps
  1. 01Upgrade the Linux kernel to a version containing the fix for the btrfs rename and directory logging race condition.

NVD-referenced vendor advisory

05

Timeline

  1. Jul 25, 2025 · Jul 25, 2025
    Published
    Disclosed and added to the National Vulnerability Database.
  2. Jul 30, 2026 · 7d ago
    Advisory updated
    The NVD record was last revised.
  3. Jul 30, 2026 · 6d ago
    Official fix available
    A vendor patch or mitigation now exists — see the remediation steps above.
06

How it’s attacked

Attack vectorNetwork (remote)
Attack complexityLow
Privileges requiredNone
User interactionNone needed
ScopeUnchanged
Confidentiality impactNone
Integrity impactHigh
Availability impactHigh
07

References & advisories

(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →