CVE-2026-143365
Last modified
CVE-2026-143365 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: bpf: Clamp the trace length in __bpf_get_stack() again get_perf_callchain() and get_callchain_entry_for_task() store a trace in a per-CPU entry, one per context. They release the entry before they return it.
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Clamp the trace length in __bpf_get_stack() again get_perf_callchain() and get_callchain_entry_for_task() store a trace in a per-CPU entry, one per context. They release the entry before they return it. Thus a second user in the same context can write to the entry while the first user reads it. preempt_disable() stops only other tasks. __bpf_get_stack() requests at most max_depth frames. This is skip plus the frames that fit in the buffer, but not more than perf_event_max_stack. Since the commit below, it copies 'trace->nr - skip' frames with no limit. But a second user can store a longer trace. The unwinders of PowerPC add context markers that max_depth does not limit. In both cases the copy writes after the end of the buffer. Read trace->nr one time. Clamp the value to max_depth before the skip test, as __bpf_get_stack_pe() does. Thus when max_depth is less than skip, the helper returns -EFAULT, and 'trace_nr - skip' does not underflow. The copied frames can still be those of the second user.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 0c472ae306761526ba5e96bc4a618e29edb3a85c, < 7735e81c34d7aed929b4a3864941f675f34ea07f; >= 8fc78e468f9e4dfaa278a84d0b349e2f773aa19b, < 5e0ae0ed5db60a22aca6ef1f8aeed677bed323f9; >= e17d62fedd10ae56e2426858bd0757da544dbc73, < f9045c09e95923b91d99916f0c821a4efbff4be4; >= e17d62fedd10ae56e2426858bd0757da544dbc73, < 007fd460798be9af7d4874734f934afa47742f29; 7944e9f95f36d09b37229d985a7d78e7c2edfb01; >= 6.12.63, < 6.12.120; >= 6.18.2, < 6.18.66; >= 6.17.13, < 6.18 |
| Linux | Linux | 6.19 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-143365?
How severe is CVE-2026-143365?
How do I fix CVE-2026-143365?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-14336PIA's OIDC issuer allowlist for Jenkins tokens uses a bare s…8.2
- CVE-2026-143360In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143361In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143362In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143363In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143364In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143366In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143367In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143368In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143369In the Linux kernel, the following vulnerability has been re…
- CVE-2026-14337Pega Platform versions 23.1.0 through 25.1.3 are affected by…4.6
- CVE-2026-143370In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-143365?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
