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 package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 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_kernel | from 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.2 | NVD |
| debian debian_linux | 11.0 | NVD |
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38712 changed 2026-05-12 | CVE Terms of Use |
| NVD | CVE-2025-38712 changed 2026-10-19 | Public domain |