In the Linux kernel, the following vulnerability has been resolved:
pcmcia: Fix a NULL pointer dereference in _iodynfindioregion()
In _iodynfindioregion(), pcmciamakeresource() is assigned to res and used in pcibusallocresource(). There is a dereference of res in pcibusallocresource(), which could lead to a NULL pointer dereference on failure of pcmciamakeresource().
Fix this bug by adding a check of res.
[
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ff2826c998370bf7f9ae26fe802140d220e3510",
"deprecated": false,
"id": "CVE-2025-39846-01a4bf1d",
"signature_type": "Function",
"digest": {
"length": 616.0,
"function_hash": "239706650611772824176644986930422950809"
},
"target": {
"function": "__iodyn_find_io_region",
"file": "drivers/pcmcia/rsrc_iodyn.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ce3b7766276894d2fbb07e2047a171f9deb965de",
"deprecated": false,
"id": "CVE-2025-39846-0a2cddcc",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"192459221040944024716734415462633239620",
"66300149170881041035712106773017393993",
"232607330033951042948418384735539455861"
]
},
"target": {
"file": "drivers/pcmcia/rsrc_iodyn.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ce3b7766276894d2fbb07e2047a171f9deb965de",
"deprecated": false,
"id": "CVE-2025-39846-0ac82126",
"signature_type": "Function",
"digest": {
"length": 616.0,
"function_hash": "239706650611772824176644986930422950809"
},
"target": {
"function": "__iodyn_find_io_region",
"file": "drivers/pcmcia/rsrc_iodyn.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fafa7450075f41d232bc785a4ebcbf16374f2076",
"deprecated": false,
"id": "CVE-2025-39846-1a59fdc4",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"192459221040944024716734415462633239620",
"66300149170881041035712106773017393993",
"232607330033951042948418384735539455861"
]
},
"target": {
"file": "drivers/pcmcia/rsrc_iodyn.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ee32c4c4f636e474cd8ab7c19a68cf36072ea93",
"deprecated": false,
"id": "CVE-2025-39846-2c21b1e3",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"192459221040944024716734415462633239620",
"66300149170881041035712106773017393993",
"232607330033951042948418384735539455861"
]
},
"target": {
"file": "drivers/pcmcia/rsrc_iodyn.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fafa7450075f41d232bc785a4ebcbf16374f2076",
"deprecated": false,
"id": "CVE-2025-39846-3c58ce94",
"signature_type": "Function",
"digest": {
"length": 616.0,
"function_hash": "239706650611772824176644986930422950809"
},
"target": {
"function": "__iodyn_find_io_region",
"file": "drivers/pcmcia/rsrc_iodyn.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ff2826c998370bf7f9ae26fe802140d220e3510",
"deprecated": false,
"id": "CVE-2025-39846-53737ce9",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"192459221040944024716734415462633239620",
"66300149170881041035712106773017393993",
"232607330033951042948418384735539455861"
]
},
"target": {
"file": "drivers/pcmcia/rsrc_iodyn.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4bd570f494124608a0696da070f00236a96fb610",
"deprecated": false,
"id": "CVE-2025-39846-7a894c2a",
"signature_type": "Function",
"digest": {
"length": 616.0,
"function_hash": "239706650611772824176644986930422950809"
},
"target": {
"function": "__iodyn_find_io_region",
"file": "drivers/pcmcia/rsrc_iodyn.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ee32c4c4f636e474cd8ab7c19a68cf36072ea93",
"deprecated": false,
"id": "CVE-2025-39846-8af2a212",
"signature_type": "Function",
"digest": {
"length": 616.0,
"function_hash": "239706650611772824176644986930422950809"
},
"target": {
"function": "__iodyn_find_io_region",
"file": "drivers/pcmcia/rsrc_iodyn.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4bd570f494124608a0696da070f00236a96fb610",
"deprecated": false,
"id": "CVE-2025-39846-a8e0747e",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"192459221040944024716734415462633239620",
"66300149170881041035712106773017393993",
"232607330033951042948418384735539455861"
]
},
"target": {
"file": "drivers/pcmcia/rsrc_iodyn.c"
}
}
]