CVE-2026-143194

Not scored yetLast modified Dec 3, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

sched_ext: Reject DSQ iterator kfuncs in tracing programs

bpf_iter_scx_dsq_next() and bpf_iter_scx_dsq_destroy() take the target user DSQ's raw spinlock, but they are 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 the iterator kfuncs 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 bpf_iter_scx_dsq_new(dsq_id) bpf_for_each(scx_dsq, p, dsq_id, 0) bpf_iter_scx_dsq_next(it) 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 the two iterator kfuncs from tracing programs at verification time. The kfuncs remain available to SCX struct_ops and syscall programs. bpf_iter_scx_dsq_destroy() has no independent live reproduction: its cursor only links into the DSQ after at least one successful next(), which deadlocks in the same window first. It is included for symmetry.

This extends the coverage of commit b07a7450f6ef ("sched_ext: Reject rq-lock-taking kfuncs in tracing programs") and commit 4c2e0751d5e6 ("sched_ext: Reject scx_bpf_destroy_dsq() in tracing programs").

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143195In the Linux kernel, the following vulnerability has been resolved: igmp: use the joined device when leaving a multicast group When a sockCVE-2026-143196In the Linux kernel, the following vulnerability has been resolved: net/mlx5: HWS, fix flow meter release on FTE update HWS has no duplicaCVE-2026-143197In the Linux kernel, the following vulnerability has been resolved: tun: disallow setting IEEE 802.15.4 and 6LoWPAN link types via TUNSETLICVE-2026-143198In the Linux kernel, the following vulnerability has been resolved: net: ena: Keep the RX buffer mapped if skb allocation fails We are seeCVE-2026-143199In the Linux kernel, the following vulnerability has been resolved: tcp: Drop any segments if DEFER_CONNECT is set. TCP Fast Open lets a cCVE-2026-14329.3SQL injection vulnerability in the Buroweb platform version 2505.0.12, specifically in the 'tablon' component. This vulnerability is presentCVE-2026-143200In the Linux kernel, the following vulnerability has been resolved: erofs: reset buf->off in erofs_init_metabuf() erofs_init_metabuf() setCVE-2026-143201In the Linux kernel, the following vulnerability has been resolved: net: gro: compare skb->protocol in gro_list_prepare() gro_list_prepareCVE-2026-143202In the Linux kernel, the following vulnerability has been resolved: udp: do not use a cross-family sk_rx_dst in early demux A dual-stack UCVE-2026-143203In the Linux kernel, the following vulnerability has been resolved: tcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPCVE-2026-143204In the Linux kernel, the following vulnerability has been resolved: tcp: Do not allow buggy transitions between ehash and lhash2. The follCVE-2026-143205In the Linux kernel, the following vulnerability has been resolved: fou: gue: check IP version of held packets for direct IP encapsulation
CVE-2026-143194: Unscored | Vulnix