{
  "affected": [
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:14",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.3.6-1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "details": "In the Linux kernel, the following vulnerability has been resolved:  bpf: Prevent task work context reuse while irq_work is busy  A bpf_task_work context can return to STANDBY before its scheduling irq_work handler returns.  Both callback completion and task_work_add() failure can publish STANDBY while the irq_work is still BUSY.  A new round can then reinitialize and queue the same irq_work on another CPU while the old handler is still running.  One concrete interleaving is:    1. CPU 0 successfully queues ctx-\u003ework with task_work_add() and pauses      before its SCHEDULING-to-SCHEDULED cmpxchg.    2. The target task on CPU 1 completes the callback, resets ctx-\u003etask      and publishes STANDBY.    3. CPU 2 starts a new round, changes STANDBY to PENDING and queues the      same irq_work.  The new handler changes PENDING to SCHEDULING, but      task_work_add() returns -ESRCH because its target task has exited.      The handler has not yet reset the context or rolled back the state.    4. CPU 0 resumes and changes the new round's SCHEDULING to SCHEDULED,      even though no task work was queued for that round.    5. The new handler resets ctx-\u003etask, but its SCHEDULING-to-STANDBY      cmpxchg fails.  The context remains SCHEDULED with a NULL task, and      subsequent attempts to acquire this context fail with -EBUSY.    6. Map-value deletion observes SCHEDULED and queues asynchronous      cancellation, which passes the NULL ctx-\u003etask to task_work_cancel().  Overlapping invocations also share one BUSY bit.  An invocation can clear that bit while the other invocation is still running.  Initialize the scheduling irq_work when the context is created and stop reinitializing it for each round.  After claiming the context with the STANDBY-to-PENDING cmpxchg, check BUSY and reject reuse with -EBUSY if a previous invocation is still in progress.  Checking after the cmpxchg orders the BUSY read after the STANDBY publication.  No irq_work has been queued for the attempted round at this point, so the rejection can roll PENDING back to STANDBY.  Use cmpxchg for that rollback to preserve FREED if a concurrent deletion has published it. Once BUSY clears, scheduling can be retried.",
  "id": "DEBIAN-CVE-2026-139345",
  "modified": "2026-12-01T03:47:31.486040149Z",
  "published": "2026-11-30T14:18:59.653Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security-tracker.debian.org/tracker/CVE-2026-139345"
    }
  ],
  "upstream": [
    "CVE-2026-139345"
  ]
}