CVE-2026-23311
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
25/03/2026
Last modified:
25/03/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
perf/core: Fix invalid wait context in ctx_sched_in()<br />
<br />
Lockdep found a bug in the event scheduling when a pinned event was<br />
failed and wakes up the threads in the ring buffer like below.<br />
<br />
It seems it should not grab a wait-queue lock under perf-context lock.<br />
Let&#39;s do it with irq_work.<br />
<br />
[ 39.913691] =============================<br />
[ 39.914157] [ BUG: Invalid wait context ]<br />
[ 39.914623] 6.15.0-next-20250530-next-2025053 #1 Not tainted<br />
[ 39.915271] -----------------------------<br />
[ 39.915731] repro/837 is trying to lock:<br />
[ 39.916191] ffff88801acfabd8 (&event->waitq){....}-{3:3}, at: __wake_up+0x26/0x60<br />
[ 39.917182] other info that might help us debug this:<br />
[ 39.917761] context-{5:5}<br />
[ 39.918079] 4 locks held by repro/837:<br />
[ 39.918530] #0: ffffffff8725cd00 (rcu_read_lock){....}-{1:3}, at: __perf_event_task_sched_in+0xd1/0xbc0<br />
[ 39.919612] #1: ffff88806ca3c6f8 (&cpuctx_lock){....}-{2:2}, at: __perf_event_task_sched_in+0x1a7/0xbc0<br />
[ 39.920748] #2: ffff88800d91fc18 (&ctx->lock){....}-{2:2}, at: __perf_event_task_sched_in+0x1f9/0xbc0<br />
[ 39.921819] #3: ffffffff8725cd00 (rcu_read_lock){....}-{1:3}, at: perf_event_wakeup+0x6c/0x470



