CVE-2025-38530
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-16

Last updated on: 2025-11-03

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-16
Last Modified
2025-11-03
Generated
2026-05-07
AI Q&A
2025-08-16
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
linux linux_kernel 5.10.244
linux linux_kernel 6.1.153
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is in the Linux kernel's comedi pcl812 driver. It involves an unchecked integer value from userspace used as a bit shift amount when checking for a supported IRQ number. Because the value is unchecked, it can be negative or out of bounds, leading to a bit shift out of bounds error. The fix requires validating that the value is within the range [1,15] before performing the bit shift operation.


How can this vulnerability impact me? :

The vulnerability could allow improper handling of IRQ numbers due to out-of-bounds bit shifts, potentially leading to kernel instability or crashes. This could affect system reliability or security if exploited.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, update the Linux kernel to a version where the pcl812 driver has been fixed to properly validate the it->options[1] value before using it in bit shift operations. This prevents out-of-bounds or negative shift amounts. Until the update is applied, avoid using untrusted userspace inputs for the pcl812 device options, especially the IRQ number settings.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart