Skip to main content
Mallory
HighVulnerability

CVE-2025-21680: Linux kernel pktgen get_imix_entries Out-of-Bounds Write

Published Jan 31, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS0.32%17th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2025-21680CWE-787

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

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.
Activity feed

Recent activity

4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.