hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file()
In the Linux kernel, the following vulnerability has been resolved: hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file() When the volume header contains erroneous values that do not reflect the actual state of the filesystem, hfsplus_fill_super() assumes that the attributes file is not yet created, which later results in hitting BUG_ON() when hfsplus_create_attributes_file() is called. Replace this BUG_ON() with -EIO error with a message to suggest running fsck tool.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.241, 5.15.190, 5.4.297, 6.1.149, 6.12.43, 6.15.11, 6.16.2, 6.6.103
- CVEs
- CVE-2025-38712
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:45 UTC · Revision 1
Source evidence
hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file()
core-osv · Original sourcePublished 4 Sept 2025, 15:33 UTC
In the Linux kernel, the following vulnerability has been resolved: hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file() When the volume header contains erroneous values that do not reflect the actual state of the filesystem, hfsplus_fill_super() assumes that the attributes file is not yet created, which later results in hitting BUG_ON() when hfsplus_create_attributes_file() is called. Replace this BUG_ON() with -EIO error with a message to suggest running fsck tool.
osv:CVE-2025-38712
Kernel
Fixed versions: 5.4.297, 5.10.241, 5.15.190, 6.1.149, 6.6.103, 6.12.43, 6.15.11, 6.16.2
Complete source record
{
"id": "1315fc4096cc72c369c6b42dffb65460c848a19a6598b4c6c869c33e1b45ae29",
"url": "https://osv.dev/vulnerability/CVE-2025-38712",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file() When the volume header contains erroneous values that do not reflect the actual state of the filesystem, hfsplus_fill_super() assumes that the attributes file is not yet created, which later results in hitting BUG_ON() when hfsplus_create_attributes_file() is called. Replace this BUG_ON() with -EIO error with a message to suggest running fsck tool.",
"evidence": "osv:CVE-2025-38712",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.297",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.241",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.190",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.149",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.103",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.43",
"evidence": "/affected/1/ranges"
},
{
"value": "6.15.11",
"evidence": "/affected/1/ranges"
},
{
"value": "6.16.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-38712",
"aliases": [
"CVE-2025-38712"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd"
},
{
"fixed": "bb0eea8e375677f586ad11c12e2525ed3fc698c2"
},
{
"fixed": "9046566fa692f88954dac8c510f37ee17a15fdb7"
},
{
"fixed": "03cd1db1494cf930e2fa042c9c13e32bffdb4eba"
},
{
"fixed": "dee5c668ad71ddbcb4b48d95e8a4f371314ad41d"
},
{
"fixed": "b3359392b75395a31af739a761f48f4041148226"
},
{
"fixed": "1bb8da27ff15e346d4bc9e248e819c9a88ebf9d6"
},
{
"fixed": "d768e3ed430e89a699bf89d3214dcbbf4648c939"
},
{
"fixed": "ce5e387f396cbb5c061d9837abcac731e9e06f4d"
},
{
"fixed": "c7c6363ca186747ebc2df10c8a1a51e66e0e32d9"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38712.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.13.0"
},
{
"fixed": "5.4.297"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.241"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.190"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.149"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.103"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.43"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.15.11"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.16.0"
},
{
"fixed": "6.16.2"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38712.json"
}
}
],
"modified": "2026-10-28T02:30:38.124863880Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-032379.html",
"https://git.kernel.org/stable/c/03cd1db1494cf930e2fa042c9c13e32bffdb4eba",
"https://git.kernel.org/stable/c/1bb8da27ff15e346d4bc9e248e819c9a88ebf9d6",
"https://git.kernel.org/stable/c/9046566fa692f88954dac8c510f37ee17a15fdb7",
"https://git.kernel.org/stable/c/b3359392b75395a31af739a761f48f4041148226",
"https://git.kernel.org/stable/c/bb0eea8e375677f586ad11c12e2525ed3fc698c2",
"https://git.kernel.org/stable/c/c7c6363ca186747ebc2df10c8a1a51e66e0e32d9",
"https://git.kernel.org/stable/c/ce5e387f396cbb5c061d9837abcac731e9e06f4d",
"https://git.kernel.org/stable/c/d768e3ed430e89a699bf89d3214dcbbf4648c939",
"https://git.kernel.org/stable/c/dee5c668ad71ddbcb4b48d95e8a4f371314ad41d",
"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html",
"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38712.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-38712",
"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/38xxx/CVE-2025-38712.json"
}
},
"related_cves": [
{
"value": "CVE-2025-38712",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 505455,
"published_at": "2025-09-04T15:33:02.53+00:00"
}