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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38529.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38529.json"
[
{
"signature_version": "v1",
"target": {
"file": "drivers/comedi/drivers/aio_iiro_16.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@66acb1586737a22dd7b78abc63213b1bcaa100e4",
"deprecated": false,
"digest": {
"line_hashes": [
"4114162177504634046206008290343675616",
"52013431006673562841880737900999387213",
"330927637192271504038860156749190042736",
"104699551641176853694118774318047957169"
],
"threshold": 0.9
},
"id": "CVE-2025-38529-8c57d28e",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "drivers/comedi/drivers/aio_iiro_16.c",
"function": "aio_iiro_16_attach"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@66acb1586737a22dd7b78abc63213b1bcaa100e4",
"deprecated": false,
"digest": {
"function_hash": "189964326554671977219306885526038228219",
"length": 1318.0
},
"id": "CVE-2025-38529-df25acd3",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "drivers/staging/comedi/drivers/aio_iiro_16.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ac7c60439236fb691b8c7987390e2327bbf18fa",
"deprecated": false,
"digest": {
"line_hashes": [
"4114162177504634046206008290343675616",
"52013431006673562841880737900999387213",
"330927637192271504038860156749190042736",
"104699551641176853694118774318047957169"
],
"threshold": 0.9
},
"id": "CVE-2025-38529-e7a65950",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "drivers/staging/comedi/drivers/aio_iiro_16.c",
"function": "aio_iiro_16_attach"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ac7c60439236fb691b8c7987390e2327bbf18fa",
"deprecated": false,
"digest": {
"function_hash": "189964326554671977219306885526038228219",
"length": 1318.0
},
"id": "CVE-2025-38529-fc865803",
"signature_type": "Function"
}
]