CVE-2025-38061
net: pktgen: fix access outside of user given buffer in pktgen_thread_write()
Check your servers for CVE-2025-38061
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-2025-38061 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:
net: pktgen: fix access outside of user given buffer in pktgen_thread_write()
Honour the user given buffer size for the strn_len() calls (otherwise strn_len() will access memory outside of the user given buffer).
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 15.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before a3d89f1cfe1e6d4bb164db2595511fd33db21900 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 5bfa81539e22af4c40ae5d43d7212253462383a6 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 128cdb617a87767c29be43e4431129942fce41df affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before ef1158a6a650ecee72ab40851b1d52e04d3f9cb5 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before c81c2ee1c3b050ed5c4e92876590cc7a259183f6 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 6b1d3e9db82d01a88de1795b879df67c2116b4f4 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 8fef258b555c75a467a6b4b7e3a3cbc46d5f4102 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 425e64440ad0a2f03bdaf04be0ae53dededbaa77
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 5.4.294 up to and including 5.4.* unaffected from 5.10.238 up to and including 5.10.* unaffected from 5.15.185 up to and including 5.15.* unaffected from 6.1.141 up to and including 6.1.* unaffected from 6.6.93 up to and including 6.6.* unaffected from 6.12.31 up to and including 6.12.* unaffected from 6.14.9 up to and including 6.14.* unaffected 6.15 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-2025-38061 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38061
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-2025-38061
trivy image --scanners vuln IMAGE | grep CVE-2025-38061
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/a3d89f1cfe1e6d4bb164db2595511fd33db21900 git.kernel.org
- https://git.kernel.org/stable/c/5bfa81539e22af4c40ae5d43d7212253462383a6 git.kernel.org
- https://git.kernel.org/stable/c/128cdb617a87767c29be43e4431129942fce41df git.kernel.org
- https://git.kernel.org/stable/c/ef1158a6a650ecee72ab40851b1d52e04d3f9cb5 git.kernel.org
- https://git.kernel.org/stable/c/c81c2ee1c3b050ed5c4e92876590cc7a259183f6 git.kernel.org
- https://git.kernel.org/stable/c/6b1d3e9db82d01a88de1795b879df67c2116b4f4 git.kernel.org
- https://git.kernel.org/stable/c/8fef258b555c75a467a6b4b7e3a3cbc46d5f4102 git.kernel.org
- https://git.kernel.org/stable/c/425e64440ad0a2f03bdaf04be0ae53dededbaa77 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
Source: the record CVE-2025-38061 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse