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.
[
{
"deprecated": false,
"target": {
"file": "drivers/pcmcia/rsrc_iodyn.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"192459221040944024716734415462633239620",
"66300149170881041035712106773017393993",
"232607330033951042948418384735539455861"
]
},
"id": "CVE-2025-39846-0a2cddcc",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ce3b7766276894d2fbb07e2047a171f9deb965de",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pcmcia/rsrc_iodyn.c",
"function": "__iodyn_find_io_region"
},
"digest": {
"function_hash": "239706650611772824176644986930422950809",
"length": 616.0
},
"id": "CVE-2025-39846-0ac82126",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ce3b7766276894d2fbb07e2047a171f9deb965de",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pcmcia/rsrc_iodyn.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"192459221040944024716734415462633239620",
"66300149170881041035712106773017393993",
"232607330033951042948418384735539455861"
]
},
"id": "CVE-2025-39846-1a59fdc4",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fafa7450075f41d232bc785a4ebcbf16374f2076",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pcmcia/rsrc_iodyn.c",
"function": "__iodyn_find_io_region"
},
"digest": {
"function_hash": "239706650611772824176644986930422950809",
"length": 616.0
},
"id": "CVE-2025-39846-290b9a7b",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d7286005e8fde0a430dc180a9f46c088c7d74483",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pcmcia/rsrc_iodyn.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"192459221040944024716734415462633239620",
"66300149170881041035712106773017393993",
"232607330033951042948418384735539455861"
]
},
"id": "CVE-2025-39846-2c21b1e3",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ee32c4c4f636e474cd8ab7c19a68cf36072ea93",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pcmcia/rsrc_iodyn.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"192459221040944024716734415462633239620",
"66300149170881041035712106773017393993",
"232607330033951042948418384735539455861"
]
},
"id": "CVE-2025-39846-31ae8edd",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d7286005e8fde0a430dc180a9f46c088c7d74483",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pcmcia/rsrc_iodyn.c",
"function": "__iodyn_find_io_region"
},
"digest": {
"function_hash": "239706650611772824176644986930422950809",
"length": 616.0
},
"id": "CVE-2025-39846-3c58ce94",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fafa7450075f41d232bc785a4ebcbf16374f2076",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pcmcia/rsrc_iodyn.c",
"function": "__iodyn_find_io_region"
},
"digest": {
"function_hash": "239706650611772824176644986930422950809",
"length": 616.0
},
"id": "CVE-2025-39846-7a894c2a",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4bd570f494124608a0696da070f00236a96fb610",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pcmcia/rsrc_iodyn.c",
"function": "__iodyn_find_io_region"
},
"digest": {
"function_hash": "239706650611772824176644986930422950809",
"length": 616.0
},
"id": "CVE-2025-39846-8af2a212",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ee32c4c4f636e474cd8ab7c19a68cf36072ea93",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/pcmcia/rsrc_iodyn.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"192459221040944024716734415462633239620",
"66300149170881041035712106773017393993",
"232607330033951042948418384735539455861"
]
},
"id": "CVE-2025-39846-a8e0747e",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4bd570f494124608a0696da070f00236a96fb610",
"signature_version": "v1"
}
]