CVE-2025-21680: Linux kernel pktgen get_imix_entries Out-of-Bounds Write
- Vendor
- Linux
CVE-2025-21680 is an out-of-bounds memory-access vulnerability in the Linux kernel packet generator (pktgen) subsystem. The get_imix_entries function performed an incorrect bounds check while processing IMIX packet-size entries supplied through the pktgen control interface. Supplying enough entries allowed indexing beyond the fixed-size pkt_dev->imix_entries array; UBSAN detected an access at index 20 of a 20-element imix_pkt array. The fix corrects the boundary handling so the IMIX array can be filled without accessing beyond its allocated bounds.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker able to use the pktgen configuration interface may trigger an out-of-bounds kernel memory write/access. This can cause kernel instability or denial of service. The available information does not establish reliable privilege escalation, information disclosure, or code-execution impact.
Mitigation
If you can’t patch tonight, do this now.
Restrict write access to the pktgen control interface to trusted administrators. Where pktgen is not required, disable or unload the pktgen kernel module and prevent its loading through local module-management policy. Limit untrusted users' ability to obtain the privileges required to configure network packet-generation facilities.
Remediation
Patch, then assume compromise.
Install a Linux kernel update containing the fix for CVE-2025-21680, then reboot into the updated kernel. Apply the applicable vendor kernel advisory and ensure all running systems use the patched kernel.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-21680 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2025-21680 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-21680?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2025-21680.
- Is there a patch for CVE-2025-21680?
- Install a Linux kernel update containing the fix for CVE-2025-21680, then reboot into the updated kernel. Apply the applicable vendor kernel advisory and ensure all running systems use the patched kernel.
- What products are affected by CVE-2025-21680?
- Linux Kernel.
- How severe is CVE-2025-21680?
- CVE-2025-21680 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.32% (17th percentile) as of Sep 25, 2026.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.