CVE-2023-54312
kernel: samples/bpf: Fix buffer overflow in tcp_basertt
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 30, 2025
Updated · June 30, 2026
Description
A buffer overflow was found in the BPF sample code tcp_basertt. Incorrect buffer size calculation could cause out-of-bounds writes when copying string data.
Statement
This is in samples/bpf code which is not compiled or included in production kernels. It serves only as example code for BPF developers. Production systems are unaffected.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 2.5CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
CWE-131 · Incorrect Calculation of Buffer Size