Kernel crash via unchecked device-path error
Published Jan 31, 2025 · Updated May 11, 2026
Denial of service in Linux btrfs 6.12.5 through 6.12.10 allows local users to crash the kernel through a device-path error. A failed d_path() call in get_canonical_dev_path returns an error pointer that strscpy() treats as a valid source address, causing an invalid memory access. Low-privileged local access and a btrfs device-path operation are required; the bounded impact is a kernel crash and host service interruption.
Summary
What happened
Denial of service in Linux btrfs 6.12.5 through 6.12.10 allows local users to crash the kernel through a device-path error. A failed d_path() call in get_canonical_dev_path returns an error pointer that strscpy() treats as a valid source address, causing an invalid memory access. Low-privileged local access and a btrfs device-path operation are required; the bounded impact is a kernel crash and host service interruption.
The record
- CVE
- CVE-2025-21679
- Published
- Jan 31, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 31, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5d261f60b5c82ba1e4b5555252e1c90c43d96015 <d0fb5741932b831eded49bfaaf33353e96200d6d
- Affected versionversion=6.12.5 <6.12.11
- Affected versionversion=7e06de7c83a746e58d4701e013182af133395188 <fe4de594f7a2e9bc49407de60fbd20809fad4192
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo