Critical Vulnerability in Linux Kernel: comedi: pcl812 Bit Shift Out of Bounds
Summary
CVE-2025-38530: 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 options[1]) & board->irq_bits)... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is a core component of many operating systems, providing essential services for hardware and software management. It is known for its stability, performance, and security features. However, vulnerabilities can arise, such as the one affecting the 'comedi' subsystem, which is responsible for data acquisition and control in various hardware devices. This specific vulnerability can lead to potential system instability or exploitation due to unchecked user input.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the comedi driver for the pcl812 device. The issue arises from an unchecked integer value from userspace, which is used in a bit shift operation. This can lead to a shift amount that is negative or out of bounds, potentially causing unexpected behavior or crashes. The vulnerability is particularly concerning as it allows for the possibility of exploiting the system through invalid IRQ number checks, which could lead to denial of service or other malicious activities.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
Currently, there are no specific workarounds mentioned for this vulnerability. However, it is advisable to limit access to the affected hardware or disable the comedi driver if it is not in use until the patch is applied.
Conclusion
The vulnerability CVE-2025-38530 in the Linux kernel's comedi driver poses significant risks due to unchecked user input leading to bit shifts out of bounds. It is crucial for users to update their systems to the patched versions to ensure security and stability. Monitoring tools like Vulert can assist in identifying such vulnerabilities in the future.
See every vulnerability recorded for linux →
FAQ
CVE-2025-38530 is a vulnerability in the Linux kernel's comedi driver that allows for bit shifts out of bounds due to unchecked user input.
Exploitation of this vulnerability could lead to system instability, crashes, or unauthorized access, depending on how the comedi driver is utilized.
Yes, patches are available for Debian 12 and 13. Users should upgrade to the specified patched versions to mitigate the risk.
If immediate updates are not possible, consider limiting access to the affected hardware or disabling the comedi driver until a patch can be applied.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just a manifest file. You can check your application for vulnerabilities without signup at the Vulert playground.
Related vulnerabilities
Recent vulnerabilities recorded for linux.