CVE-2026-23311
publishedperf/core: Fix invalid wait context in ctx_sched_in()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf4b07fd62d4d11d57a15cb4ae01b3833282eb8f6 to < c67ab059953e3b66cb17ddd6524c23f9e1f6526d · f4b07fd62d4d11d57a15cb4ae01b3833282eb8f6 to < 825f218ca70ef394c2b8546b313711d867b24584 · f4b07fd62d4d11d57a15cb4ae01b3833282eb8f6 to < 486ff5ad49bc50315bcaf6d45f04a33ef0a45ced · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.18.17 through 6.18.* (unaffected · semver) · 6.19.7 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1596 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-1596 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-1596 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-1596 |
Description
In the Linux kernel, the following vulnerability has been resolved: perf/core: Fix invalid wait context in ctx_sched_in() Lockdep found a bug in the event scheduling when a pinned event was failed and wakes up the threads in the ring buffer like below. It seems it should not grab a wait-queue lock under perf-context lock. Let's do it with irq_work. [ 39.913691] ============================= [ 39.914157] [ BUG: Invalid wait context ] [ 39.914623] 6.15.0-next-20250530-next-2025053 #1 Not tainted [ 39.915271] ----------------------------- [ 39.915731] repro/837 is trying to lock: [ 39.916191] ffff88801acfabd8 (&event->waitq){....}-{3:3}, at: __wake_up+0x26/0x60 [ 39.917182] other info that might help us debug this: [ 39.917761] context-{5:5} [ 39.918079] 4 locks held by repro/837: [ 39.918530] #0: ffffffff8725cd00 (rcu_read_lock){....}-{1:3}, at: __perf_event_task_sched_in+0xd1/0xbc0 [ 39.919612] #1: ffff88806ca3c6f8 (&cpuctx_lock){....}-{2:2}, at: __perf_event_task_sched_in+0x1a7/0xbc0 [ 39.920748] #2: ffff88800d91fc18 (&ctx->lock){....}-{2:2}, at: __perf_event_task_sched_in+0x1f9/0xbc0 [ 39.921819] #3: ffffffff8725cd00 (rcu_read_lock){....}-{1:3}, at: perf_event_wakeup+0x6c/0x470
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | f4b07fd62d4d11d57a15cb4ae01b3833282eb8f6 to < c67ab059953e3b66cb17ddd6524c23f9e1f6526d (affected · git)f4b07fd62d4d11d57a15cb4ae01b3833282eb8f6 to < 825f218ca70ef394c2b8546b313711d867b24584 (affected · git)f4b07fd62d4d11d57a15cb4ae01b3833282eb8f6 to < 486ff5ad49bc50315bcaf6d45f04a33ef0a45ced (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.18.17 through 6.18.* (unaffected · semver)6.19.7 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
perf/core: Fix invalid wait context in ctx_sched_in()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 775d46906a7040ec4474790d1b725e866a1b3f35b0d329bf3346c5fbf8ef3b5e
- Ingested
- 23 Sep 2026, 09:05:46 UTC
- Source record
- Official CVE record