Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-21680— pktgen: Avoid out-of-bounds access in get_imix_entries

EPSS 0.02% · P6
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-21680

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
pktgen: Avoid out-of-bounds access in get_imix_entries
Source: NVD (National Vulnerability Database)
Vulnerability 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 ]
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在输入验证错误漏洞,该漏洞源于pktgen的get_imix_entries函数中对imix_entries数组的边界检查错误,导致在传递大量条目时访问数组越界,可能引发系统崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 52a62f8603f97e720882c8f5aff2767ac6a11d5f ~ 3450092cc2d1c311c5ea92a2486daa2a33520ea5 -
LinuxLinux 5.15 -

II. Public POCs for CVE-2025-21680

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-21680

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-01-31 · 20 CVEs total

CVE-2025-21673smb: client: fix double free of TCP_Server_Info::hostname
CVE-2024-57948mac802154: check local interfaces before deleting sdata list
CVE-2025-21665filemap: avoid truncating 64-bit offset to 32 bits
CVE-2025-21666vsock: prevent null-ptr-deref in vsock_*[has_data|has_space]
CVE-2025-21667iomap: avoid avoid truncating 64-bit offset to 32 bits
CVE-2025-21668pmdomain: imx8mp-blk-ctrl: add missing loop break condition
CVE-2025-21669vsock/virtio: discard packets if the transport changes
CVE-2025-21670vsock/bpf: return early if transport is not assigned
CVE-2025-21671zram: fix potential UAF of zram table
CVE-2025-21672afs: Fix merge preference rule failure condition
CVE-2025-21683bpf: Fix bpf_sk_select_reuseport() memory leak
CVE-2025-21674net/mlx5e: Fix inversion dependency warning while enabling IPsec tunnel
CVE-2025-21675net/mlx5: Clear port select structure when fail to create
CVE-2025-21676net: fec: handle page_pool_dev_alloc_pages error
CVE-2025-21677pfcp: Destroy device along with udp socket's netns dismantle.
CVE-2025-21679btrfs: add the missing error handling inside get_canonical_dev_path
CVE-2025-21678gtp: Destroy device along with udp socket's netns dismantle.
CVE-2025-21681openvswitch: fix lockup on tx to unregistering netdev with carrier
CVE-2025-21682eth: bnxt: always recalculate features after XDP clearing, fix null-deref

IV. Related Vulnerabilities

V. Comments for CVE-2025-21680

No comments yet


Leave a comment