CVE-2025-39685
Last modified
CVE-2025-39685 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: comedi: pcl726: Prevent invalid irq number The reproducer passed in an irq number(0x80008000) that was too large, which triggered the oob. Added an interrupt number check to prevent users from passing in an irq number that was too large. If `it->options[1]` is 31, then `1 << it->options[1]` is still invalid because it shifts a 1-bit into the sign bit (which is UB in C). Possible solutions include reducing the upper bound on the `it->options[1]` value to 30 or lower, or using `1U << it->options[1]`. The old code would just not attempt to request the IRQ if the `options[1]` value were invalid. And it would still configure the device without interrupts even if the call to `request_irq` returned an error. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: comedi: pcl726: Prevent invalid irq number The reproducer passed in an irq number(0x80008000) that was too large, which triggered the oob. Added an interrupt number check to prevent users from passing in an irq number that was too large. If `it->options[1]` is 31, then `1 << it->options[1]` is still invalid because it shifts a 1-bit into the sign bit (which is UB in C). Possible solutions include reducing the upper bound on the `it->options[1]` value to 30 or lower, or using `1U << it->options[1]`. The old code would just not attempt to request the IRQ if the `options[1]` value were invalid. And it would still configure the device without interrupts even if the call to `request_irq` returned an error. So it would be better to combine this test with the test below.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 3.13, < 5.15.190 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.149 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.103 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.44 | — |
| Linux | Linux Kernel | >= 6.13, < 6.16.4 | — |
| Linux | Linux Kernel | 6.17 | Rc1 |
| Debian | Debian Linux | 11.0 | — |
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-39685?
How severe is CVE-2025-39685?
How do I fix CVE-2025-39685?
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-3968A vulnerability was found in codeprojects News Publishing Si…8.8
- CVE-2025-39680In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-39681In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39682In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-39683In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-39684In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39686In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-39687In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-39688In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39689In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-3969A vulnerability was found in codeprojects News Publishing Si…9.8
- CVE-2025-39690In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-39685?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
