PT-2026-162805
CVE-2026-99838
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
Descrição por
Pontuação
N/A
Não disponívelNã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:
apparmor: fix refcount leak in aa get newest profile()
The labels profile() macro is evaluating its argument twice
#define labels profile(X) ((X)->vec[(X)->size - 1])
unfortunately aa get newest profile() passes
aa get newest label(&p->label)
so every call to aa get newest profile results in 2 refcounts
being taken with one being leaked.
There is no need for labels profile() to be a macro. Convert it to
an inline fn, which ensures all uses are passing the correct struct
and removes the double evaluation.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾