In the Linux kernel, the following vulnerability has been resolved:
comedi: aioiiro16: Fix bit shift out of bounds
When checking for a supported IRQ number, the following test is used:
if ((1 << it->options[1]) & 0xdcfc) {
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.
[
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e0f3c0867d7d231c70984f05c97752caacd0daba",
"digest": {
"threshold": 0.9,
"line_hashes": [
"4114162177504634046206008290343675616",
"52013431006673562841880737900999387213",
"330927637192271504038860156749190042736",
"104699551641176853694118774318047957169"
]
},
"target": {
"file": "drivers/comedi/drivers/aio_iiro_16.c"
},
"id": "CVE-2025-38529-3fa1edde",
"signature_version": "v1",
"signature_type": "Line"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e0f3c0867d7d231c70984f05c97752caacd0daba",
"digest": {
"function_hash": "189964326554671977219306885526038228219",
"length": 1318.0
},
"target": {
"function": "aio_iiro_16_attach",
"file": "drivers/comedi/drivers/aio_iiro_16.c"
},
"id": "CVE-2025-38529-b43578a7",
"signature_version": "v1",
"signature_type": "Function"
}
]