CVE Feed
0.0 Unscored

In the Linux kernel, the following vulnerability has been resolved: bpf: Clamp the trace length in bpfgetstack() again getperfcallchain()…

CVE-2026-143365

In the Linux kernel, the following vulnerability has been resolved: bpf: Clamp the trace length in bpfgetstack() again getperfcallchain() and getcallchainentryfortask() 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. preemptdisable() stops only other tasks. bpfgetstack() requests at most maxdepth frames. This is skip plus the frames that fit in the buffer, but not more than perfeventmaxstack. 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 maxdepth does not limit. In both cases the copy writes after the end of the buffer. Read trace->nr one time. Clamp the value to maxdepth before the skip test, as bpfgetstackpe() does. Thus when maxdepth is less than skip, the helper returns -EFAULT, and 'tracenr - skip' does not underflow. The copied frames can still be those of the second user.

Assessment

CVSS
0
Severity
Unscored
EPSS
0% chance of exploitation in the next 30 days
Known exploited
Not listed in CISA KEV
Exploit availability
Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
Published
3 December 2026
Last updated
3 December 2026
Affected
Linux · Linux
Assigner
Linux

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-143365