FKIE_CVE-2026-139345
Vulnerability from fkie_nvd - Published: 2026-11-30 14:18 - Updated: 2026-11-30 14:18| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"kernel/bpf/helpers.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "120ccbbc27889969eabba94c069784d5597d3dfb",
"status": "affected",
"version": "38aa7003e369802f81a078f6673d10d97013f04f",
"versionType": "git"
},
{
"lessThan": "a00b81c2b3b81d1dd67a4c20b40af322cacf99e2",
"status": "affected",
"version": "38aa7003e369802f81a078f6673d10d97013f04f",
"versionType": "git"
},
{
"lessThan": "a36d9afe8d923ca00dd2001409f420202ee672da",
"status": "affected",
"version": "38aa7003e369802f81a078f6673d10d97013f04f",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"kernel/bpf/helpers.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.18"
},
{
"lessThan": "6.18",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.65",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.6",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Prevent task work context reuse while irq_work is busy\n\nA bpf_task_work context can return to STANDBY before its scheduling\nirq_work handler returns. Both callback completion and task_work_add()\nfailure can publish STANDBY while the irq_work is still BUSY. A new\nround can then reinitialize and queue the same irq_work on another CPU\nwhile the old handler is still running.\n\nOne concrete interleaving is:\n\n 1. CPU 0 successfully queues ctx-\u003ework with task_work_add() and pauses\n before its SCHEDULING-to-SCHEDULED cmpxchg.\n\n 2. The target task on CPU 1 completes the callback, resets ctx-\u003etask\n and publishes STANDBY.\n\n 3. CPU 2 starts a new round, changes STANDBY to PENDING and queues the\n same irq_work. The new handler changes PENDING to SCHEDULING, but\n task_work_add() returns -ESRCH because its target task has exited.\n The handler has not yet reset the context or rolled back the state.\n\n 4. CPU 0 resumes and changes the new round\u0027s SCHEDULING to SCHEDULED,\n even though no task work was queued for that round.\n\n 5. The new handler resets ctx-\u003etask, but its SCHEDULING-to-STANDBY\n cmpxchg fails. The context remains SCHEDULED with a NULL task, and\n subsequent attempts to acquire this context fail with -EBUSY.\n\n 6. Map-value deletion observes SCHEDULED and queues asynchronous\n cancellation, which passes the NULL ctx-\u003etask to task_work_cancel().\n\nOverlapping invocations also share one BUSY bit. An invocation can clear\nthat bit while the other invocation is still running.\n\nInitialize the scheduling irq_work when the context is created and stop\nreinitializing it for each round. After claiming the context with the\nSTANDBY-to-PENDING cmpxchg, check BUSY and reject reuse with -EBUSY if a\nprevious invocation is still in progress. Checking after the cmpxchg\norders the BUSY read after the STANDBY publication.\n\nNo irq_work has been queued for the attempted round at this point, so\nthe rejection can roll PENDING back to STANDBY. Use cmpxchg for that\nrollback to preserve FREED if a concurrent deletion has published it.\nOnce BUSY clears, scheduling can be retried."
}
],
"id": "CVE-2026-139345",
"lastModified": "2026-11-30T14:18:59.653",
"metrics": {},
"published": "2026-11-30T14:18:59.653",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/120ccbbc27889969eabba94c069784d5597d3dfb"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/a00b81c2b3b81d1dd67a4c20b40af322cacf99e2"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/a36d9afe8d923ca00dd2001409f420202ee672da"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.