{"id":"CVE-2025-38712","aliases":["CVE-2025-38712"],"related":[],"kind":"vulnerability","state":"published","title":"hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nhfsplus: no usar BUG_ON() en hfsplus_create_attributes_file()\n\nCuando el encabezado del volumen contiene valores erróneos que no reflejan el estado real del sistema de archivos, hfsplus_fill_super() asume que el archivo de atributos aún no ha sido creado, lo que más tarde resulta en alcanzar BUG_ON() cuando se llama a hfsplus_create_attributes_file(). Reemplazar este BUG_ON() con un error -EIO con un mensaje para sugerir ejecutar la herramienta fsck.","source":"nvd"}],"published":"2025-09-04T15:33:02.530Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-617"],"affected":[{"ranges":[{"type":"git","introduced":"95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd","fixed":"bb0eea8e375677f586ad11c12e2525ed3fc698c2","status":"affected"},{"type":"git","introduced":"95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd","fixed":"9046566fa692f88954dac8c510f37ee17a15fdb7","status":"affected"},{"type":"git","introduced":"95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd","fixed":"03cd1db1494cf930e2fa042c9c13e32bffdb4eba","status":"affected"},{"type":"git","introduced":"95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd","fixed":"dee5c668ad71ddbcb4b48d95e8a4f371314ad41d","status":"affected"},{"type":"git","introduced":"95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd","fixed":"b3359392b75395a31af739a761f48f4041148226","status":"affected"},{"type":"git","introduced":"95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd","fixed":"1bb8da27ff15e346d4bc9e248e819c9a88ebf9d6","status":"affected"},{"type":"git","introduced":"95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd","fixed":"d768e3ed430e89a699bf89d3214dcbbf4648c939","status":"affected"},{"type":"git","introduced":"95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd","fixed":"ce5e387f396cbb5c061d9837abcac731e9e06f4d","status":"affected"},{"type":"git","introduced":"95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd","fixed":"c7c6363ca186747ebc2df10c8a1a51e66e0e32d9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.13","status":"unaffected"},{"type":"semver","introduced":"5.4.297","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.241","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.190","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.149","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.103","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.43","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.11","lastAffected":"6.15.*","status":"unaffected"},{"type":"semver","introduced":"6.16.2","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.13","fixed":"5.4.297"},{"status":"affected","introduced":"5.5","fixed":"5.10.241"},{"status":"affected","introduced":"5.11","fixed":"5.15.190"},{"status":"affected","introduced":"5.16","fixed":"6.1.149"},{"status":"affected","introduced":"6.2","fixed":"6.6.103"},{"status":"affected","introduced":"6.7","fixed":"6.12.43"},{"status":"affected","introduced":"6.13","fixed":"6.15.11"},{"status":"affected","introduced":"6.16","fixed":"6.16.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/bb0eea8e375677f586ad11c12e2525ed3fc698c2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9046566fa692f88954dac8c510f37ee17a15fdb7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/03cd1db1494cf930e2fa042c9c13e32bffdb4eba","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dee5c668ad71ddbcb4b48d95e8a4f371314ad41d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b3359392b75395a31af739a761f48f4041148226","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1bb8da27ff15e346d4bc9e248e819c9a88ebf9d6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d768e3ed430e89a699bf89d3214dcbbf4648c939","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ce5e387f396cbb5c061d9837abcac731e9e06f4d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c7c6363ca186747ebc2df10c8a1a51e66e0e32d9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38712","url":"https://www.cve.org/CVERecord?id=CVE-2025-38712","licence":"CVE Terms of Use","modified":"2026-05-12T12:05:47.082Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38712","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38712","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:04.153Z","epss":{"score":0.00181,"percentile":0.08005,"date":"2026-12-01T12:00:22.000Z"}}