hfs: Replace BUG_ON with error handling for CNID count checks
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.57, 6.19.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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>
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From a06ec283e125e334155fe13005c76c9f484ce759 · fixed in 559f856b109c45844816a1693e259f93d3556c61; From a06ec283e125e334155fe13005c76c9f484ce759 · fixed in b6536c1ced315fa645576d3a39c6e07f2a472962; From a06ec283e125e334155fe13005c76c9f484ce759 · fixed in b226804532a875c10276168dc55ce752944096bd
- Linux Linux
6.18
- KernelLinux
From 6.18.0 · fixed in 6.18.57; From 6.19.0 · fixed in 6.19.6