CVE-2026-43228
JSON

5.5medium

hfs: Replace BUG_ON with error handling for CNID count checks

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

Description

In the Linux kernel, the following vulnerability has been resolved: hfs: Replace BUG_ON with error handling for CNID count checks In a06ec283e125 next_id, folder_count, and file_count in the super block info were expanded to 64 bits, and BUG_ONs were added to detect overflow. This triggered an error reported by syzbot: if the MDB is corrupted, the BUG_ON is triggered. This patch replaces this mechanism with proper error handling and resolves the syzbot reported bug. Singed-off-by: Jori Koolstra <jkoolstra@xs4all.nl>

Affected

Product or packageVersionsReported by
Linux Linuxfrom a06ec283e125e334155fe13005c76c9f484ce759 before 559f856b109c45844816a1693e259f93d3556c61, from a06ec283e125e334155fe13005c76c9f484ce759 before b6536c1ced315fa645576d3a39c6e07f2a472962, from a06ec283e125e334155fe13005c76c9f484ce759 before b226804532a875c10276168dc55ce752944096bd, 6.18
Not affected: before 6.18, from 6.18.57 up to 6.18.*, from 6.19.6 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.18 before 6.19.6NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: hfs: Replace BUG_ON with error handling for CNID count checks In a06ec283e125 next_id, folder_count, and file_count in the super block info were expanded to 64 bits, and BUG_ONs were added to detect overflow. This triggered an error reported by syzbot: if the MDB is corrupted, the BUG_ON is triggered. This patch replaces this mechanism with proper error handling and resolves the syzbot reported bug. Singed-off-by: Jori Koolstra <jkoolstra@xs4all.nl>

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: hfs: Reemplazar BUG_ON con manejo de errores para las comprobaciones de recuento de CNID En a06ec283e125, next_id, folder_count y file_count en la información del superbloque se expandieron a 64 bits, y se añadieron BUG_ON para detectar desbordamiento. Esto desencadenó un error reportado por syzbot: si el MDB está corrupto, el BUG_ON se desencadena. Este parche reemplaza este mecanismo con un manejo de errores adecuado y resuelve el error reportado por syzbot. Firmado por: Jori Koolstra <jkoolstra@xs4all.nl>

References

Sources

SourceRecordLicence
CVE ListCVE-2026-43228 changed 2026-10-15CVE Terms of Use
NVDCVE-2026-43228 changed 2026-11-11Public domain