Answer in brief
CVE-2026-142942 records a Unknown severity vulnerability in bpf: Destroy callee-local dynptrs on subprog return. The current sources do not mark it as known exploited. The current feed maps Linux/Linux (generic), Linux/Linux (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
A CVSS score is not reported in the current record. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps Linux/Linux (generic), Linux/Linux (generic). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| Linux/Linuxgeneric | 7.2 | Not reported |
| Linux/Linuxgeneric | >=308c7a0ae8859b34d9d90a3dff953b2d14242145 <abf9f320f9d615358a768aa7b238dbedb79f566c || >=308c7a0ae8859b34d9d90a3dff953b2d14242145 <b65cc81792eb07436879d9f0be8ebd18a78fffb4 | abf9f320f9d615358a768aa7b238dbedb79f566c, b65cc81792eb07436879d9f0be8ebd18a78fffb4 |
Published upstream
Dec 3, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Dec 3, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Dec 3, 2026
In the Linux kernel, the following vulnerability has been resolved: bpf: Destroy callee-local dynptrs on subprog return A data slice is valid only while the specific dynptr that produced it remains valid. prepare_func_exit() copies a subprogram return value into the caller and then frees the callee state without applying the normal destruction semantics to dynptrs in the callee stack. A callee can therefore derive a slice from a local dynptr, return or spill the slice into its caller, and then let the dynptr disappear with the callee frame. The slice retains the id of a dynptr that is no longer in the verifier state, so the verifier continues to accept accesses through it. Before the object relationship refactor, bpf_dynptr_data() slices from referenced dynptrs also carried the shared reference id, allowing a later release to catch some of these escaped slices. The refactor made those slices precise children of their source dynptr and exposed the missing teardown as an accepted stale access even after the shared resource is released. Add destroy_dynptrs_in_stack_slots() to apply the existing dynptr teardown to an inclusive range of stack slots. Reuse it for dynptr initialization, variable-offset stack writes, and the entire callee stack before freeing the frame. The teardown rejects losing the last dynptr for a referenced resource and invalidates the dynptr and all its descendants, including slices held in the caller. Propagate errors through prepare_func_exit(). Reuse the existing teardown API and diagnostic. Update the affected callback test expectation in this change so the commit remains test-clean.
Quoted source text, attributed separately from HOL analysis.