PT-2026-162756

CVE-2026-138896

·

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: hugetlb: return -ENOSPC on memcg charge failure
Patch series "Fix bugs in HugeTLB allocation when mem cgroup charge hugetlb() fails", v2.
In hugetlb alloc folio(), when mem cgroup charge hugetlb() fails, there are 2 issues:
  1. free huge folio() expects a non-refcounted folio and will VM BUG ON FOLIO().
  2. -ENOMEM is returned, causing an infinite loop retrying the fault.
This patch (of 2):
When mem cgroup charge hugetlb() fails with -ENOMEM, alloc hugetlb folio() currently propagates this error. This results in the page fault handler returning VM FAULT OOM.
Because HugeTLB allocations are high-order and use GFP RETRY MAYFAIL, they bypass the OOM killer. Returning VM FAULT OOM to the #PF handler without triggering the OOM killer (or having it make progress) leads to an infinite loop of retrying the fault.
Avoid this loop by returning -ENOSPC when charging fails, which maps to VM FAULT SIGBUS, terminating the process cleanly.
Make mem cgroup charge hugetlb() fault handling use a common error handling path, the same handling used for hugetlb cgroup uncharge cgroup{, rsvd}(), which also don't trigger the OOM killer and hence opt to terminate the process with a SIGBUS.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾