{"id":"CVE-2026-139332","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:18:57.900","lastModified":"2026-11-30T14:18:57.900","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Claim the per-CPU send_signal irq_work before filling it\n\nirq_work_is_busy() cannot see the per-CPU send_signal_work while\nit is being filled: the check only matches after irq_work_queue()\nhas claimed the work. A concurrent caller therefore passes it, both\ncallers race for the same irq_work, and the loser's signal is\nsilently lost along with its task reference while the queued work\nruns with a mix of both callers' fields.\n\nkprobe, tracepoint and perf_event programs exclude each other on\nthe same CPU through bpf_prog_active, so for two callers to meet,\none of the programs has to be a raw tracepoint or an fentry one.\nAnd since commit 87c544108b61 (\"bpf: Send signals asynchronously\nif !preemptible\") this path runs with IRQs enabled too, so a hard\nIRQ can interrupt the fill as well, not only an NMI. Found by code\ninspection and reproduced with a perf_event NMI program racing an\nfentry one.\n\nClaim the work through work->task itself: cmpxchg() it from NULL\nto the target task before touching the other fields, and set it\nback to NULL once the callback has consumed them. A context\nfinding the work claimed returns the documented -EBUSY."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["kernel/trace/bpf_trace.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"1bc7896e9ef44fd77858b3ef0b8a6840be3a4494","lessThan":"411e337da595b592a50889c3f993589cafc657e9","versionType":"git","status":"affected"},{"version":"1bc7896e9ef44fd77858b3ef0b8a6840be3a4494","lessThan":"e9bb3295cf2119f0625c4fcba78e8779565e3e58","versionType":"git","status":"affected"},{"version":"1bc7896e9ef44fd77858b3ef0b8a6840be3a4494","lessThan":"2c34c23342d3a8d4ea034d914bc3b528fa00fbf4","versionType":"git","status":"affected"},{"version":"1bc7896e9ef44fd77858b3ef0b8a6840be3a4494","lessThan":"2d1f101ee619435873ed8a23fcb3bd09204a5024","versionType":"git","status":"affected"},{"version":"fd29a0242f86b2d95ad666aa9f92a3d0f7bfdab6","versionType":"git","status":"affected"},{"version":"7930d01afb7281edd9782971e0cca6fe587c7a7b","versionType":"git","status":"affected"},{"version":"5.4.33","lessThan":"5.5","versionType":"semver","status":"affected"},{"version":"5.5.18","lessThan":"5.6","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["kernel/trace/bpf_trace.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.6","status":"affected"},{"version":"0","lessThan":"5.6","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/2c34c23342d3a8d4ea034d914bc3b528fa00fbf4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2d1f101ee619435873ed8a23fcb3bd09204a5024","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/411e337da595b592a50889c3f993589cafc657e9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e9bb3295cf2119f0625c4fcba78e8779565e3e58","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}