{"id":"CVE-2025-71271","summary":"hfsplus: ensure sb-\u003es_fs_info is always cleaned up","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nhfsplus: ensure sb-\u003es_fs_info is always cleaned up\n\nWhen hfsplus was converted to the new mount api a bug was introduced by\nchanging the allocation pattern of sb-\u003es_fs_info. If setup_bdev_super()\nfails after a new superblock has been allocated by sget_fc(), but before\nhfsplus_fill_super() takes ownership of the filesystem-specific s_fs_info\ndata it was leaked.\n\nFix this by freeing sb-\u003es_fs_info in hfsplus_kill_super().","modified":"2026-07-08T07:05:22.602786589Z","published":"2026-05-06T11:27:05.321Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71271.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0bcfebb83b5460d5be4e5c9dfb19cdaf3d4cb1db"},{"type":"WEB","url":"https://git.kernel.org/stable/c/126fb0ce99431126b44a6c360192668c818f641f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1e38d32bb04d85a2c81204a85a34878a497128c8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71271.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71271"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"432f7c78cb000a3151fa0d39585b000312f50d7e"},{"fixed":"0bcfebb83b5460d5be4e5c9dfb19cdaf3d4cb1db"},{"fixed":"1e38d32bb04d85a2c81204a85a34878a497128c8"},{"fixed":"126fb0ce99431126b44a6c360192668c818f641f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71271.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71271.json"}}],"schema_version":"1.7.5"}