# CVE-2025-68258: comedi: multiq3: sanitize config options in multiq3\_attach()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-16T14:45:00.920Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< f9ff87aac7b37d462246c46d28912d382a8e2ea6; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< 4cde9a7e025cc09b88097c70606f6b30c22880f4; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< ad7ed3c9c7b8408e8612697bc43a5441fe386c71; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< 049f14557450351750f929ebfff36d849511e132; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< 8952bc1973cd54158c35e06bfb8c29ace7375a48; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< 8dc2f02d3bada9247f00bfd2e5f61f68c389a0a3; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< 543f4c380c2e1f35e60528df7cb54705cda7fee3; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< f24c6e3a39fa355dabfb684c9ca82db579534e72
- Anyone running Linux 2.6.30

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

## Affected and fixed versions

- Linux: \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< f9ff87aac7b37d462246c46d28912d382a8e2ea6; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< 4cde9a7e025cc09b88097c70606f6b30c22880f4; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< ad7ed3c9c7b8408e8612697bc43a5441fe386c71; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< 049f14557450351750f929ebfff36d849511e132; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< 8952bc1973cd54158c35e06bfb8c29ace7375a48; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< 8dc2f02d3bada9247f00bfd2e5f61f68c389a0a3; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< 543f4c380c2e1f35e60528df7cb54705cda7fee3; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< f24c6e3a39fa355dabfb684c9ca82db579534e72 (cvelist)
- Linux: 2.6.30 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68258. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68258.md
Affected: Linux >= 77e01cdbad5175f56027fd6fae00bd0fc175651a, < f9ff87aac7b37d462246c46d28912d382a8e2ea6; >= 77e01cdbad5175f56027fd6fae00bd0fc175651a, < 4cde9a7e025cc09b88097c70606f6b30c22880f4; >= 77e01cdbad5175f56027fd6fae00bd0fc175651a, < ad7ed3c9c7b8408e8612697bc43a5441fe386c71; >= 77e01cdbad5175f56027fd6…
Fixed in: Linux 4cde9a7e025cc09b88097c70606f6b30c22880f4, Linux 049f14557450351750f929ebfff36d849511e132, Linux 8952bc1973cd54158c35e06bfb8c29ace7375a48, Linux 8dc2f02d3bada9247f00bfd2e5f61f68c389a0a3, Linux 543f4c380c2e1f35e60528df7cb54705cda7fee3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68258 being exploited?

There is no confirmed exploitation: CVE-2025-68258 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68258?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68258?

Linux \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< f9ff87aac7b37d462246c46d28912d382a8e2ea6; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< 4cde9a7e025cc09b88097c70606f6b30c22880f4; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< ad7ed3c9c7b8408e8612697bc43a5441fe386c71; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< 049f14557450351750f929ebfff36d849511e132; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< 8952bc1973cd54158c35e06bfb8c29ace7375a48; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< 8dc2f02d3bada9247f00bfd2e5f61f68c389a0a3; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< 543f4c380c2e1f35e60528df7cb54705cda7fee3; \>= 77e01cdbad5175f56027fd6fae00bd0fc175651a, \< f24c6e3a39fa355dabfb684c9ca82db579534e72; Linux 2.6.30.

### Is there a fix for CVE-2025-68258?

Yes. Fixed in Linux 4cde9a7e025cc09b88097c70606f6b30c22880f4, Linux 049f14557450351750f929ebfff36d849511e132, Linux 8952bc1973cd54158c35e06bfb8c29ace7375a48, Linux 8dc2f02d3bada9247f00bfd2e5f61f68c389a0a3, Linux 543f4c380c2e1f35e60528df7cb54705cda7fee3. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68258?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/f9ff87aac7b37d462246c46d28912d382a8e2ea6>
- other: <https://git.kernel.org/stable/c/4cde9a7e025cc09b88097c70606f6b30c22880f4>
- other: <https://git.kernel.org/stable/c/ad7ed3c9c7b8408e8612697bc43a5441fe386c71>
- other: <https://git.kernel.org/stable/c/049f14557450351750f929ebfff36d849511e132>
- other: <https://git.kernel.org/stable/c/8952bc1973cd54158c35e06bfb8c29ace7375a48>
- other: <https://git.kernel.org/stable/c/8dc2f02d3bada9247f00bfd2e5f61f68c389a0a3>
- other: <https://git.kernel.org/stable/c/543f4c380c2e1f35e60528df7cb54705cda7fee3>
- other: <https://git.kernel.org/stable/c/f24c6e3a39fa355dabfb684c9ca82db579534e72>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68258>

HTML: <https://flawdb.com/CVE-2025-68258> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68258>
