CVE-2025-38530: comedi: pcl812: Fix bit shift out of bounds

Published Aug 16, 2025
·
Updated

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

15 affected components
The Linux Foundation Linux Kernel
Linux Linux kernel>=2.6.30<5.4.297
Linux Linux kernel>=5.5<5.10.241
Linux Linux kernel>=5.11<5.15.190
Linux Linux kernel>=5.16<6.1.147
Linux Linux kernel>=6.2<6.6.100
Linux Linux kernel>=6.7<6.12.40
Linux Linux kernel>=6.13<6.15.8
Linux Linux kernel=6.16-rc1
Linux Linux kernel=6.16-rc2
Linux Linux kernel=6.16-rc3
Linux Linux kernel=6.16-rc4
Linux Linux kernel=6.16-rc5
Linux Linux kernel=6.16-rc6
Debian Debian Linux=11.0

Event History

Aug 16, 2025
CVE Published
via MITRE·11:12 AM
Data Sourced
via MITRE·11:12 AM
Description
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38530?

CVE-2025-38530 has been rated as a moderate severity vulnerability in the Linux kernel.

2

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.

3

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.

4

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.

5

Can CVE-2025-38530 be exploited remotely?

The exploitation of CVE-2025-38530 typically requires local access, making remote exploitation unlikely.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203