PT-2026-163047

CVE-2026-139006

·

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: track disks array size to fix extra page leak on error paths
free conf() iterates conf->pool size entries to free extra page allocations, but pool size may not reflect the actual size of the conf->disks array. Two scenarios cause a mismatch:
  1. setup conf() early abort: pool size is 0 (not yet set by grow stripes) but conf->disks has max disks entries with extra page allocated. The loop iterates 0 times, leaking all pages.
  2. resize stripes() Step 4 failure: conf->disks was replaced with a newsize-entry array in Step 3, but pool size is only updated on success. The loop iterates pool size (old, smaller value) times, leaking (newsize - pool size) pages.
Add a dedicated disks cnt field to track the actual number of entries in conf->disks. Set it immediately after each allocation or replacement (in setup conf and resize stripes Step 3, where the array is safely stalled with no concurrent access), and use it in free conf() instead of pool size.
This leaves pool size untouched, preserving the check reshape() retry behavior that depends on pool size only being updated on full success.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾