CVE-2026-139332
publishedbpf: Claim the per-CPU send_signal irq_work before filling it
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 to < 411e337da595b592a50889c3f993589cafc657e9 · 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 to < e9bb3295cf2119f0625c4fcba78e8779565e3e58 · 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 to < 2c34c23342d3a8d4ea034d914bc3b528fa00fbf4 · 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 to < 2d1f101ee619435873ed8a23fcb3bd09204a5024 · fd29a0242f86b2d95ad666aa9f92a3d0f7bfdab6 · 7930d01afb7281edd9782971e0cca6fe587c7a7b · 5.4.33 to < 5.5 · 5.5.18 to < 5.6 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.6 (affected) · 0 to < 5.6 (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Claim the per-CPU send_signal irq_work before filling it irq_work_is_busy() cannot see the per-CPU send_signal_work while it is being filled: the check only matches after irq_work_queue() has claimed the work. A concurrent caller therefore passes it, both callers race for the same irq_work, and the loser's signal is silently lost along with its task reference while the queued work runs with a mix of both callers' fields. kprobe, tracepoint and perf_event programs exclude each other on the same CPU through bpf_prog_active, so for two callers to meet, one of the programs has to be a raw tracepoint or an fentry one. And since commit 87c544108b61 ("bpf: Send signals asynchronously if !preemptible") this path runs with IRQs enabled too, so a hard IRQ can interrupt the fill as well, not only an NMI. Found by code inspection and reproduced with a perf_event NMI program racing an fentry one. Claim the work through work->task itself: cmpxchg() it from NULL to the target task before touching the other fields, and set it back to NULL once the callback has consumed them. A context finding the work claimed returns the documented -EBUSY.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for 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 | 1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 to < 411e337da595b592a50889c3f993589cafc657e9 (affected · git)1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 to < e9bb3295cf2119f0625c4fcba78e8779565e3e58 (affected · git)1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 to < 2c34c23342d3a8d4ea034d914bc3b528fa00fbf4 (affected · git)1bc7896e9ef44fd77858b3ef0b8a6840be3a4494 to < 2d1f101ee619435873ed8a23fcb3bd09204a5024 (affected · git)fd29a0242f86b2d95ad666aa9f92a3d0f7bfdab6 (affected · git)7930d01afb7281edd9782971e0cca6fe587c7a7b (affected · git)5.4.33 to < 5.5 (affected · semver)5.5.18 to < 5.6 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.6 (affected)0 to < 5.6 (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
bpf: Claim the per-CPU send_signal irq_work before filling it
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d47fc1041866bdb1dd05ffd80c39630ed115e7e415010a43798dba318b41bc7d
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record