Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
Linux Kernel HFS Filesystem Memory Leak Fixed
CVE-2025-71230
Summary
A bug in the Linux kernel's HFS filesystem handling was fixed, ensuring that memory is properly cleaned up to prevent potential memory leaks. This fix is important for maintaining system stability and security. No action is required from end-users, as the fix has been applied.
Original title
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...
Original 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().
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().
Published: 18 Feb 2026 · Updated: 11 Mar 2026 · First seen: 6 Mar 2026