hfs: Replace BUG_ON with error handling for CNID count checks
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b226804532a875c10276168dc55ce752944096bd, Kernel b6536c1ced315fa645576d3a39c6e07f2a472962, Kernel 6.19.6 and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.18, >=a06ec283e125e334155fe13005c76c9f484ce759 <b226804532a875c10276168dc55ce752944096bd, >=a06ec283e125e334155fe13005c76c9f484ce759 <b6536c1ced315fa645576d3a39c6e07f2a472962, >=6.18 <6.19.6, >=a06ec283e125e334155fe13005c76c9f484ce759 <559f856b109c45844816a1693e259f93d3556c61 | b226804532a875c10276168dc55ce752944096bd, b6536c1ced315fa645576d3a39c6e07f2a472962, 6.19.6, 559f856b109c45844816a1693e259f93d3556c61 |
| linux-kernel: Kernel | >=6.18.0 <6.18.57, >=6.19.0 <6.19.6 | 6.18.57, 6.19.6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket