{"id":"CVE-2025-38061","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:\n\nnet: pktgen: fix access outside of user given buffer in pktgen_thread_write()\n\nHonour the user given buffer size for the strn_len() calls (otherwise\nstrn_len() will access memory outside of the user given buffer).","modified":"2026-03-20T12:42:38.811652Z","published":"2025-06-18T09:33:40.241Z","related":["SUSE-SU-2025:02334-1","SUSE-SU-2025:02853-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:02969-1","SUSE-SU-2025:02996-1","SUSE-SU-2025:02997-1","SUSE-SU-2025:03011-1","SUSE-SU-2025:03023-1","SUSE-SU-2025:20577-1","SUSE-SU-2025:20586-1","SUSE-SU-2025:20601-1","SUSE-SU-2025:20602-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38061.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/128cdb617a87767c29be43e4431129942fce41df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/425e64440ad0a2f03bdaf04be0ae53dededbaa77"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5bfa81539e22af4c40ae5d43d7212253462383a6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6b1d3e9db82d01a88de1795b879df67c2116b4f4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8fef258b555c75a467a6b4b7e3a3cbc46d5f4102"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3d89f1cfe1e6d4bb164db2595511fd33db21900"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c81c2ee1c3b050ed5c4e92876590cc7a259183f6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ef1158a6a650ecee72ab40851b1d52e04d3f9cb5"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38061.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38061"},{"type":"PACKAGE","url":"https://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"}}],"schema_version":"1.7.5"}