CVE-2025-39685 Details
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.
A vulnerability in the Linux kernel's Comedi PCL726 driver allows for out-of-bounds memory access by accepting invalid interrupt request (IRQ) numbers. The issue arises when an IRQ number larger than the maximum allowable value is passed, triggering an out-of-bounds condition. The vulnerability has been addressed by implementing a check to ensure that IRQ numbers are within a valid range before they are processed. This issue affects several versions of the Linux kernel, specifically versions 5.13 and later.
Users can update to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for updating the Linux kernel can be found in the official Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-032379.html | siemens-SADP | |
| https://git.kernel.org/stable/c/0eb4ed2aa261dee228f1668dbfa6d87353e8162d | kernel.org | Patch |
| https://git.kernel.org/stable/c/5a33d07c94ba91306093e823112a7aa9727549f6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/96cb948408b3adb69df7e451ba7da9d21f814d00 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a3cfcd0c78c80ca7cd80372dc28f77d01be57bf6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bab220b0bb5af652007e278e8e8357f952b0e1ea | kernel.org | Patch |
| https://git.kernel.org/stable/c/d8992c9a01f81128f36acb7c5755530e21fcd059 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.13, < 5.15.190 >= 5.16, < 6.1.149 >= 6.2, < 6.6.103 >= 6.7, < 6.12.44 >= 6.13, < 6.16.4 6.17 rc1 6.17 rc2 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 12, 2026 | CVE Modified | siemens-SADP |
| Jan 8, 2026 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Sep 5, 2025 | New CVE Received | kernel.org |