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