CVE-2025-71230
JSON

5.5medium

hfs: ensure sb->s_fs_info is always cleaned up

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom ffcd06b6d13b72823aba0d7c871f7e4876e7916b before 46c1d56ad321fb024761abd9af61a0cb616cf2f6, from ffcd06b6d13b72823aba0d7c871f7e4876e7916b before 399219831514126bc9541e8eadefe02c6fbd9166, from ffcd06b6d13b72823aba0d7c871f7e4876e7916b before 05ce49a902be15dc93854cbfc20161205a9ee446, 6.13
Not affected: before 6.13, from 6.18.11 up to 6.18.*, from 6.19.1 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.13 before 6.18.11, from 6.19 before 6.19.1NVD

What each source says

CVE List

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

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: hfs: asegurar que sb->s_fs_info siempre se limpia Cuando hfs fue convertido a la nueva API de montaje, se introdujo un error al cambiar el patrón de asignación de sb->s_fs_info. Si setup_bdev_super() falla después de que un nuevo superbloque ha sido asignado por sget_fc(), pero antes de que hfs_fill_super() tome posesión de los datos s_fs_info específicos del sistema de archivos, se filtraba. Esto se soluciona liberando sb->s_fs_info en hfs_kill_super().

References

Sources

SourceRecordLicence
CVE ListCVE-2025-71230 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-71230 changed 2026-06-17Public domain