CVE-2025-68258: comedi: multiq3: sanitize config options in multiq3_attach()

Published Dec 16, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

comedi: multiq3: sanitize config options in multiq3attach()

Syzbot identified an issue [1] in multiq3attach() that induces a task timeout due to open() or COMEDIDEVCONFIG 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->nchan in multiq3attach() via it->options[2], then multiple calls to multiq3encoderreset() 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> contextswitch kernel/sched/core.c:5254 [inline] schedule+0x17c4/0x4d60 kernel/sched/core.c:6862 scheduleloop kernel/sched/core.c:6944 [inline] schedule+0x165/0x360 kernel/sched/core.c:6959 schedulepreemptdisabled+0x13/0x30 kernel/sched/core.c:7016 mutexlockcommon kernel/locking/mutex.c:676 [inline] mutexlock+0x7e6/0x1350 kernel/locking/mutex.c:760 comediopen+0xc0/0x590 drivers/comedi/comedifops.c:2868 chrdevopen+0x4cc/0x5e0 fs/chardev.c:414 dodentryopen+0x953/0x13f0 fs/open.c:965 vfsopen+0x3b/0x340 fs/open.c:1097 ...

Affected Software

2 affected components
linux/kernel
Microsoft azl3 kernel 6.6.117.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Sanitize multiq3 configuration inputs and enforce a maximum of 4 encoder chips, each with 2 channels, to prevent excessive encoder-reset operations from blocking tasks or devices.

    Linux kernel comedi multiq3 driver encoder chip/channel count limit = maximum 4 encoder chips, with 2 channels per chip

Event History

Dec 16, 2025
CVE Published
via MITRE·02:45 PM
Data Sourced
via MITRE·02:45 PM
Description
Data Sourced
via NVD·03:15 PM
Description
Dec 17, 2025
Data Sourced
via Microsoft·01:05 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-68258?

CVE-2025-68258 is classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-68258?

To fix CVE-2025-68258, update your Linux kernel to the latest version where the vulnerability has been patched.

3

What is the impact of CVE-2025-68258?

CVE-2025-68258 can cause task timeouts during open() or COMEDI_DEVCONFIG ioctl operations, affecting system stability.

4

Which versions of the Linux kernel are affected by CVE-2025-68258?

CVE-2025-68258 affects the Linux kernel versions prior to the fix implemented following the vulnerability report.

5

What components are involved in CVE-2025-68258?

CVE-2025-68258 specifically affects the comedi subsystem, particularly in the multiq3_attach() function.

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