{"id":"CVE-2026-43228","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-05-06T12:16:42.710","lastModified":"2026-11-11T20:10:00.273","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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>"},{"lang":"es","value":"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>"}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/hfs/dir.c","fs/hfs/hfs_fs.h","fs/hfs/inode.c","fs/hfs/mdb.c","fs/hfs/super.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"a06ec283e125e334155fe13005c76c9f484ce759","lessThan":"559f856b109c45844816a1693e259f93d3556c61","versionType":"git","status":"affected"},{"version":"a06ec283e125e334155fe13005c76c9f484ce759","lessThan":"b6536c1ced315fa645576d3a39c6e07f2a472962","versionType":"git","status":"affected"},{"version":"a06ec283e125e334155fe13005c76c9f484ce759","lessThan":"b226804532a875c10276168dc55ce752944096bd","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/hfs/dir.c","fs/hfs/hfs_fs.h","fs/hfs/inode.c","fs/hfs/mdb.c","fs/hfs/super.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.18","status":"affected"},{"version":"0","lessThan":"6.18","versionType":"semver","status":"unaffected"},{"version":"6.18.57","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"6.19.6","lessThanOrEqual":"6.19.*","versionType":"semver","status":"unaffected"},{"version":"7.0","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-617"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.19.6","matchCriteriaId":"4B8DEC15-D63A-48FF-9525-4CAB1A20C19D"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/559f856b109c45844816a1693e259f93d3556c61","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b226804532a875c10276168dc55ce752944096bd","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b6536c1ced315fa645576d3a39c6e07f2a472962","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}