{"id":"CVE-2025-38061","aliases":["CVE-2025-38061"],"related":[],"kind":"vulnerability","state":"published","title":"net: pktgen: fix access outside of user given buffer in pktgen_thread_write()","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: pktgen: corrige el acceso fuera del búfer dado por el usuario en pktgen_thread_write() Respeta el tamaño del búfer dado por el usuario para las llamadas strn_len() (de lo contrario, strn_len() accederá a la memoria fuera del búfer dado por el usuario).","source":"nvd"}],"published":"2025-06-18T09:33:40.241Z","modified":"2026-11-05T21:18:07.673Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"a3d89f1cfe1e6d4bb164db2595511fd33db21900","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"5bfa81539e22af4c40ae5d43d7212253462383a6","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"128cdb617a87767c29be43e4431129942fce41df","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"ef1158a6a650ecee72ab40851b1d52e04d3f9cb5","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"c81c2ee1c3b050ed5c4e92876590cc7a259183f6","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"6b1d3e9db82d01a88de1795b879df67c2116b4f4","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"8fef258b555c75a467a6b4b7e3a3cbc46d5f4102","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"425e64440ad0a2f03bdaf04be0ae53dededbaa77","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"5.4.294","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.238","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.185","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.141","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.93","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.31","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.9","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.4.294"},{"status":"affected","introduced":"5.5","fixed":"5.10.238"},{"status":"affected","introduced":"5.11","fixed":"5.15.185"},{"status":"affected","introduced":"5.16","fixed":"6.1.141"},{"status":"affected","introduced":"6.2","fixed":"6.6.93"},{"status":"affected","introduced":"6.7","fixed":"6.12.31"},{"status":"affected","introduced":"6.13","fixed":"6.14.9"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a3d89f1cfe1e6d4bb164db2595511fd33db21900","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5bfa81539e22af4c40ae5d43d7212253462383a6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/128cdb617a87767c29be43e4431129942fce41df","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef1158a6a650ecee72ab40851b1d52e04d3f9cb5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c81c2ee1c3b050ed5c4e92876590cc7a259183f6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6b1d3e9db82d01a88de1795b879df67c2116b4f4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8fef258b555c75a467a6b4b7e3a3cbc46d5f4102","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/425e64440ad0a2f03bdaf04be0ae53dededbaa77","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:48:47.295Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38061","url":"https://www.cve.org/CVERecord?id=CVE-2025-38061","licence":"CVE Terms of Use","modified":"2026-11-05T20:52:14.006Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38061","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38061","licence":"Public domain","modified":"2026-11-05T21:18:07.673Z"}],"updatedAt":"2026-11-25T22:58:59.364Z","epss":{"score":0.00233,"percentile":0.1518,"date":"2026-12-01T12:00:22.000Z"}}