PT-2026-160684
CVE-2026-104928
·
Publicado
2026-11-27
·
Atualizado
2026-11-27
Descrição por
CVSS 3.1
2.8
BaixaMétricasAV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
The system call verifier z vrfy k thread stack space get() in kernel/thread.c checked the result of K SYSCALL OBJ(thread, K OBJ THREAD) with the CHECKIF() macro instead of K OOPS(). CHECKIF() compiles to if (0) when CONFIG NO RUNTIME CHECKS is selected, and becomes an assertion when CONFIG ASSERT ON ERRORS is selected. In both cases, the kernel-object validation result for the user-supplied thread pointer is ignored, or is a no-op when assertions are disabled.
On builds with CONFIG USERSPACE, CONFIG INIT STACKS and CONFIG THREAD STACK INFO plus one of those check modes, a user-mode thread can call k thread stack space get() with an arbitrary pointer. That pointer can be a fake struct k thread in its own memory, or a thread object it has no permission on. z impl k thread stack space get() then dereferences thread->stack info in supervisor mode and scans memory starting at the attacker-chosen stack info.start.
The syscall returns the number of leading 0xAA bytes at that address. This gives an unprivileged thread a limited oracle on arbitrary kernel or peripheral memory, and allows privileged reads of attacker-selected addresses, including MMIO. No write primitive results. The default CONFIG RUNTIME ERROR CHECKS configuration is not affected. The fix replaces the CHECKIF() with K OOPS() so the object check is always enforced.
Explorabilidade
Correção
Impactos
Fornecedores
Produtos afetados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾