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>
CVE-2026-43228 addresses a vulnerability in the Linux kernel's HFS filesystem implementation where BUG_ON assertions could be triggered by corrupted MDB (Master Directory Block) data, causing kernel panics. The fix replaces these assertions with proper error handling to gracefully manage corrupted filesystem metadata.
تؤثر هذه الثغرة على برنامج تشغيل نظام ملفات HFS في نوى Linux حيث يمكن لبيانات MDB التالفة أن تؤدي إلى توقف النواة من خلال تأكيدات BUG_ON. يتم حل الثغرة بتطبيق معالجة أخطاء مناسبة بدلاً من التأكيدات لكشف فيض عدد CNID.
This CVE affects the HFS filesystem driver in Linux kernels, where corrupted filesystem metadata can trigger kernel panics through BUG_ON assertions. The vulnerability is resolved by implementing proper error handling instead of assertions for CNID count overflow detection.
Update the Linux kernel to a patched version that includes proper error handling for HFS filesystem CNID count checks instead of BUG_ON assertions. Organizations should apply kernel security updates from their distribution maintainers and verify filesystem integrity tools are available for detecting corrupted HFS metadata.
قم بتحديث نواة Linux إلى إصدار مصحح يتضمن معالجة أخطاء مناسبة لفحوصات عدد CNID في نظام ملفات HFS بدلاً من تأكيدات BUG_ON. يجب على المؤسسات تطبيق تحديثات أمان النواة من موزعي التوزيعات الخاصة بهم والتحقق من توفر أدوات التحقق من سلامة نظام الملفات.