CVE-2026-43228 hfs: Replace BUG_ON with error handling for CNID count checks
A corrupted HFS filesystem image triggers a kernel panic via BUG_ON, causing a denial of service; system administrators should apply kernel patches.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-43228?
CVE-2026-43228 is a medium-severity denial of service vulnerability in Linux kernel, published on 6 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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 <[email protected]>
Weakness: CWE-617
Which versions are affected by CVE-2026-43228?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-43228?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-43228 being exploited?
There is no known exploitation of CVE-2026-43228 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-43228, DEBIAN-CVE-2026-43228, GHSA-g4p6-4x9w-qfq5, ROOT-OS-DEBIAN-11-CVE-2026-43228, ROOT-OS-DEBIAN-12-CVE-2026-43228, ROOT-OS-DEBIAN-13-CVE-2026-43228 and 3 more.