PT-2026-167181
CVE-2026-143323
·
Publicado
2026-12-03
·
Atualizado
2026-12-03
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:
sched ext: Reject scx bpf destroy dsq() in tracing programs
scx bpf destroy dsq() takes the target user DSQ's raw spinlock. However,
it is in scx kfunc ids any, which is also registered for
BPF PROG TYPE TRACING.
For an active root scheduler without ops.sub attach, the compatibility
path in scx prog sched() lets an unassociated tracing program resolve to
that scheduler. The tracing program can then call
scx bpf destroy dsq() while the target DSQ lock is already held.
For example, a scheduler which mixes FIFO and priority-queue insertions
into a user DSQ triggers scx error() from scx dispatch enqueue() while
holding that DSQ's lock. scx claim exit() emits sched ext exit before
the lock is released:
scx dispatch enqueue()
raw spin lock(&dsq->lock)
scx error()
scx claim exit()
trace sched ext exit()
tracing BPF program
scx bpf destroy dsq(dsq id)
destroy dsq()
raw spin lock irqsave(&dsq->lock)
The tracing program recursively acquires the same raw spinlock and locks
up the CPU. Because the tracepoint runs before scx finish exit(),
disable irq work is not queued and the scheduler cannot enter its normal
disable path.
Reject scx bpf destroy dsq() from tracing programs at verification time.
The kfunc remains available to SCX struct ops and syscall programs.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾