CVE-2025-68258

comedi: multiq3: sanitize config options in multiq3_attach()

No CVSS score yet EPSS 0.21%

Published 16 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-68258

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-68258 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: multiq3: sanitize config options in multiq3_attach()

Syzbot identified an issue [1] in multiq3_attach() that induces a task timeout due to open() or COMEDI_DEVCONFIG ioctl operations, specifically, in the case of multiq3 driver.

This problem arose when syzkaller managed to craft weird configuration options used to specify the number of channels in encoder subdevice. If a particularly great number is passed to s->n_chan in multiq3_attach() via it->options[2], then multiple calls to multiq3_encoder_reset() at the end of driver-specific attach() method will be running for minutes, thus blocking tasks and affected devices as well.

While this issue is most likely not too dangerous for real-life devices, it still makes sense to sanitize configuration inputs. Enable a sensible limit on the number of encoder chips (4 chips max, each with 2 channels) to stop this behaviour from manifesting.

[1] Syzbot crash: INFO: task syz.2.19:6067 blocked for more than 143 seconds. ... Call Trace: <TASK> context_switch kernel/sched/core.c:5254 [inline] __schedule+0x17c4/0x4d60 kernel/sched/core.c:6862 __schedule_loop kernel/sched/core.c:6944 [inline] schedule+0x165/0x360 kernel/sched/core.c:6959 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7016 __mutex_lock_common kernel/locking/mutex.c:676 [inline] __mutex_lock+0x7e6/0x1350 kernel/locking/mutex.c:760 comedi_open+0xc0/0x590 drivers/comedi/comedi_fops.c:2868 chrdev_open+0x4cc/0x5e0 fs/char_dev.c:414 do_dentry_open+0x953/0x13f0 fs/open.c:965 vfs_open+0x3b/0x340 fs/open.c:1097 ...

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.7% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 77e01cdbad5175f56027fd6fae00bd0fc175651a, before f9ff87aac7b37d462246c46d28912d382a8e2ea6
affected from 77e01cdbad5175f56027fd6fae00bd0fc175651a, before 4cde9a7e025cc09b88097c70606f6b30c22880f4
affected from 77e01cdbad5175f56027fd6fae00bd0fc175651a, before ad7ed3c9c7b8408e8612697bc43a5441fe386c71
affected from 77e01cdbad5175f56027fd6fae00bd0fc175651a, before 049f14557450351750f929ebfff36d849511e132
affected from 77e01cdbad5175f56027fd6fae00bd0fc175651a, before 8952bc1973cd54158c35e06bfb8c29ace7375a48
affected from 77e01cdbad5175f56027fd6fae00bd0fc175651a, before 8dc2f02d3bada9247f00bfd2e5f61f68c389a0a3
affected from 77e01cdbad5175f56027fd6fae00bd0fc175651a, before 543f4c380c2e1f35e60528df7cb54705cda7fee3
affected from 77e01cdbad5175f56027fd6fae00bd0fc175651a, before f24c6e3a39fa355dabfb684c9ca82db579534e72
Other versions: unaffected
Linux
affected 2.6.30
unaffected before 2.6.30
unaffected from 5.10.248 up to and including 5.10.*
unaffected from 5.15.198 up to and including 5.15.*
unaffected from 6.1.160 up to and including 6.1.*
unaffected from 6.6.120 up to and including 6.6.*
unaffected from 6.12.62 up to and including 6.12.*
unaffected from 6.17.12 up to and including 6.17.*
unaffected from 6.18.1 up to and including 6.18.*
unaffected 6.19 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-68258 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68258

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-68258
trivy image --scanners vuln IMAGE | grep CVE-2025-68258

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-68258 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.