PT-2026-163032

CVE-2026-138991

·

تاريخ النشر

2026-11-30

·

تاريخ التحديث

2026-11-30

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

In the Linux kernel, the following vulnerability has been resolved:
md: validate bblog size when loading v1.x badblocks metadata
In super 1 load(), when the on-disk feature map does not have MD FEATURE BAD BLOCKS set but sb->bblog offset is non-zero, rdev->badblocks.shift is initialized to 0 without validating sb->bblog size. The same field is validated in the MD FEATURE BAD BLOCKS branch ("sectors > (PAGE SIZE / 512)"), but this branch bypasses that check.
A forged on-disk superblock (malicious storage device or crafted image) can therefore carry an oversized sb->bblog size. When bad blocks are later recorded, super 1 sync() sets bb->size from sb->bblog size and md write metadata() issues a bio larger than the single rdev->bb page, reading beyond the page and leaking kernel memory contents to disk.
sb->bblog size is never modified by the kernel between load and sync, and the MD FEATURE BAD BLOCKS branch already validates it, so checking it in this branch is sufficient to cover both paths.
Fix this by rejecting an oversized sb->bblog size with -EINVAL, matching the existing check in the MD FEATURE BAD BLOCKS branch.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾