GHSA-QPMM-HJ84-FMWM
Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-11-30 15:32In the Linux kernel, the following vulnerability has been resolved:
bpf: Fix arena race between page free and alloc leading to incoherency
Existing arena kfunc code has an underlying race condition that can lead to writes being lost from the BPF program's point of view:
a) A memory range gets freed by operation (1), and its range is added back to the arena range tree.
b) A concurrent allocation (2) reallocates the range, and does writes to it. Writes from that CPU may follow the stale TLB entries into the pages that are about to be freed.
c) (1) invalidates the TLB. The old pages, and any writes done to them, are now inaccessible. zap_pages() similarly removes the mappings for userspace threads.
This can be triggered by particularly demanding BPF arena data structures that constantly allocate and deallocate memory, like hash table allocations.
Solve this ABA problem by keeping the range allocated until TLB invalidation and unmapping are complete. Under the arena spinlock, claim any free pages in the range and clear its kernel PTEs. Then drop the spinlock, lock and unlock each cleared page to wait for faults that are still installing a user PTE, flush the kernel TLB and zap the user page tables. Finally, retake the spinlock to release the range. Frees serialize on zap_mutex, so an overlapping free cannot release the range early. Claiming the range only allocates a range tree node when the whole range is free, and then there is nothing to free.
User faults on a range that is allocated without a page now raise SIGBUS instead of populating it. That covers a range reserved with bpf_arena_reserve_pages() and a range whose kernel PTEs a free has already cleared. Touching a page while a BPF program frees it is a user space bug, and in a BPF_F_SEGV_ON_FAULT arena it already raises SIGSEGV.
Sleepable frees run synchronously and are deferred only when the arena spinlock cannot be taken. The deferred free worker retries such a free in place instead of requeueing itself, so the flush_work() in arena_map_free() waits for all of its work.
{
"affected": [],
"aliases": [
"CVE-2026-139269"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-30T14:18:49Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix arena race between page free and alloc leading to incoherency\n\nExisting arena kfunc code has an underlying race condition\nthat can lead to writes being lost from the BPF program\u0027s\npoint of view:\n\na) A memory range gets freed by operation (1), and its range\nis added back to the arena range tree.\n\nb) A concurrent allocation (2) reallocates the range, and does\nwrites to it. Writes from that CPU may follow the stale TLB\nentries into the pages that are about to be freed.\n\nc) (1) invalidates the TLB. The old pages, and any writes done\nto them, are now inaccessible. zap_pages() similarly removes the\nmappings for userspace threads.\n\nThis can be triggered by particularly demanding BPF arena data\nstructures that constantly allocate and deallocate memory, like\nhash table allocations.\n\nSolve this ABA problem by keeping the range allocated until TLB\ninvalidation and unmapping are complete. Under the arena spinlock,\nclaim any free pages in the range and clear its kernel PTEs. Then drop\nthe spinlock, lock and unlock each cleared page to wait for faults that\nare still installing a user PTE, flush the kernel TLB and zap the user\npage tables. Finally, retake the spinlock to release the range. Frees\nserialize on zap_mutex, so an overlapping free cannot release the range\nearly. Claiming the range only allocates a range tree node when the\nwhole range is free, and then there is nothing to free.\n\nUser faults on a range that is allocated without a page now raise\nSIGBUS instead of populating it. That covers a range reserved with\nbpf_arena_reserve_pages() and a range whose kernel PTEs a free has\nalready cleared. Touching a page while a BPF program frees it is a user\nspace bug, and in a BPF_F_SEGV_ON_FAULT arena it already raises SIGSEGV.\n\nSleepable frees run synchronously and are deferred only when the arena\nspinlock cannot be taken. The deferred free worker retries such a free\nin place instead of requeueing itself, so the flush_work() in\narena_map_free() waits for all of its work.",
"id": "GHSA-qpmm-hj84-fmwm",
"modified": "2026-11-30T15:32:24Z",
"published": "2026-11-30T15:32:24Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139269"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/7244a2e58d2167292972f9380abb3a4d17a343e3"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/a9406fd55912882f56e603542cf10295d62dde3d"
}
],
"schema_version": "1.4.0",
"severity": []
}
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.