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