VDB

CVE-2025-38061

CVE-2025-38061 PUBLISHED

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

Reported by linux · Published June 18, 2025

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).

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 5.4.294
linuxlinux_kernel2.6.12, 2.6.12, 2.6.12
amazon:2kernel-tools0
amazon:2kernel0
amazon:2kernel-livepatch-4.14.355-280.6720
amazon:2kernel-devel0
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 5.15.185, 2.6.12
amazon:2kernel-headers0
amazon:2perf0
amazon:2python-perf0
amazon:2kernel-tools-devel0

Timeline

  • Jun 17, 2025 CVE Published
  • Jun 18, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (24 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (320 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (332 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score
  • Oct 13, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38061
vulnetix vdb fixes CVE-2025-38061

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38061/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›