CVE-2025-38530: comedi: pcl812: Fix bit shift out of bounds
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->irqbits) {
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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-38530?
CVE-2025-38530 has been rated as a moderate severity vulnerability in the Linux kernel.
How do I fix CVE-2025-38530?
To fix CVE-2025-38530, update your Linux kernel to the latest version where the vulnerability has been patched.
What systems are affected by CVE-2025-38530?
CVE-2025-38530 affects installations of the Linux kernel that utilize the comedi driver for PCL812 devices.
What type of vulnerability is CVE-2025-38530?
CVE-2025-38530 is a bit shift out of bounds vulnerability that may lead to unexpected behavior in the affected software.
Can CVE-2025-38530 be exploited remotely?
The exploitation of CVE-2025-38530 typically requires local access, making remote exploitation unlikely.