CVE-2026-143364
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Clamp the trace length before the skip test in stackid_init() stackid_init() gives a bucket of the stack map min(trace_nr - skip, max_depth - skip) trace entries. Here max_depth is the size of a bucket plus skip, but at most perf_event_max_stack. Context markers can make trace_nr larger than that, so the skip test can pass when max_depth < skip. Then 'max_depth - skip' wraps, and the kernel can write after the bucket. Clamp trace_nr to max_depth before the skip test, as __bpf_get_stack_pe() does. The result changes only when skip >= max_depth. Then it is -EFAULT. Until now skip == max_depth could give the id of an empty trace. get_perf_callchain() releases the trace, so an NMI can change trace->nr. Use READ_ONCE() in bpf_get_stackid(), so the compiler reads it one time.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Affected 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Affected | — |
| sid | linux |
Affected | — |
| forky | linux |
Affected | — |
| bookworm | linux |
Affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | {"startIncluding":"6.12.63","endExcluding":"6.12.120"} | 6.12.120 |
| linux | linux | {"startIncluding":"6.18.2","endExcluding":"6.18.66"} | 6.18.66 |
| linux | linux | {"startIncluding":"6.1.191","endExcluding":"6.2"} | 6.2 |
| linux | linux | {"startIncluding":"6.6.160","endExcluding":"6.7"} | 6.7 |
| linux | linux | {"startIncluding":"6.17.13","endExcluding":"6.18"} | 6.18 |
| linux | linux | 6.19 | |
References
- https://git.kernel.org/stable/c/7203b3225a0533d1cfd89dd4695ff80947ad16a7
- https://git.kernel.org/stable/c/a08ba2ab79dffd92c32d3f2dadfc7eba03625a2b
- https://git.kernel.org/stable/c/a18b920a21163cfcef67d3913c87ce53894dc19c
- https://git.kernel.org/stable/c/f624585522f6fe93823a3feea28ce3b4ace9e77a
- https://security-tracker.debian.org/tracker/CVE-2026-143364
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.