CVE-2025-0927
NoneCVSS
—
EPSS
—
Published
Mar 23, 2025
CISA due date
—
Cloudanix analysis
A flaw in how Linux handles certain older filesystem formats lets an attacker crash or potentially take over a computer simply by getting it to look at a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Privilege Gain
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- No Fix Yet
- Effort
- Other
- Patch risk
- Other
What it actually does
Heap overflow in hfs and hfsplus filesystem drivers triggered by mounting a manually crafted filesystem image.
Why it matters to the business
Systems remain exposed to crashes or potential code execution from untrusted filesystem images until a kernel fix ships, increasing risk for any environment that handles external media or network shares.
How an attack unfolds
An attacker prepares a malicious hfs or hfsplus image containing structures that overflow a kernel heap buffer, then causes a target system to mount the image via local access, removable media, or automated scripts, leading to memory corruption.
How to fix it
No released kernel version contains a fix; block mounting of untrusted hfs/hfsplus images via mount options or policy until an upstream patch is available and backported.
How to confirm the fix worked
Confirm exposure by attempting to mount a test-crafted image on a non-production kernel and monitoring for kernel oops or panic; after patching, repeat to verify stability.
Typical attack path
- Create malicious hfs/hfsplus filesystem image
- Deliver image to target via email, download, or shared storage
- Induce or automate mount operation on Linux system
- Trigger heap overflow for denial of service or code execution
How to detect it
Review kernel logs for hfs/hfsplus related oops, panic, or heap corruption messages around mount operations; inspect audit logs for mount syscalls involving untrusted images.
What your security team should do
- Immediately restrict hfs and hfsplus mounts to trusted sources only
- Monitor kernel.org and distribution advisories for the forthcoming fix
- Add filesystem mount restrictions to hardening baselines
- Audit systems that auto-mount external media for exposure
The record
In the Linux kernel, the following vulnerability has been found: A heap overflow in the hfs and hfsplus filesystems can happen if a user mounts a manually crafted filesystem. At this point in time, it is not fixed in any released kernel version, this is a stop-gap report to notify that kernel.org is now the owner of this CVE id. The Linux kernel CVE team has been assigned CVE-2025-0927 as it was incorrectly created by a different CNA that really should have known better to not have done this.to this issue.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | linux | 0 | No fix |
| Debian:12 | linux | 0 | No fix |
| Debian:13 | linux | 0 | No fix |
| Ubuntu:24.10 | linux | 0 | 6.11.0-18.18 |
| Ubuntu:24.10 | linux-azure | 0 | 6.11.0-1010.10 |
| Ubuntu:24.10 | linux-lowlatency | 0 | 6.11.0-1010.11 |
Related vulnerabilities
- CVE-2025-39885 In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix recursive… Also affects linux
- CVE-2025-39883 In the Linux kernel, the following vulnerability has been resolved: mm/memory-failure… Also affects linux
- CVE-2025-39876 In the Linux kernel, the following vulnerability has been resolved: net: fec: Fix… Also affects linux
- CVE-2025-39869 In the Linux kernel, the following vulnerability has been resolved: dmaengine: ti: edma… Also affects linux
- CVE-2025-39873 In the Linux kernel, the following vulnerability has been resolved: can: xilinx_can… Also affects linux
- CVE-2025-39863 In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: fix… Also affects linux
- CVE-2025-39865 In the Linux kernel, the following vulnerability has been resolved: tee: fix NULL pointer… Also affects linux
- CVE-2025-39866 In the Linux kernel, the following vulnerability has been resolved: fs: writeback: fix… Also affects linux