CVE-2025-38712
JSON

5.5medium

hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd before bb0eea8e375677f586ad11c12e2525ed3fc698c2, from 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd before 9046566fa692f88954dac8c510f37ee17a15fdb7, from 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd before 03cd1db1494cf930e2fa042c9c13e32bffdb4eba, from 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd before dee5c668ad71ddbcb4b48d95e8a4f371314ad41d, from 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd before b3359392b75395a31af739a761f48f4041148226, from 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd before 1bb8da27ff15e346d4bc9e248e819c9a88ebf9d6, from 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd before d768e3ed430e89a699bf89d3214dcbbf4648c939, from 95e0d7dbb9b28ab0dfad7c7316066b05e1f1d4cd before ce5e387f396cbb5c061d9837abcac731e9e06f4d and 2 more
Not affected: before 3.13, from 5.4.297 up to 5.4.*, from 5.10.241 up to 5.10.*, from 5.15.190 up to 5.15.*, from 6.1.149 up to 6.1.*, from 6.6.103 up to 6.6.*
CVE List
linux linux_kernelfrom 3.13 before 5.4.297, from 5.5 before 5.10.241, from 5.11 before 5.15.190, from 5.16 before 6.1.149, from 6.2 before 6.6.103, from 6.7 before 6.12.43, from 6.13 before 6.15.11, from 6.16 before 6.16.2NVD
debian debian_linux11.0NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: hfsplus: no usar BUG_ON() en hfsplus_create_attributes_file() Cuando 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.

References

https://git.kernel.org/stable/c/bb0eea8e375677f586ad11c12e2525ed3fc698c2patch
https://git.kernel.org/stable/c/9046566fa692f88954dac8c510f37ee17a15fdb7patch
https://git.kernel.org/stable/c/03cd1db1494cf930e2fa042c9c13e32bffdb4ebapatch
https://git.kernel.org/stable/c/dee5c668ad71ddbcb4b48d95e8a4f371314ad41dpatch
https://git.kernel.org/stable/c/b3359392b75395a31af739a761f48f4041148226patch
https://git.kernel.org/stable/c/1bb8da27ff15e346d4bc9e248e819c9a88ebf9d6patch
https://git.kernel.org/stable/c/d768e3ed430e89a699bf89d3214dcbbf4648c939patch
https://git.kernel.org/stable/c/ce5e387f396cbb5c061d9837abcac731e9e06f4dpatch
https://git.kernel.org/stable/c/c7c6363ca186747ebc2df10c8a1a51e66e0e32d9patch
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlmailing-list, third-party-advisory
https://lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlmailing-list, third-party-advisory
https://cert-portal.siemens.com/productcert/html/ssa-032379.html

Sources

SourceRecordLicence
CVE ListCVE-2025-38712 changed 2026-05-12CVE Terms of Use
NVDCVE-2025-38712 changed 2026-10-19Public domain