Skip to content
Noroxi
CVE-2025-21680· NVD / CVE Program· CNA Linux

pktgen: Avoid out-of-bounds access in get_imix_entries

In the Linux kernel, the following vulnerability has been resolved: pktgen: Avoid out-of-bounds access in get_imix_entries Passing a sufficient amount of imix entries leads to invalid access to the pkt_dev->imix_entries array because of the incorrect boundary check. UBSAN: array-index-out-of-bounds in net/core/pktgen.c:874:24 index 20 is out of range for type 'imix_pkt [20]' CPU: 2 PID: 1210 Comm: bash Not tainted 6.10.0-rc1 #121 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996) Call Trace: <TASK> dump_stack_lvl lib/dump_stack.c:117 __ubsan_handle_out_of_bounds lib/ubsan.c:429 get_imix_entries net/core/pktgen.c:874 pktgen_if_write net/core/pktgen.c:1063 pde_write fs/proc/inode.c:334 proc_reg_write fs/proc/inode.c:346 vfs_write fs/read_write.c:593 ksys_write fs/read_write.c:644 do_syscall_64 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe arch/x86/entry/entry_64.S:130 Found by Linux Verification Center (linuxtesting.org) with SVACE. [ fp: allow to fill the array completely; minor changelog cleanup ]

HighCVSS 7.8 · v3.1—No exploit Fix available
Published
Jan 31, 2025
Updated
Aug 5, 2026
EPSS
0.2% · 12th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.8
CNA · Linux
7.8
agree

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel5.15 and later · before 5.15.177
  • linux linux kernel5.16 and later · before 6.1.127
  • linux linux kernel6.2 and later · before 6.6.74
  • linux linux kernel6.7 and later · before 6.12.11
  • linux linux kernel6.13

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 5.15affected
    • 52a62f8603f97e720882c8f5aff2767ac6a11d5f and later · before 3450092cc2d1c311c5ea92a2486daa2a33520ea5affected · git
    • 52a62f8603f97e720882c8f5aff2767ac6a11d5f and later · before e5d24a7074dcd0c7e76b7e7e4efbbe7418d62486affected · git
    • 52a62f8603f97e720882c8f5aff2767ac6a11d5f and later · before 7cde21f52042aa2e29a654458166b873d2ae66b3affected · git
    • 52a62f8603f97e720882c8f5aff2767ac6a11d5f and later · before 1a9b65c672ca9dc4ba52ca2fd54329db9580ce29affected · git
    • 52a62f8603f97e720882c8f5aff2767ac6a11d5f and later · before 76201b5979768500bca362871db66d77cb4c225eaffected · git
    • before 5.15not affected · semver
    • 5.15.177 and later · up to and including 5.15.*not affected · semver
    • 6.1.127 and later · up to and including 6.1.*not affected · semver
    • 6.6.74 and later · up to and including 6.6.*not affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.1.128-16.1.128-1
Debian:13linuxbefore 6.12.11-16.12.11-1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_2before 15-150600.2.215-150600.2.2
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_4before 11-150600.2.211-150600.2.2
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_6before 6-150600.2.26-150600.2.2
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_7before 6-150600.2.26-150600.2.2
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_8before 2-150600.2.22-150600.2.2
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_0before 16-150600.3.116-150600.3.1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_4before 10-150600.2.110-150600.2.1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_5before 9-150600.2.19-150600.2.1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_6before 6-150600.2.16-150600.2.1
SUSE:Linux Micro 6.0kernel-livepatch-MICRO-6-0_Update_2before 6-1.16-1.1
SUSE:Linux Micro 6.0kernel-livepatch-MICRO-6-0_Update_3before 6-1.26-1.2
SUSE:Linux Micro 6.0kernel-livepatch-MICRO-6-0_Update_4before 4-1.24-1.2
SUSE:Linux Micro 6.0kernel-livepatch-MICRO-6-0_Update_5before 3-1.23-1.2
SUSE:Linux Micro 6.0kernel-livepatch-MICRO-6-0-RT_Update_2before 6-1.16-1.1
SUSE:Linux Micro 6.0kernel-livepatch-MICRO-6-0-RT_Update_3before 6-1.26-1.2
SUSE:Linux Micro 6.0kernel-livepatch-MICRO-6-0-RT_Update_4before 3-1.13-1.1
SUSE:Linux Micro 6.0kernel-livepatch-MICRO-6-0-RT_Update_5before 3-1.13-1.1

Other highest-scoring records for the same primary product.

  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Now
  • CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV
    77This week
  • CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV
    77This week
  • CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV
    77This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux1a9b65c672ca9dc4ba52ca2fd54329db9580ce29Vendor (CNA)
Linux Linux3450092cc2d1c311c5ea92a2486daa2a33520ea5Vendor (CNA)
Linux Linux76201b5979768500bca362871db66d77cb4c225eVendor (CNA)
Linux Linux7cde21f52042aa2e29a654458166b873d2ae66b3Vendor (CNA)
Linux Linuxe5d24a7074dcd0c7e76b7e7e4efbbe7418d62486Vendor (CNA)
debian:linux6.1.128-1 · Debian:12Package registry (OSV)
suse:kernel-livepatch-MICRO-6-0-RT_Update_26-1.1 · SUSE:Linux Micro 6.0Package registry (OSV)
suse:kernel-livepatch-MICRO-6-0-RT_Update_43-1.1 · SUSE:Linux Micro 6.0Package registry (OSV)
suse:kernel-livepatch-MICRO-6-0-RT_Update_53-1.1 · SUSE:Linux Micro 6.0Package registry (OSV)
suse:kernel-livepatch-SLE15-SP6_Update_215-150600.2.2 · SUSE:Linux Enterprise Live Patching 15 SP6Package registry (OSV)
suse:kernel-livepatch-SLE15-SP6_Update_411-150600.2.2 · SUSE:Linux Enterprise Live Patching 15 SP6Package registry (OSV)
suse:kernel-livepatch-SLE15-SP6_Update_66-150600.2.2 · SUSE:Linux Enterprise Live Patching 15 SP6Package registry (OSV)
suse:kernel-livepatch-SLE15-SP6_Update_76-150600.2.2 · SUSE:Linux Enterprise Live Patching 15 SP6Package registry (OSV)
suse:kernel-livepatch-SLE15-SP6_Update_82-150600.2.2 · SUSE:Linux Enterprise Live Patching 15 SP6Package registry (OSV)
suse:kernel-livepatch-SLE15-SP6-RT_Update_016-150600.3.1 · SUSE:Linux Enterprise Live Patching 15 SP6Package registry (OSV)
suse:kernel-livepatch-SLE15-SP6-RT_Update_410-150600.2.1 · SUSE:Linux Enterprise Live Patching 15 SP6Package registry (OSV)
suse:kernel-livepatch-SLE15-SP6-RT_Update_59-150600.2.1 · SUSE:Linux Enterprise Live Patching 15 SP6Package registry (OSV)
suse:kernel-livepatch-SLE15-SP6-RT_Update_66-150600.2.1 · SUSE:Linux Enterprise Live Patching 15 SP6Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2021-47548252 days apartethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port()
    39Monitor
  • CVE-2026-23246411 days apartwifi: mac80211: bounds-check link_id in ieee80211_ml_reconfiguration
    35Monitor
  • CVE-2025-2169210 days apartnet: sched: fix ets qdisc OOB Indexing
    31Monitor
  • CVE-2022-4947126 days apartrtw89: cfo: check mac_id to avoid out-of-bounds
    31Monitor
  • CVE-2022-4947826 days apartmedia: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init
    31Monitor
  • CVE-2022-4954826 days apartbpf: Fix potential array overflow in bpf_trampoline_get_progs()
    31Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records