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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-21661— gpio: virtuser: fix missing lookup table cleanups

EPSS 0.03% · P10

Affected Version Matrix 6

VendorProductVersion RangeStatus
LinuxLinux91581c4b3f29e2e22aeb1a62e842d529ca638b2d< d72d0126b1f6981f6ce8b4247305f359958c11b5affected
91581c4b3f29e2e22aeb1a62e842d529ca638b2d< a619cba8c69c434258ff4101d463322cd63e1bdcaffected
6.11affected
< 6.11unaffected
6.12.10≤ 6.12.*unaffected
6.13≤ *unaffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-21661

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
gpio: virtuser: fix missing lookup table cleanups
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: gpio: virtuser: fix missing lookup table cleanups When a virtuser device is created via configfs and the probe fails due to an incorrect lookup table, the table is not removed. This prevents subsequent probe attempts from succeeding, even if the issue is corrected, unless the device is released. Additionally, cleanup is also needed in the less likely case of platform_device_register_full() failure. Besides, a consistent memory leak in lookup_table->dev_id was spotted using kmemleak by toggling the live state between 0 and 1 with a correct lookup table. Introduce gpio_virtuser_remove_lookup_table() as the counterpart to the existing gpio_virtuser_make_lookup_table() and call it from all necessary points to ensure proper 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存在安全漏洞,该漏洞源于gpio模块中virtuser设备在探针失败时未清理查找表。这可能导致设备无法重新探测或内存泄漏。
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 91581c4b3f29e2e22aeb1a62e842d529ca638b2d ~ d72d0126b1f6981f6ce8b4247305f359958c11b5 -
LinuxLinux 6.11 -

II. Public POCs for CVE-2025-21661

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-21661

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-01-21 · 25 CVEs total

CVE-2024-57943exfat: fix the new buffer was not zeroed before writing
CVE-2024-57946virtio-blk: don't keep queue frozen during system suspend
CVE-2025-21664dm thin: make get_first_thin use rcu-safe list first function
CVE-2025-21663net: stmmac: dwmac-tegra: Read iommu stream id from device tree
CVE-2025-21662net/mlx5: Fix variable not being completed when function returns
CVE-2025-21660ksmbd: fix unexpectedly changed path in ksmbd_vfs_kern_path_locked
CVE-2025-21659netdev: prevent accessing NAPI instances from another namespace
CVE-2025-21658btrfs: avoid NULL pointer dereference if no valid extent tree
CVE-2025-21657sched_ext: Replace rq_lock() to raw_spin_rq_lock() in scx_ops_bypass()
CVE-2024-57945riscv: mm: Fix the out of bound issue of vmemmap address
CVE-2025-21656hwmon: (drivetemp) Fix driver producing garbage data when SCSI errors occur
CVE-2024-57944iio: adc: ti-ads1298: Add NULL check in ads1298_init
CVE-2024-57930tracing: Have process_string() also allow arrays
CVE-2024-57942netfs: Fix ceph copy to cache on write-begin
CVE-2024-57941netfs: Fix the (non-)cancellation of copy when cache is temporarily disabled
CVE-2024-57940exfat: fix the infinite loop in exfat_readdir()
CVE-2024-57939riscv: Fix sleeping in invalid context in die()
CVE-2024-57938net/sctp: Prevent autoclose integer overflow in sctp_association_init()
CVE-2024-57936RDMA/bnxt_re: Fix max SGEs for the Work Request
CVE-2024-57935RDMA/hns: Fix accessing invalid dip_ctx during destroying QP

Showing top 20 of 25 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-21661

No comments yet


Leave a comment