{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "1bc7896e9ef44fd77858b3ef0b8a6840be3a4494"
            },
            {
              "fixed": "411e337da595b592a50889c3f993589cafc657e9"
            },
            {
              "fixed": "e9bb3295cf2119f0625c4fcba78e8779565e3e58"
            },
            {
              "fixed": "2c34c23342d3a8d4ea034d914bc3b528fa00fbf4"
            },
            {
              "fixed": "2d1f101ee619435873ed8a23fcb3bd09204a5024"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "fd29a0242f86b2d95ad666aa9f92a3d0f7bfdab6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "7930d01afb7281edd9782971e0cca6fe587c7a7b"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.4.33"
            },
            {
              "fixed": "5.5"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.5.18"
            },
            {
              "fixed": "5.6"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.6.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139332.json"
  },
  "details": "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-\u003etask 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.",
  "id": "CVE-2026-139332",
  "modified": "2026-12-01T20:46:06.630971588Z",
  "published": "2026-11-30T13:33:47.021Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2c34c23342d3a8d4ea034d914bc3b528fa00fbf4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2d1f101ee619435873ed8a23fcb3bd09204a5024"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/411e337da595b592a50889c3f993589cafc657e9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e9bb3295cf2119f0625c4fcba78e8779565e3e58"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139332.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139332"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "bpf: Claim the per-CPU send_signal irq_work before filling it"
}