CVE-2026-143364

Not scored yetLast modified Dec 3, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143365In the Linux kernel, the following vulnerability has been resolved: bpf: Clamp the trace length in __bpf_get_stack() again get_perf_callchCVE-2026-143366In the Linux kernel, the following vulnerability has been resolved: spi: pic32-sqi: fail transfer when the BD ring is exhausted pic32_sqi_CVE-2026-143367In the Linux kernel, the following vulnerability has been resolved: bpf, x86: Fix bpf_throw() in a prog with a private stack When the mainCVE-2026-143368In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_reject: prevent unbounded recursion in output hooks nftCVE-2026-143369In the Linux kernel, the following vulnerability has been resolved: ALSA: hda/core: Fix double free on stream page allocation failure SincCVE-2026-143374.6Pega Platform versions 23.1.0 through 25.1.3 are affected by an Stored Cross-site scripting (XSS) vulnerability in a user interface componenCVE-2026-143370In the Linux kernel, the following vulnerability has been resolved: ALSA: memalloc: Free the new pages when WC DMA mapping fails snd_dma_wCVE-2026-143371In the Linux kernel, the following vulnerability has been resolved: net: ipa: Fix double free of the interrupt structure on config error SCVE-2026-143372In the Linux kernel, the following vulnerability has been resolved: tipc: reject attaching bearer of different media to the same occupied dCVE-2026-143373In the Linux kernel, the following vulnerability has been resolved: scsi: target: Validate REGISTER AND MOVE TransportID length REGISTER ACVE-2026-143374In the Linux kernel, the following vulnerability has been resolved: ptp: unwind partially completed virtual clock creation n_vclocks_storeCVE-2026-143375In the Linux kernel, the following vulnerability has been resolved: ptp: drain virtual clock sysfs operations before unregistering children
CVE-2026-143364: Unscored | Vulnix