CVE-2023-54312
samples/bpf: Fix buffer overflow in tcp_basertt
Check your servers for CVE-2023-54312
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54312 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.9% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c890063e440456e75c2e70f6bcec3797f1771eb6, before cf7514fedc25675e68b74941df28a883951e70fd affected from c890063e440456e75c2e70f6bcec3797f1771eb6, before f394d204d64095d72ad9f03ff98f3f3743bf743a affected from c890063e440456e75c2e70f6bcec3797f1771eb6, before bd3e880dce27d225598730d2bbb3dc05b443af22 affected from c890063e440456e75c2e70f6bcec3797f1771eb6, before e92f61e0701ea780e57e1be8dbd1fbec5f42c09e affected from c890063e440456e75c2e70f6bcec3797f1771eb6, before 56c25f2763a16db4fa1b486e6a21dc246cd992bd affected from c890063e440456e75c2e70f6bcec3797f1771eb6, before dfc004688518d24159606289c74d0c4e123e6436 affected from c890063e440456e75c2e70f6bcec3797f1771eb6, before 7c08d1b0d1f75117cf82aeaef49ba9f861b3fb59 affected from c890063e440456e75c2e70f6bcec3797f1771eb6, before f4dea9689c5fea3d07170c2cb0703e216f1a0922
Other versions: unaffected
|
| Linux |
affected 4.15 unaffected before 4.15 unaffected from 4.19.291 up to and including 4.19.* unaffected from 5.4.251 up to and including 5.4.* unaffected from 5.10.188 up to and including 5.10.* unaffected from 5.15.121 up to and including 5.15.* unaffected from 6.1.39 up to and including 6.1.* unaffected from 6.3.13 up to and including 6.3.* unaffected from 6.4.4 up to and including 6.4.* unaffected 6.5 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54312 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54312
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-54312
trivy image --scanners vuln IMAGE | grep CVE-2023-54312
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/cf7514fedc25675e68b74941df28a883951e70fd git.kernel.org
- https://git.kernel.org/stable/c/f394d204d64095d72ad9f03ff98f3f3743bf743a git.kernel.org
- https://git.kernel.org/stable/c/bd3e880dce27d225598730d2bbb3dc05b443af22 git.kernel.org
- https://git.kernel.org/stable/c/e92f61e0701ea780e57e1be8dbd1fbec5f42c09e git.kernel.org
- https://git.kernel.org/stable/c/56c25f2763a16db4fa1b486e6a21dc246cd992bd git.kernel.org
- https://git.kernel.org/stable/c/dfc004688518d24159606289c74d0c4e123e6436 git.kernel.org
- https://git.kernel.org/stable/c/7c08d1b0d1f75117cf82aeaef49ba9f861b3fb59 git.kernel.org
- https://git.kernel.org/stable/c/f4dea9689c5fea3d07170c2cb0703e216f1a0922 git.kernel.org
Source: the record CVE-2023-54312 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse