PT-2026-166562

CVE-2026-142839

·

Publicado

2026-12-03

·

Atualizado

2026-12-03

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:
platform/x86: hp-wmi: fix heap OOB read and memory corruption in hp wmi perform query()
hp wmi perform query() evaluates an ACPI WMI method and expects a struct bios return header in the returned buffer. However, it only checks that the ACPI object type is ACPI TYPE BUFFER without verifying that obj->buffer.length is at least sizeof(*bios return) (8 bytes).
If the firmware or ACPI method returns a buffer shorter than 8 bytes:
  1. bios return->return code at offset 4 reads out of bounds from the allocated ACPI buffer slab.
  2. If return code evaluates to 0 and outsize is non-zero, (int)(obj->buffer.length - sizeof(*bios return)) evaluates to a negative integer (e.g. -8 for a 0-length buffer). actual outsize is set to this negative value and passed to memcpy(buffer, ..., actual outsize), where the signed negative value is cast to size t (e.g. 0xfffffffffffffff8), attempting to copy ~18 Exabytes and triggering an immediate kernel crash. Additionally, memset(buffer + actual outsize, ...) performs an out-of-bounds write before buffer.
Fix this by ensuring obj->buffer.length is at least sizeof(*bios return) before accessing the return code, and compute actual outsize safely using min t(u32, ...), which is sound specifically because the guard above already rules out obj->buffer.length being smaller than sizeof(*bios return) by the time that subtraction runs.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾