What’s Vulnerable › Vulnerabilities
CVE-2025-71271: hfsplus: ensure sb->s_fs_info is always cleaned up
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-06 · updated 2026-10-14
Description
In the Linux kernel, the following vulnerability has been resolved: hfsplus: ensure sb->s_fs_info is always cleaned up When hfsplus was converted to the new mount api a bug was introduced by changing the allocation pattern of sb->s_fs_info. If setup_bdev_super() fails after a new superblock has been allocated by sget_fc(), but before hfsplus_fill_super() takes ownership of the filesystem-specific s_fs_info data it was leaked. Fix this by freeing sb->s_fs_info in hfsplus_kill_super().
Affected products
- Linux kernel: from 6.13 before 6.18.16; from 6.19 before 6.19.6 — fixed in 6.18.16, 6.19.6
How to fix
Upgrade to a fixed version: Linux kernel 6.18.16, 6.19.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0bcfebb83b5460d5be4e5c9dfb19cdaf3d4cb1db
- https://git.kernel.org/stable/c/126fb0ce99431126b44a6c360192668c818f641f
- https://git.kernel.org/stable/c/1e38d32bb04d85a2c81204a85a34878a497128c8
Get alerted when CVE-2025-71271 or the next vulnerability affects your stack