CVE-2025-21661
Last modified
CVE-2025-21661 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.11, < 6.12.10 | — |
| Linux | Linux Kernel | 6.13 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-21661?
How severe is CVE-2025-21661?
How do I fix CVE-2025-21661?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-21656In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21657In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21658In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21659In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-2166The CM FAQ – Simplify support with an intuitive FAQ managem…6.1
- CVE-2025-21660In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21662In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21663In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21664In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21665In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21666In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21667In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-21661?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
