PT-2026-162620

CVE-2026-100038

·

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:
alpha: run check mmu context() from finish arch post lock switch()
check mmu context() clears asn lock and acts on need new asn, but it runs only as the tail of switch to(), after alpha switch to() returns.
A newly forked user task never gets there: its first context switch resumes at ret from fork and reaches schedule tail() without returning to the code following alpha switch to().
asn lock is left set on that CPU, so the new user task can run with interrupts enabled while shootdown IPIs keep taking the deferred path. The handshake meant to complete those invalidations never runs.
New kernel threads also reach schedule tail(), but context switch() does not call switch mm() for a task without an mm. They therefore do not set asn lock in the first place and are not affected by this bug.
Move check mmu context() to finish arch post lock switch(), which is called by finish task switch() for both existing and newly created tasks. Drop the now redundant call from switch to().
The hook runs after finish lock switch() releases the rq lock and enables interrupts. An IPI arriving before asn lock is cleared retires the slot through flush tlb other(); an IPI arriving afterwards can flush directly, since PAL swpctx has already installed the incoming context.
Set need new asn whether ev5 switch mm() reuses or allocates an ASN. An IPI in that interval can zero either slot. Without this, the allocated case can return to user space with a live ASN but a zero context slot, which a later context-based shootdown shortcut could mistake for an inactive CPU. check mmu context() reloads only when the slot is zero.
Call the hook unconditionally. Alpha selects ARCH NO PREEMPT, and neither kthread use mm() nor sched force init mm() sleeps between the direct switch and this hook. RCU STRICT GRACE PERIOD can enable PREEMPT COUNT, but cannot make those callers migrate there. Testing preemptible() would only leave asn lock set in that configuration.
This requires the preceding direct-switch fix, "alpha: load the MMU context when switch mm() switches the current task". It installs the borrowed context before kthread use mm() reaches this hook, so clearing asn lock cannot expose a targeted invalidate against the wrong context.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾