CVE-2025-71230

hfs: ensure sb->s_fs_info is always cleaned up

State
Published
Severity
Not scored
Published
Feb 18, 2026
Updated
May 11, 2026
Reserved
Feb 18, 2026

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ffcd06b6d13b72823aba0d7c871f7e4876e7916b to before 46c1d56ad321fb024761abd9af61a0cb616cf2f6Affected
  • ffcd06b6d13b72823aba0d7c871f7e4876e7916b to before 399219831514126bc9541e8eadefe02c6fbd9166Affected
  • ffcd06b6d13b72823aba0d7c871f7e4876e7916b to before 05ce49a902be15dc93854cbfc20161205a9ee446Affected
LinuxLinux
  • 6.13Affected
  • before 6.13Not affected
  • 6.18.11 through 6.18.*Not affected
  • 6.19.1 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.