CVE-2025-38530 Details
Description
In the Linux kernel, the following vulnerability has been resolved: comedi: pcl812: Fix bit shift out of bounds When checking for a supported IRQ number, the following test is used: if ((1 << it->options[1]) & board->irq_bits) { However, `it->options[i]` is an unchecked `int` value from userspace, so the shift amount could be negative or out of bounds. Fix the test by requiring `it->options[1]` to be within bounds before proceeding with the original test. Valid `it->options[1]` values that select the IRQ will be in the range [1,15]. The value 0 explicitly disables the use of interrupts.
A vulnerability in the Linux kernel's Comedi PCL812 driver allows for an out-of-bounds bit shift when handling IRQ numbers. The issue arises because 'it->options[1]' is an unchecked integer from userspace, which could lead to negative or out-of-bounds shift amounts. This vulnerability affects several versions of the Linux kernel, specifically in the stable branch, and has been addressed by adding a bounds check to ensure that 'it->options[1]' is within a valid range before performing the bit shift operation.
Users can update to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched kernel are available on the official Linux kernel website.
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://git.kernel.org/stable/c/0489c30d080f07cc7f09d04de723d8c2ccdb61ef | kernel.org | Patch |
| https://git.kernel.org/stable/c/16c173abee315953fd17a279352fec4a1faee862 | kernel.org | Patch |
| https://git.kernel.org/stable/c/29ef03e5b84431171d6b77b822985b54bc44b793 | kernel.org | Patch |
| https://git.kernel.org/stable/c/374d9b3eb4b08407997ef1fce96119d31e0c0bc4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5bfa301e1e59a9b1a7b62a800b54852337c97416 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7e470d8efd10725b189ca8951973a8425932398a | kernel.org | Patch |
| https://git.kernel.org/stable/c/a27e27eee313fe1c450b6af1e80e64412546cab4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b14b076ce593f72585412fc7fd3747e03a5e3632 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html | CVE | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 2.6.30, < 5.4.297 >= 5.5, < 5.10.241 >= 5.11, < 5.15.190 >= 5.16, < 6.1.147 >= 6.2, < 6.6.100 >= 6.7, < 6.12.40 >= 6.13, < 6.15.8 6.16 rc1 6.16 rc2 6.16 rc3 6.16 rc4 6.16 rc5 6.16 rc6 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 7, 2026 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Aug 28, 2025 | CVE Modified | kernel.org |
| Aug 16, 2025 | New CVE Received | kernel.org |