
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-38061 is a vulnerability discovered in the Linux kernel's packet generator (pktgen) module, disclosed on June 18, 2025. The vulnerability specifically affects the network packet generation functionality, involving improper buffer handling in the pktgenthreadwrite() function (NVD, Wiz).
The vulnerability stems from a failure to properly honor user-given buffer sizes during strnlen() calls in the pktgenthread_write() function. This implementation flaw allows access to memory outside of the user-provided buffer boundaries within the Linux kernel's networking subsystem (Wiz, NVD).
When exploited, this vulnerability could allow an attacker to access memory outside of the intended buffer boundaries, potentially leading to information disclosure or system instability. The impact is primarily focused on the network packet generation functionality of the Linux kernel (Wiz).
A fix has been implemented that ensures proper handling of user-given buffer sizes in the strnlen() calls within the pktgenthread_write() function. Users are advised to update their Linux kernel to a version containing the security fix. For Debian systems, the fix is available in version 6.12.32-1 and later (Debian, Wiz).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."