CVE-2025-39685
comedi: pcl726: Prevent invalid irq number
Reported by linux · Published September 5, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| SIMATIC CN 4100 | Siemens | 5.0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | fff46207245cd9e39c05b638afaee2478e64914b, fff46207245cd9e39c05b638afaee2478e64914b, fff46207245cd9e39c05b638afaee2478e64914b |
| Linux | Linux | 3.13, 0, 5.15.190 |
| Siemens | SIMATIC CN 4100 | 0 |
| Linux | Linux Kernel | |
| linux | linux_kernel | 3.13, 3.13, 3.13 |
| Linux | Linux | *, 3.13, 0 |
Timeline
- Sep 5, 2025 CVE Published
- Sep 6, 2025 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 PoC Published (16 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (153 in total, the first dated here)
- Mar 29, 2026 Security Advisory (168 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-39685
vulnetix vdb fixes CVE-2025-39685
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-39685/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart