CVE-2026-43228·Kernel vulnerability
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>
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.19.6
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.16% — higher than 5% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.18
Until: 6.19.6
Fixed in: 6.19.6
How to fix this CVE
Update your Linux kernel to version 6.19.6 or later to patch the HFS filesystem handling vulnerability. This update replaces unsafe BUG_ON assertions with proper error handling that prevents kernel panics when corrupted HFS metadata is encountered. Prioritize this update for systems that may process untrusted HFS filesystems or disk images.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check current kernel version with `uname -r` and compare against 6.19.6 (vulnerable if between 6.18 and 6.19.5)
- Step 2: Verify HFS filesystem support is compiled in the running kernel with `grep HFS /boot/config-$(uname -r)` or `cat /proc/filesystems | grep hfs`
- Step 3: Search kernel logs for HFS-related BUG_ON panics using `dmesg | grep -i 'hfs\|cnid\|folder_count\|file_count' | grep -i 'bug\|panic'`
- Step 4: After patching, confirm kernel version is 6.19.6+ with `uname -r` and reboot to activate the fix
FAQ
What is CVE-2026-43228?
This vulnerability exists in the Linux kernel's HFS filesystem handler, where corrupted metadata values (specifically CNID counters) could trigger kernel panics via BUG_ON assertions instead of being gracefully rejected. The fix implements proper validation and error reporting for malformed filesystem structures.
Is CVE-2026-43228 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog, and no public exploits are currently available. However, it can be triggered by processing maliciously crafted or corrupted HFS disk images.
What versions of Kernel are affected by CVE-2026-43228?
Linux kernel versions from 6.18 through 6.19.5 are vulnerable. Version 6.19.6 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-43228?
Run `uname -r` to display your kernel version. If the output shows a version between 6.18 and 6.19.5, your system is vulnerable.
Does Defensia detect CVE-2026-43228?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-43228 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-43228. Free for 1 server.
Get started free