PT-2026-163350

CVE-2026-139309

·

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:
bpf: Bound the nesting that the BTF show code follows
btf struct show() and btf array show() recurse for every nested struct and array. MAX RESOLVE DEPTH bounds one resolve walk when BTF is loaded, not the nesting: a member whose type is resolved already is not walked again, so BTF that defines its types from the inside out can nest them as deep as it has types.
Whoever may load BTF, with CAP BPF or a BPF token, can give such a type to the value of a map. Reading the file of that map in bpffs then overruns the kernel stack: with a few hundred levels the stack guard page is hit and the kernel panics.
Stop at 32 levels. That is MAX RESOLVE DEPTH, and btf show indent() has as many columns. Nothing is shown for a member that lies deeper, and the status becomes -E2BIG, which bpf snprintf btf() and bpf seq printf btf() return. The types of an x86 64 defconfig kernel nest 14 deep.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾