← CVE Intelligence

CVE-2026-43228

hfs: Replace BUG_ON with error handling for CNID count checks PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected a06ec283e125e334155fe13005c76c9f484ce759 before 559f856b109c45844816a1693e259f93d3556c61; affected a06ec283e125e334155fe13005c76c9f484ce759 before b6536c1ced315fa645576d3a39c6e07f2a472962; affected a06ec283e125e334155fe13005c76c9f484ce759 before b226804532a875c10276168dc55ce752944096bd
Linux / Linuxaffected 6.18; unaffected 0 before 6.18; unaffected 6.18.57 through 6.18.*; unaffected 6.19.6 through 6.19.*; unaffected 7.0 through *

CWE

No CWE identifiers supplied.

References