{"id":"CVE-2025-38712","summary":"hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nhfsplus: don't use BUG_ON() in hfsplus_create_attributes_file()\n\nWhen the volume header contains erroneous values that do not reflect\nthe actual state of the filesystem, hfsplus_fill_super() assumes that\nthe attributes file is not yet created, which later results in hitting\nBUG_ON() when hfsplus_create_attributes_file() is called. Replace this\nBUG_ON() with -EIO error with a message to suggest running fsck tool.","modified":"2026-03-20T12:42:59.252669Z","published":"2025-09-04T15:33:02.530Z","related":["MGASA-2025-0234","MGASA-2025-0235","SUSE-SU-2025:03600-1","SUSE-SU-2025:03614-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4141-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38712.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/03cd1db1494cf930e2fa042c9c13e32bffdb4eba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1bb8da27ff15e346d4bc9e248e819c9a88ebf9d6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9046566fa692f88954dac8c510f37ee17a15fdb7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b3359392b75395a31af739a761f48f4041148226"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb0eea8e375677f586ad11c12e2525ed3fc698c2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c7c6363ca186747ebc2df10c8a1a51e66e0e32d9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ce5e387f396cbb5c061d9837abcac731e9e06f4d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d768e3ed430e89a699bf89d3214dcbbf4648c939"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dee5c668ad71ddbcb4b48d95e8a4f371314ad41d"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38712.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38712"},{"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":"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/osv-test-cve-osv-conversion/osv-output/CVE-2025-38712.json"}}],"schema_version":"1.7.5"}