CVE-2023-54312
published 2025-12-30CVE-2023-54312: 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.
PriorityP424low2.5
EPSS
0.19%
8.7th percentile
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.
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.52-1 (bookworm) | linux 6.1.52-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= c890063e440456e75c2e70f6bcec3797f1771eb6 < cf7514fedc25675e68b74941df28a883951e70fd | cf7514fedc25675e68b74941df28a883951e70fd |
| linux | linux | >= c890063e440456e75c2e70f6bcec3797f1771eb6 < f394d204d64095d72ad9f03ff98f3f3743bf743a | f394d204d64095d72ad9f03ff98f3f3743bf743a |
| linux | linux | >= c890063e440456e75c2e70f6bcec3797f1771eb6 < bd3e880dce27d225598730d2bbb3dc05b443af22 | bd3e880dce27d225598730d2bbb3dc05b443af22 |
| linux | linux | >= c890063e440456e75c2e70f6bcec3797f1771eb6 < e92f61e0701ea780e57e1be8dbd1fbec5f42c09e | e92f61e0701ea780e57e1be8dbd1fbec5f42c09e |
| linux | linux | >= c890063e440456e75c2e70f6bcec3797f1771eb6 < 56c25f2763a16db4fa1b486e6a21dc246cd992bd | 56c25f2763a16db4fa1b486e6a21dc246cd992bd |
| linux | linux | >= c890063e440456e75c2e70f6bcec3797f1771eb6 < dfc004688518d24159606289c74d0c4e123e6436 | dfc004688518d24159606289c74d0c4e123e6436 |
| linux | linux | >= c890063e440456e75c2e70f6bcec3797f1771eb6 < 7c08d1b0d1f75117cf82aeaef49ba9f861b3fb59 | 7c08d1b0d1f75117cf82aeaef49ba9f861b3fb59 |
| linux | linux | >= c890063e440456e75c2e70f6bcec3797f1771eb6 < f4dea9689c5fea3d07170c2cb0703e216f1a0922 | f4dea9689c5fea3d07170c2cb0703e216f1a0922 |
| linux | linux_kernel | >= 0 < 5.10.191-1 | 5.10.191-1 |
| linux | linux_kernel | >= 0 < 6.1.52-1 | 6.1.52-1 |
| linux | linux_kernel | >= 0 < 6.4.4-1 | 6.4.4-1 |
| linux | linux_kernel | >= 0 < 6.4.4-1 | 6.4.4-1 |
| linux | linux_kernel | >= 4.15.0 < 4.19.291 | 4.19.291 |
| linux | linux_kernel | >= 4.20.0 < 5.4.251 | 5.4.251 |
| linux | linux_kernel | >= 5.11.0 < 5.15.121 | 5.15.121 |
| linux | linux_kernel | >= 5.16.0 < 6.1.39 | 6.1.39 |
| linux | linux_kernel | >= 5.5.0 < 5.10.188 | 5.10.188 |
| linux | linux_kernel | >= 6.2.0 < 6.3.13 | 6.3.13 |
| linux | linux_kernel | >= 6.4.0 < 6.4.4 | 6.4.4 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
samples/bpf: Fix buffer overflow in tcp_basertt
osv·2025-12-30
CVE-2023-54312 samples/bpf: Fix buffer overflow in tcp_basertt
samples/bpf: Fix buffer overflow in tcp_basertt
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.
GHSA
GHSA-p36c-jp35-qgrh: 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
ghsa_unreviewed·2025-12-30
CVE-2023-54312 GHSA-p36c-jp35-qgrh: 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
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.
OSV
CVE-2023-54312: 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 i
osv·2025-12-30
CVE-2023-54312 CVE-2023-54312: 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 i
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.
Red Hat
kernel: samples/bpf: Fix buffer overflow in tcp_basertt
vendor_redhat·2025-12-30·CVSS 2.5
CVE-2023-54312 [LOW] CWE-131 kernel: samples/bpf: Fix buffer overflow in tcp_basertt
kernel: samples/bpf: Fix buffer overflow in tcp_basertt
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.
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not af
Debian
CVE-2023-54312: linux - In the Linux kernel, the following vulnerability has been resolved: samples/bpf...
vendor_debian·2023
CVE-2023-54312 CVE-2023-54312: linux - In the Linux kernel, the following vulnerability has been resolved: samples/bpf...
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.
Scope: local
bookworm: resolved (fixed in 6.1.52-1)
bullseye: resolved (fixed in 5.10.191-1)
forky: resolved (fixed in 6.4.4-1)
sid: resolved (fixed in 6.4.4-1)
trixie: resolved (fixed in 6.4.4-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2023-54312 kernel: samples/bpf: Fix buffer overflow in tcp_basertt
bugzilla·2025-12-30
CVE-2023-54312 [LOW] CVE-2023-54312 kernel: samples/bpf: Fix buffer overflow in tcp_basertt
CVE-2023-54312 kernel: samples/bpf: Fix buffer overflow in tcp_basertt
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.
Discussion:
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025123036-CVE-2023-54312-8b23@gregkh/T
Wiz
CVE-2023-54312 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz
CVE-2023-54312 CVE-2023-54312 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2023-54312 :
Linux Kernel vulnerability analysis and mitigation
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.
Source : NVD
Published December 30, 2025
CNA Score N/A
Affected Technologies
Linux Kernel
Linux Debian
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Percentile (EPSS) 13.8
Exploitation Probability (EPSS) N/A
Affected packages and libraries
linux-nvidia
cluster-md-kmp-64kb
Sources
NVD
Debian 11, 12, 13, 14 Has Fix Added at: Dec 31, 2025
Echo Has Fix Added at: Dec 31, 2025
Red Hat 9 Severity LOW Has Fix Added at: Dec 31, 2025
Ubuntu 16.04 Severity MEDIUM No Fix Added
https://git.kernel.org/stable/c/56c25f2763a16db4fa1b486e6a21dc246cd992bdhttps://git.kernel.org/stable/c/7c08d1b0d1f75117cf82aeaef49ba9f861b3fb59https://git.kernel.org/stable/c/bd3e880dce27d225598730d2bbb3dc05b443af22https://git.kernel.org/stable/c/cf7514fedc25675e68b74941df28a883951e70fdhttps://git.kernel.org/stable/c/dfc004688518d24159606289c74d0c4e123e6436https://git.kernel.org/stable/c/e92f61e0701ea780e57e1be8dbd1fbec5f42c09ehttps://git.kernel.org/stable/c/f394d204d64095d72ad9f03ff98f3f3743bf743ahttps://git.kernel.org/stable/c/f4dea9689c5fea3d07170c2cb0703e216f1a0922
2025-12-30
Published