What’s Vulnerable › Vulnerabilities

CVE-2025-38061: net: pktgen: fix access outside of user given buffer in pktgen_thread_write()

Description

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

How to fix

Upgrade to a fixed version: Linux kernel 5.10.238, 5.15.185, 5.4.294, 6.1.141. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-38061 or the next vulnerability affects your stack