{"id":"CVE-2026-43228","aliases":["CVE-2026-43228"],"related":[],"kind":"vulnerability","state":"published","title":"hfs: Replace BUG_ON with error handling for CNID count checks","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nhfs: Replace BUG_ON with error handling for CNID count checks\n\nIn a06ec283e125 next_id, folder_count, and file_count in the super block\ninfo were expanded to 64 bits, and BUG_ONs were added to detect\noverflow. This triggered an error reported by syzbot: if the MDB is\ncorrupted, the BUG_ON is triggered. This patch replaces this mechanism\nwith proper error handling and resolves the syzbot reported bug.\n\nSinged-off-by: Jori Koolstra <jkoolstra@xs4all.nl>","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nhfs: Replace BUG_ON with error handling for CNID count checks\n\nIn a06ec283e125 next_id, folder_count, and file_count in the super block\ninfo were expanded to 64 bits, and BUG_ONs were added to detect\noverflow. This triggered an error reported by syzbot: if the MDB is\ncorrupted, the BUG_ON is triggered. This patch replaces this mechanism\nwith proper error handling and resolves the syzbot reported bug.\n\nSinged-off-by: Jori Koolstra <jkoolstra@xs4all.nl>","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nhfs: Reemplazar BUG_ON con manejo de errores para las comprobaciones de recuento de CNID\n\nEn 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.\n\nFirmado por: Jori Koolstra <jkoolstra@xs4all.nl>","source":"nvd"}],"published":"2026-05-06T11:28:26.292Z","modified":"2026-11-11T20:10:00.273Z","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":"a06ec283e125e334155fe13005c76c9f484ce759","fixed":"559f856b109c45844816a1693e259f93d3556c61","status":"affected"},{"type":"git","introduced":"a06ec283e125e334155fe13005c76c9f484ce759","fixed":"b6536c1ced315fa645576d3a39c6e07f2a472962","status":"affected"},{"type":"git","introduced":"a06ec283e125e334155fe13005c76c9f484ce759","fixed":"b226804532a875c10276168dc55ce752944096bd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.6","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","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":"6.18","fixed":"6.19.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/559f856b109c45844816a1693e259f93d3556c61","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b6536c1ced315fa645576d3a39c6e07f2a472962","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b226804532a875c10276168dc55ce752944096bd","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43228","url":"https://www.cve.org/CVERecord?id=CVE-2026-43228","licence":"CVE Terms of Use","modified":"2026-10-15T10:07:13.116Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43228","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43228","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:20.739Z","epss":{"score":0.00126,"percentile":0.02486,"date":"2026-12-01T12:00:22.000Z"}}