CVE-2025-38530

comedi: pcl812: Fix bit shift out of bounds

No CVSS score yet EPSS 0.21%

Published 16 Aug 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-38530

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38530 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.8% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, before 374d9b3eb4b08407997ef1fce96119d31e0c0bc4
affected from fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, before 0489c30d080f07cc7f09d04de723d8c2ccdb61ef
affected from fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, before 29ef03e5b84431171d6b77b822985b54bc44b793
affected from fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, before 5bfa301e1e59a9b1a7b62a800b54852337c97416
affected from fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, before 7e470d8efd10725b189ca8951973a8425932398a
affected from fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, before a27e27eee313fe1c450b6af1e80e64412546cab4
affected from fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, before 16c173abee315953fd17a279352fec4a1faee862
affected from fcdb427bc7cf5e9e5d7280cf09c08dec49b49432, before b14b076ce593f72585412fc7fd3747e03a5e3632
Other versions: unaffected
Linux
affected 2.6.30
unaffected before 2.6.30
unaffected from 5.4.297 up to and including 5.4.*
unaffected from 5.10.241 up to and including 5.10.*
unaffected from 5.15.190 up to and including 5.15.*
unaffected from 6.1.147 up to and including 6.1.*
unaffected from 6.6.100 up to and including 6.6.*
unaffected from 6.12.40 up to and including 6.12.*
unaffected from 6.15.8 up to and including 6.15.*
unaffected 6.16 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38530 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38530

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-38530
trivy image --scanners vuln IMAGE | grep CVE-2025-38530

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-38530 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.