Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-21680

published high CVSS 3.1 · 7.8

pktgen: Avoid out-of-bounds access in get_imix_entries

Published
31 Jan 2025, 11:25:40 UTC
Updated
05 Aug 2026, 11:53:35 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux52a62f8603f97e720882c8f5aff2767ac6a11d5f to < 3450092cc2d1c311c5ea92a2486daa2a33520ea5 · 52a62f8603f97e720882c8f5aff2767ac6a11d5f to < e5d24a7074dcd0c7e76b7e7e4efbbe7418d62486 · 52a62f8603f97e720882c8f5aff2767ac6a11d5f to < 7cde21f52042aa2e29a654458166b873d2ae66b3 · 52a62f8603f97e720882c8f5aff2767ac6a11d5f to < 1a9b65c672ca9dc4ba52ca2fd54329db9580ce29 · 52a62f8603f97e720882c8f5aff2767ac6a11d5f to < 76201b5979768500bca362871db66d77cb4c225e · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.177 through 5.15.* (unaffected · semver) · 6.1.127 through 6.1.* (unaffected · semver) · 6.6.74 through 6.6.* (unaffected · semver) · 6.12.11 through 6.12.* (unaffected · semver) · 6.13 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 10 kernel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
Debian bookworm linux Advisory build 6.1.128-1 DSA-5860-1
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
AlmaLinux 10 kernel-64k Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-64k-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-cross-headers Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-uki-virt Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-doc Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-headers Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules-extra-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-tools Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-tools-libs Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-tools-libs-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-uki-virt Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-uki-virt-addons Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 libperf Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 perf Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 python3-perf Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 rtla Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 rv Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
Debian bullseye linux-6.1 Advisory build 6.1.128-1~deb11u1 DLA-4076-1
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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 ]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

53

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable parser is reached only by write(2) to /proc/net/pktgen/<ifname>, requiring local access to the machine. No network-facing path reaches get_imix_entries(). AC:L - A single deterministic write() of 21 "size,weight" pairs triggers the out-of-bounds write every time; there is no race, timing window, or memory-layout condition outside the attacker's control. PR:L - pktgen_if_write() and pktgen_thread_write() contain no capable() check at all, and under `unshare -Urn` the /proc/net/pktgen entries inherit the netns owner's uid (proc_net_ns_init sets /proc/net to make_kuid(net->user_ns, 0)), so an ordinary unprivileged user owns the 0600 files in their own namespace. UI:N - The attacker performs the entire sequence themselves — create the namespace, add the device, write the imix string — with no action by any other user. S:U - The corruption is confined to kernel memory within the same security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The overwritten imix_distribution[] bytes become the array index in mod_cur_headers(), turning the bug into an out-of-bounds read of up to ~6 KB past the pktgen_dev allocation whose contents are echoed back through cur_pkt_size in the /proc output. I:H - This is an out-of-bounds write of 16 fully attacker-controlled bytes past imix_entries[], and the resulting corrupted index yields a further OOB increment (entry->count_so_far++) into neighbouring slab objects at an attacker-selected offset. A:H - The out-of-bounds access traps under CONFIG_UBSAN_BOUNDS/UBSAN_TRAP (and panics with panic_on_warn), and the stale n_imix_entries=21 plus corrupted distribution drives further OOB accesses and bogus cur_pkt_size values into skb allocation, causing kernel crashes.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 52a62f8603f97e720882c8f5aff2767ac6a11d5f to < 3450092cc2d1c311c5ea92a2486daa2a33520ea5 (affected · git)52a62f8603f97e720882c8f5aff2767ac6a11d5f to < e5d24a7074dcd0c7e76b7e7e4efbbe7418d62486 (affected · git)52a62f8603f97e720882c8f5aff2767ac6a11d5f to < 7cde21f52042aa2e29a654458166b873d2ae66b3 (affected · git)52a62f8603f97e720882c8f5aff2767ac6a11d5f to < 1a9b65c672ca9dc4ba52ca2fd54329db9580ce29 (affected · git)52a62f8603f97e720882c8f5aff2767ac6a11d5f to < 76201b5979768500bca362871db66d77cb4c225e (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.177 through 5.15.* (unaffected · semver)6.1.127 through 6.1.* (unaffected · semver)6.6.74 through 6.6.* (unaffected · semver)6.12.11 through 6.12.* (unaffected · semver)6.13 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-129 CWE-129 Improper Validation of Array Index (CISA-ADP · adp)

References

6

Provider assertions

3

Linux · cna

pktgen: Avoid out-of-bounds access in get_imix_entries

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
fe9447cef8536921f8c56c1557777c8a2d2a58cea29afe2422da0fcc2cfae176
Ingested
23 Sep 2026, 08:39:46 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected