{"id":"CVE-2025-68258","aliases":["CVE-2025-68258"],"related":[],"kind":"vulnerability","state":"published","title":"comedi: multiq3: sanitize config options in multiq3_attach()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: multiq3: sanitize config options in multiq3_attach()\n\nSyzbot identified an issue [1] in multiq3_attach() that induces a\ntask timeout due to open() or COMEDI_DEVCONFIG ioctl operations,\nspecifically, in the case of multiq3 driver.\n\nThis problem arose when syzkaller managed to craft weird configuration\noptions used to specify the number of channels in encoder subdevice.\nIf a particularly great number is passed to s->n_chan in\nmultiq3_attach() via it->options[2], then multiple calls to\nmultiq3_encoder_reset() at the end of driver-specific attach() method\nwill be running for minutes, thus blocking tasks and affected devices\nas well.\n\nWhile this issue is most likely not too dangerous for real-life\ndevices, it still makes sense to sanitize configuration inputs. Enable\na sensible limit on the number of encoder chips (4 chips max, each\nwith 2 channels) to stop this behaviour from manifesting.\n\n[1] Syzbot crash:\nINFO: task syz.2.19:6067 blocked for more than 143 seconds.\n...\nCall Trace:\n <TASK>\n context_switch kernel/sched/core.c:5254 [inline]\n __schedule+0x17c4/0x4d60 kernel/sched/core.c:6862\n __schedule_loop kernel/sched/core.c:6944 [inline]\n schedule+0x165/0x360 kernel/sched/core.c:6959\n schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7016\n __mutex_lock_common kernel/locking/mutex.c:676 [inline]\n __mutex_lock+0x7e6/0x1350 kernel/locking/mutex.c:760\n comedi_open+0xc0/0x590 drivers/comedi/comedi_fops.c:2868\n chrdev_open+0x4cc/0x5e0 fs/char_dev.c:414\n do_dentry_open+0x953/0x13f0 fs/open.c:965\n vfs_open+0x3b/0x340 fs/open.c:1097\n...","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: multiq3: sanitize config options in multiq3_attach()\n\nSyzbot identified an issue [1] in multiq3_attach() that induces a\ntask timeout due to open() or COMEDI_DEVCONFIG ioctl operations,\nspecifically, in the case of multiq3 driver.\n\nThis problem arose when syzkaller managed to craft weird configuration\noptions used to specify the number of channels in encoder subdevice.\nIf a particularly great number is passed to s->n_chan in\nmultiq3_attach() via it->options[2], then multiple calls to\nmultiq3_encoder_reset() at the end of driver-specific attach() method\nwill be running for minutes, thus blocking tasks and affected devices\nas well.\n\nWhile this issue is most likely not too dangerous for real-life\ndevices, it still makes sense to sanitize configuration inputs. Enable\na sensible limit on the number of encoder chips (4 chips max, each\nwith 2 channels) to stop this behaviour from manifesting.\n\n[1] Syzbot crash:\nINFO: task syz.2.19:6067 blocked for more than 143 seconds.\n...\nCall Trace:\n <TASK>\n context_switch kernel/sched/core.c:5254 [inline]\n __schedule+0x17c4/0x4d60 kernel/sched/core.c:6862\n __schedule_loop kernel/sched/core.c:6944 [inline]\n schedule+0x165/0x360 kernel/sched/core.c:6959\n schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7016\n __mutex_lock_common kernel/locking/mutex.c:676 [inline]\n __mutex_lock+0x7e6/0x1350 kernel/locking/mutex.c:760\n comedi_open+0xc0/0x590 drivers/comedi/comedi_fops.c:2868\n chrdev_open+0x4cc/0x5e0 fs/char_dev.c:414\n do_dentry_open+0x953/0x13f0 fs/open.c:965\n vfs_open+0x3b/0x340 fs/open.c:1097\n...","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncomedi: multiq3: sanear opciones de configuración en multiq3_attach()\n\nSyzbot identificó un problema [1] en multiq3_attach() que induce un tiempo de espera agotado de tarea debido a operaciones open() o ioctl COMEDI_DEVCONFIG, específicamente, en el caso del controlador multiq3.\n\nEste problema surgió cuando syzkaller logró crear opciones de configuración extrañas utilizadas para especificar el número de canales en el subdispositivo de codificador. Si se pasa un número particularmente grande a s -> n_chan en multiq3_attach() a través de it -> options[2], entonces múltiples llamadas a multiq3_encoder_reset() al final del método attach() específico del controlador se ejecutarán durante minutos, bloqueando así las tareas y también los dispositivos afectados.\n\nSi bien este problema probablemente no sea demasiado peligroso para dispositivos de la vida real, todavía tiene sentido sanear las entradas de configuración. Habilitar un límite sensato en el número de chips de codificador (4 chips como máximo, cada uno con 2 canales) para evitar que este comportamiento se manifieste.\n\n[1] Fallo de Syzbot:\nINFO: tarea syz.2.19:6067 bloqueada durante más de 143 segundos.\n...\nTraza de Llamadas:\n <TAREA>\n context_switch kernel/sched/core.c:5254 [en línea]\n __schedule+0x17c4/0x4d60 kernel/sched/core.c:6862\n __schedule_loop kernel/sched/core.c:6944 [en línea]\n schedule+0x165/0x360 kernel/sched/core.c:6959\n schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7016\n __mutex_lock_common kernel/locking/mutex.c:676 [en línea]\n __mutex_lock+0x7e6/0x1350 kernel/locking/mutex.c:760\n comedi_open+0xc0/0x590 drivers/comedi/comedi_fops.c:2868\n chrdev_open+0x4cc/0x5e0 fs/char_dev.c:414\n do_dentry_open+0x953/0x13f0 fs/open.c:965\n vfs_open+0x3b/0x340 fs/open.c:1097\n...","source":"nvd"}],"published":"2025-12-16T14:45:00.920Z","modified":"2026-10-14T13:10:00.187Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"77e01cdbad5175f56027fd6fae00bd0fc175651a","fixed":"f9ff87aac7b37d462246c46d28912d382a8e2ea6","status":"affected"},{"type":"git","introduced":"77e01cdbad5175f56027fd6fae00bd0fc175651a","fixed":"4cde9a7e025cc09b88097c70606f6b30c22880f4","status":"affected"},{"type":"git","introduced":"77e01cdbad5175f56027fd6fae00bd0fc175651a","fixed":"ad7ed3c9c7b8408e8612697bc43a5441fe386c71","status":"affected"},{"type":"git","introduced":"77e01cdbad5175f56027fd6fae00bd0fc175651a","fixed":"049f14557450351750f929ebfff36d849511e132","status":"affected"},{"type":"git","introduced":"77e01cdbad5175f56027fd6fae00bd0fc175651a","fixed":"8952bc1973cd54158c35e06bfb8c29ace7375a48","status":"affected"},{"type":"git","introduced":"77e01cdbad5175f56027fd6fae00bd0fc175651a","fixed":"8dc2f02d3bada9247f00bfd2e5f61f68c389a0a3","status":"affected"},{"type":"git","introduced":"77e01cdbad5175f56027fd6fae00bd0fc175651a","fixed":"543f4c380c2e1f35e60528df7cb54705cda7fee3","status":"affected"},{"type":"git","introduced":"77e01cdbad5175f56027fd6fae00bd0fc175651a","fixed":"f24c6e3a39fa355dabfb684c9ca82db579534e72","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.30","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.30","status":"unaffected"},{"type":"semver","introduced":"5.10.248","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.198","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.160","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.120","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.62","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.12","lastAffected":"6.17.*","status":"unaffected"},{"type":"semver","introduced":"6.18.1","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f9ff87aac7b37d462246c46d28912d382a8e2ea6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4cde9a7e025cc09b88097c70606f6b30c22880f4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad7ed3c9c7b8408e8612697bc43a5441fe386c71","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/049f14557450351750f929ebfff36d849511e132","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8952bc1973cd54158c35e06bfb8c29ace7375a48","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8dc2f02d3bada9247f00bfd2e5f61f68c389a0a3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/543f4c380c2e1f35e60528df7cb54705cda7fee3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f24c6e3a39fa355dabfb684c9ca82db579534e72","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68258","url":"https://www.cve.org/CVERecord?id=CVE-2025-68258","licence":"CVE Terms of Use","modified":"2026-05-11T21:49:53.691Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68258","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68258","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:09.515Z","epss":{"score":0.0021,"percentile":0.11785,"date":"2026-12-01T12:00:22.000Z"}}