PT-2026-167181
CVE-2026-143323
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾