CVE-2025-38061

Source
https://cve.org/CVERecord?id=CVE-2025-38061
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38061.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38061
Downstream
Related
Published
2025-06-18T09:33:40.241Z
Modified
2026-03-11T07:46:43.787691105Z
Summary
net: pktgen: fix access outside of user given buffer in pktgen_thread_write()
Details

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

net: pktgen: fix access outside of user given buffer in pktgenthreadwrite()

Honour the user given buffer size for the strnlen() calls (otherwise strnlen() will access memory outside of the user given buffer).

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38061.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
a3d89f1cfe1e6d4bb164db2595511fd33db21900
Fixed
5bfa81539e22af4c40ae5d43d7212253462383a6
Fixed
128cdb617a87767c29be43e4431129942fce41df
Fixed
ef1158a6a650ecee72ab40851b1d52e04d3f9cb5
Fixed
c81c2ee1c3b050ed5c4e92876590cc7a259183f6
Fixed
6b1d3e9db82d01a88de1795b879df67c2116b4f4
Fixed
8fef258b555c75a467a6b4b7e3a3cbc46d5f4102
Fixed
425e64440ad0a2f03bdaf04be0ae53dededbaa77

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38061.json"