What’s Vulnerable › Vulnerabilities
CVE-2025-71230: hfs: 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-02-18 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: hfs: ensure sb->s_fs_info is always cleaned up When hfs 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 hfs_fill_super() takes ownership of the filesystem-specific s_fs_info data it was leaked. Fix this by freeing sb->s_fs_info in hfs_kill_super().
Affected products
- Linux kernel: from 6.13 before 6.18.11; from 6.19 before 6.19.1 — fixed in 6.18.11, 6.19.1
How to fix
Upgrade to a fixed version: Linux kernel 6.18.11, 6.19.1. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/05ce49a902be15dc93854cbfc20161205a9ee446
- https://git.kernel.org/stable/c/399219831514126bc9541e8eadefe02c6fbd9166
- https://git.kernel.org/stable/c/46c1d56ad321fb024761abd9af61a0cb616cf2f6
Get alerted when CVE-2025-71230 or the next vulnerability affects your stack