PT-2026-163720

CVE-2026-139679

·

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/raid5: reject a per-device size smaller than one chunk
Both raid5 run() and raid5 resize() align the per-device size down to a whole multiple of the chunk size:
mddev->dev sectors &= ~(chunk sectors - 1);
Neither checks the result, so a size smaller than one chunk silently becomes zero.
In raid5 run() that is harmless: the array size is derived from the same zero, so the disk just ends up with no capacity.
In raid5 resize() it leaves the array inconsistent -- mddev->dev sectors becomes zero, while mddev->array sectors and the gendisk capacity keep the previous. A later raid4/raid5 -> raid0 takeover copies the zero into every rdev->sectors (raid0 takeover raid45()), so create strip zones() builds a strip zone table whose zone end is zero. Any read then passes bio check eod() against the stale capacity and hits the BUG() in find zone():
kernel BUG at drivers/md/raid0.c:318! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI Call Trace: raid0 make request md handle request submit bio noacct nocheck block read full folio read part sector bdev disk changed bdev open
Reject a size smaller than one chunk in both functions, so that a running raid4/raid5 array always has mddev->dev sectors >= one chunk.
The check is done where the value takes effect, not where it is assigned. mddev->dev sectors is written from several places, and none of them can tell whether the value is usable: the chunk size may still change later. raid5 run() and raid5 resize() are where every input is final, so one check in each covers them all.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾