CVE Catalog

CVE-2025-71271

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

2th percentile - higher than 2% of all known CVEs

Summary

In the Linux kernel, the hfsplus filesystem conversion to the new mount API introduced a bug in 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 is leaked. The fix frees sb->s_fs_info in hfsplus_kill_super().

Risk Assessment

The memory leak on failed hfsplus filesystem mount can gradually exhaust kernel memory and lead to system instability.

Recommendation

Update the Linux kernel to a version containing the fix that frees sb->s_fs_info in hfsplus_kill_super().

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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().

Vulnerability data from NVD (NIST) · CISA KEV · EPSS