PT-2026-162881

CVE-2026-99914

·

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:
mm/mremap: populate calculated fields in vrm state correctly
Commit d5c8aec0542e ("mm/mremap: initial refactor of move vma()") introduced the vma remap struct helper to pass state sanely through mremap() logic.
Part of this state is vrm->delta - equal to the absolute difference between vrm->old len and vrm->new len (the old and new lengths of the VMA, respectively).
This value is used to correctly charge accounted VMAs.
When shrinking a VMA, mremap to() sets vrm->old len equal to vrm->new len having performed the shrink of the VMA first, prior to any potential move (e.g. MREMAP FIXED | MREMAP MAYMOVE specified).
However it does not recalculate vrm->delta, which results in incorrectly overcharging the VMA when both moving and shrinking a VMA.
The charge leaks to Committed AS globally, meaning a mischievous user can cause allocations to fail across the system in strict overcommit mode.
Resolve the issue by abstracting the update of vrm->delta to vrm populate calculated() and invoking this from mremap to() when vrm->old len is changed.
Additionally, update vrm->remap type whose value depends on vrm->delta. The field is not read again after the shrink, but it is the logically correct thing to do and protects against future changes which break this.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾