PT-2026-163032

CVE-2026-138991

·

Publicado

2026-11-30

·

Atualizado

2026-11-30

Descrição por

Pontuação
N/A
Não disponível

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.

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.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾