# CVE-2023-54312: samples/bpf: Fix buffer overflow in tcp_basertt

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-12-30T12:23:43.828Z
- Modified: 2026-06-17T06:47:12.380Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

samples/bpf: Fix buffer overflow in tcp_basertt

Using sizeof(nv) or strlen(nv)+1 is correct.

(As written by CVE List.)

## Affected

- Linux Linux: from c890063e440456e75c2e70f6bcec3797f1771eb6 before cf7514fedc25675e68b74941df28a883951e70fd; from c890063e440456e75c2e70f6bcec3797f1771eb6 before f394d204d64095d72ad9f03ff98f3f3743bf743a; from c890063e440456e75c2e70f6bcec3797f1771eb6 before bd3e880dce27d225598730d2bbb3dc05b443af22; from c890063e440456e75c2e70f6bcec3797f1771eb6 before e92f61e0701ea780e57e1be8dbd1fbec5f42c09e; from c890063e440456e75c2e70f6bcec3797f1771eb6 before 56c25f2763a16db4fa1b486e6a21dc246cd992bd; from c890063e440456e75c2e70f6bcec3797f1771eb6 before dfc004688518d24159606289c74d0c4e123e6436; from c890063e440456e75c2e70f6bcec3797f1771eb6 before 7c08d1b0d1f75117cf82aeaef49ba9f861b3fb59; from c890063e440456e75c2e70f6bcec3797f1771eb6 before f4dea9689c5fea3d07170c2cb0703e216f1a0922; 4.15 (not affected: before 4.15; from 4.19.291 up to 4.19.*; from 5.4.251 up to 5.4.*; from 5.10.188 up to 5.10.*; from 5.15.121 up to 5.15.*; from 6.1.39 up to 6.1.*; from 6.3.13 up to 6.3.*; from 6.4.4 up to 6.4.*; from 6.5 up to *)

## References

- <https://git.kernel.org/stable/c/cf7514fedc25675e68b74941df28a883951e70fd>
- <https://git.kernel.org/stable/c/f394d204d64095d72ad9f03ff98f3f3743bf743a>
- <https://git.kernel.org/stable/c/bd3e880dce27d225598730d2bbb3dc05b443af22>
- <https://git.kernel.org/stable/c/e92f61e0701ea780e57e1be8dbd1fbec5f42c09e>
- <https://git.kernel.org/stable/c/56c25f2763a16db4fa1b486e6a21dc246cd992bd>
- <https://git.kernel.org/stable/c/dfc004688518d24159606289c74d0c4e123e6436>
- <https://git.kernel.org/stable/c/7c08d1b0d1f75117cf82aeaef49ba9f861b3fb59>
- <https://git.kernel.org/stable/c/f4dea9689c5fea3d07170c2cb0703e216f1a0922>

## Sources

- CVE List: [CVE-2023-54312](https://www.cve.org/CVERecord?id=CVE-2023-54312), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54312](https://nvd.nist.gov/vuln/detail/CVE-2023-54312), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-54312 · Whole record: https://cve.day/CVE-2023-54312.json · Rebuilt by cve.day 2026-11-25T22:58:35.270Z
