hfs: ensure sb->s_fs_info is always cleaned up
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().
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.11, 6.19.1
- CVEs
- CVE-2025-71230
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 00:20 UTC · Revision 1
Source evidence
hfs: ensure sb->s_fs_info is always cleaned up
core-osv · Original sourcePublished 18 Feb 2026, 14:53 UTC
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().
osv:CVE-2025-71230
Kernel
Fixed versions: 6.18.11, 6.19.1
Complete source record
{
"id": "54cb4260ad3d0f06ef350bb4d971f42ddd1b93bdf961cba286108dfb91aafec0",
"url": "https://osv.dev/vulnerability/CVE-2025-71230",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "hfs: ensure sb->s_fs_info is always cleaned up",
"summary": "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().",
"evidence": "osv:CVE-2025-71230",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.11",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-71230",
"aliases": [
"CVE-2025-71230"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "ffcd06b6d13b72823aba0d7c871f7e4876e7916b"
},
{
"fixed": "46c1d56ad321fb024761abd9af61a0cb616cf2f6"
},
{
"fixed": "399219831514126bc9541e8eadefe02c6fbd9166"
},
{
"fixed": "05ce49a902be15dc93854cbfc20161205a9ee446"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71230.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.11"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "6.19.1"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71230.json"
}
}
],
"modified": "2026-10-28T02:30:32.364914232Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/05ce49a902be15dc93854cbfc20161205a9ee446",
"https://git.kernel.org/stable/c/399219831514126bc9541e8eadefe02c6fbd9166",
"https://git.kernel.org/stable/c/46c1d56ad321fb024761abd9af61a0cb616cf2f6",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71230.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-71230",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71230.json"
}
},
"related_cves": [
{
"value": "CVE-2025-71230",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 499328,
"published_at": "2026-02-18T14:53:14.519+00:00"
}