CVE-2025-39685
comedi: pcl726: Prevent invalid irq number
Mitigation
- Upgrade Linux to 96cb948408b3adb69df7e451ba7da9d21f814d00 or later.
Who should check
- Anyone running Linux >= fff46207245cd9e39c05b638afaee2478e64914b, < bab220b0bb5af652007e278e8e8357f952b0e1ea; >= fff46207245cd9e39c05b638afaee2478e64914b, < 5a33d07c94ba91306093e823112a7aa9727549f6; >= fff46207245cd9e39c05b638afaee2478e64914b, < 0eb4ed2aa261dee228f1668dbfa6d87353e8162d; >= fff46207245cd9e39c05b638afaee2478e64914b, < a3cfcd0c78c80ca7cd80372dc28f77d01be57bf6; >= fff46207245cd9e39c05b638afaee2478e64914b, < d8992c9a01f81128f36acb7c5755530e21fcd059; >= fff46207245cd9e39c05b638afaee2478e64914b, < 96cb948408b3adb69df7e451ba7da9d21f814d00
- Anyone running Linux 3.13
Vulnerability facts
- Affected
- Linux >= fff46207245cd9e39c05b638afaee2478e64914b, < bab220b0bb5af652007e278e8e8357f952b0e1ea; >= fff46207245cd9e39c05b638afaee2478e64914b, < 5a33d07c94ba91306093e823112a7aa9727549f6; >= fff46207245cd9e39c05b638afaee2478e64914b, < 0eb4ed2aa261dee228f1668dbfa6d87353e8162d; >= fff46207245cd9e39c05b638afaee2478e64914b, < a3cfcd0c78c80ca7cd80372dc28f77d01be57bf6; >= fff46207245cd9e39c05b638afaee2478e64914b, < d8992c9a01f81128f36acb7c5755530e21fcd059; >= fff46207245cd9e39c05b638afaee2478e64914b, < 96cb948408b3adb69df7e451ba7da9d21f814d00; Linux 3.13
- Fixed in
- Linux 5a33d07c94ba91306093e823112a7aa9727549f6, Linux 0eb4ed2aa261dee228f1668dbfa6d87353e8162d, Linux 96cb948408b3adb69df7e451ba7da9d21f814d00
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
- CWE
- CWE-125
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= fff46207245cd9e39c05b638afaee2478e64914b, < bab220b0bb5af652007e278e8e8357f952b0e1ea; >= fff46207245cd9e39c05b638afaee2478e64914b, < 5a33d07c94ba91306093e823112a7aa9727549f6; >= fff46207245cd9e39c05b638afaee2478e64914b, < 0eb4ed2aa261dee228f1668dbfa6d87353e8162d; >= fff46207245cd9e39c05b638afaee2478e64914b, < a3cfcd0c78c80ca7cd80372dc28f77d01be57bf6; >= fff46207245cd9e39c05b638afaee2478e64914b, < d8992c9a01f81128f36acb7c5755530e21fcd059; >= fff46207245cd9e39c05b638afaee2478e64914b, < 96cb948408b3adb69df7e451ba7da9d21f814d00 | — | cvelist |
| Linux | 3.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-39685. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-39685.md Affected: Linux >= fff46207245cd9e39c05b638afaee2478e64914b, < bab220b0bb5af652007e278e8e8357f952b0e1ea; >= fff46207245cd9e39c05b638afaee2478e64914b, < 5a33d07c94ba91306093e823112a7aa9727549f6; >= fff46207245cd9e39c05b638afaee2478e64914b, < 0eb4ed2aa261dee228f1668dbfa6d87353e8162d; >= fff46207245cd9e39c05b63… Fixed in: Linux 5a33d07c94ba91306093e823112a7aa9727549f6, Linux 0eb4ed2aa261dee228f1668dbfa6d87353e8162d, Linux 96cb948408b3adb69df7e451ba7da9d21f814d00 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/bab220b0bb5af652007e278e8e8357f952b0e1ea
- https://git.kernel.org/stable/c/5a33d07c94ba91306093e823112a7aa9727549f6
- https://git.kernel.org/stable/c/0eb4ed2aa261dee228f1668dbfa6d87353e8162d
- https://git.kernel.org/stable/c/a3cfcd0c78c80ca7cd80372dc28f77d01be57bf6
- https://git.kernel.org/stable/c/d8992c9a01f81128f36acb7c5755530e21fcd059
- https://git.kernel.org/stable/c/96cb948408b3adb69df7e451ba7da9d21f814d00
FAQ
Is CVE-2025-39685 being exploited?
There is no confirmed exploitation: CVE-2025-39685 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-39685?
High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-39685?
Linux >= fff46207245cd9e39c05b638afaee2478e64914b, < bab220b0bb5af652007e278e8e8357f952b0e1ea; >= fff46207245cd9e39c05b638afaee2478e64914b, < 5a33d07c94ba91306093e823112a7aa9727549f6; >= fff46207245cd9e39c05b638afaee2478e64914b, < 0eb4ed2aa261dee228f1668dbfa6d87353e8162d; >= fff46207245cd9e39c05b638afaee2478e64914b, < a3cfcd0c78c80ca7cd80372dc28f77d01be57bf6; >= fff46207245cd9e39c05b638afaee2478e64914b, < d8992c9a01f81128f36acb7c5755530e21fcd059; >= fff46207245cd9e39c05b638afaee2478e64914b, < 96cb948408b3adb69df7e451ba7da9d21f814d00; Linux 3.13.
Is there a fix for CVE-2025-39685?
Yes. Fixed in Linux 5a33d07c94ba91306093e823112a7aa9727549f6, Linux 0eb4ed2aa261dee228f1668dbfa6d87353e8162d, Linux 96cb948408b3adb69df7e451ba7da9d21f814d00. Upgrade Linux to 96cb948408b3adb69df7e451ba7da9d21f814d00 or later.
How do I check if I'm affected by CVE-2025-39685?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.