CVE record · CVE-2025-38061

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

No CVSS scoreEPSS 0.0023 · 14th percentile

Published by the CVE Program (CNA: Linux) at 18 Jun 2025, 09:33 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

Affected products, as the CNA wrote them
VendorProductVersions
Linux Linux
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a3d89f1cfe1e6d4bb164db2595511fd33db21900 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5bfa81539e22af4c40ae5d43d7212253462383a6 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 128cdb617a87767c29be43e4431129942fce41df git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ef1158a6a650ecee72ab40851b1d52e04d3f9cb5 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c81c2ee1c3b050ed5c4e92876590cc7a259183f6 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6b1d3e9db82d01a88de1795b879df67c2116b4f4 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 8fef258b555c75a467a6b4b7e3a3cbc46d5f4102 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 425e64440ad0a2f03bdaf04be0ae53dededbaa77 git
Other versions: unaffected
Linux Linux
  • affected 2.6.12
  • unaffected before 2.6.12 semver
  • unaffected 5.4.294 to 5.4.*, inclusive semver
  • unaffected 5.10.238 to 5.10.*, inclusive semver
  • unaffected 5.15.185 to 5.15.*, inclusive semver
  • unaffected 6.1.141 to 6.1.*, inclusive semver
  • unaffected 6.6.93 to 6.6.*, inclusive semver
  • unaffected 6.12.31 to 6.12.*, inclusive semver
  • unaffected 6.14.9 to 6.14.*, inclusive semver
  • unaffected 6.15 to *, inclusive original_commit_for_fix
Other versions: affected
Identifiers
CVE-2025-38061
CNA
Linux
Published
18 Jun 2025
Updated
5 Nov 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The Linux kernel's pktgen module reads memory outside a user-supplied buffer in pktgen_thread_write(), because string length calls ignore the buffer size. Affected code dates from 2.6.12. The source gives few details on what an attacker needs or what they can gain. Upgrade to kernel 5.4.294, 5.10.238, 5.15.185, 6.1.141, or a later release in those series.

Written 16 Nov 2026.

Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

Severity and exploitation

No source has published a CVSS score for this record yet.

  • CISA KEV Not listed.
  • EPSS 0.0023, the 14th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 18 Jun 2025, 09:33 UTC Confirmed by the CVE List
  2. 18 Jun 2025, 10:15 UTC Confirmed by NVD

Sources

References from the CNA

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.