PT-2026-167222

CVE-2026-143364

·

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:
bpf: Clamp the trace length before the skip test in stackid init()
stackid init() gives a bucket of the stack map min(trace nr - skip, max depth - skip) trace entries. Here max depth is the size of a bucket plus skip, but at most perf event max stack. Context markers can make trace nr larger than that, so the skip test can pass when max depth < skip. Then 'max depth - skip' wraps, and the kernel can write after the bucket.
Clamp trace nr to max depth before the skip test, as bpf get stack pe() does. The result changes only when skip >= max depth. Then it is -EFAULT. Until now skip == max depth could give the id of an empty trace.
get perf callchain() releases the trace, so an NMI can change trace->nr. Use READ ONCE() in bpf get stackid(), so the compiler reads it one time.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾