In the Linux kernel, the following vulnerability has been resolved:
pinctrl: single: fix potential NULL dereference in pcsgetfunction()
pinmuxgenericgetfunction() can return NULL and the pointer 'function' was dereferenced without checking against NULL. Add checking of pointer 'function' in pcsget_function().
Found by code review.
[
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-114b5e3f",
        "digest": {
            "length": 489.0,
            "function_hash": "3870412590669672342071398620815392849"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0a2bab5ed161318f57134716accba0a30f3af191",
        "target": {
            "function": "pcs_get_function",
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-73a90d11",
        "digest": {
            "length": 489.0,
            "function_hash": "3870412590669672342071398620815392849"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8f0bd526921b6867c2f10a83cd4fd14139adcd92",
        "target": {
            "function": "pcs_get_function",
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-73e2ff02",
        "digest": {
            "length": 489.0,
            "function_hash": "3870412590669672342071398620815392849"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ed45fe99ec9e3c9478bd634624cd05a57d002f7",
        "target": {
            "function": "pcs_get_function",
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-7b1fbf13",
        "digest": {
            "line_hashes": [
                "192733975227186293455339484821329651633",
                "21190340924564271877527083110471021852",
                "97343876286120846996282143356256128338",
                "137403548530796602658568815295253962484"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ed45fe99ec9e3c9478bd634624cd05a57d002f7",
        "target": {
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-8098addc",
        "digest": {
            "length": 489.0,
            "function_hash": "3870412590669672342071398620815392849"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c38a62f15e595346a1106025722869e87ffe044",
        "target": {
            "function": "pcs_get_function",
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-9ac0b60c",
        "digest": {
            "line_hashes": [
                "192733975227186293455339484821329651633",
                "21190340924564271877527083110471021852",
                "97343876286120846996282143356256128338",
                "137403548530796602658568815295253962484"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@292151af6add3e5ab11b2e9916cffa5f52859a1f",
        "target": {
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-a19e6711",
        "digest": {
            "line_hashes": [
                "192733975227186293455339484821329651633",
                "21190340924564271877527083110471021852",
                "97343876286120846996282143356256128338",
                "137403548530796602658568815295253962484"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e9436375fcc9bd2a60ee96aba6ed53f7a377d10",
        "target": {
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-ab606f59",
        "digest": {
            "line_hashes": [
                "192733975227186293455339484821329651633",
                "21190340924564271877527083110471021852",
                "97343876286120846996282143356256128338",
                "137403548530796602658568815295253962484"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0a2bab5ed161318f57134716accba0a30f3af191",
        "target": {
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-af758b99",
        "digest": {
            "line_hashes": [
                "192733975227186293455339484821329651633",
                "21190340924564271877527083110471021852",
                "97343876286120846996282143356256128338",
                "137403548530796602658568815295253962484"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2cea369a5c2e85ab14ae716da1d1cc6d25c85e11",
        "target": {
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-b44a5b9b",
        "digest": {
            "line_hashes": [
                "192733975227186293455339484821329651633",
                "21190340924564271877527083110471021852",
                "97343876286120846996282143356256128338",
                "137403548530796602658568815295253962484"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6341c2856785dca7006820b127278058a180c075",
        "target": {
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-b5df1f0d",
        "digest": {
            "length": 489.0,
            "function_hash": "3870412590669672342071398620815392849"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@292151af6add3e5ab11b2e9916cffa5f52859a1f",
        "target": {
            "function": "pcs_get_function",
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-d303d666",
        "digest": {
            "line_hashes": [
                "192733975227186293455339484821329651633",
                "21190340924564271877527083110471021852",
                "97343876286120846996282143356256128338",
                "137403548530796602658568815295253962484"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8f0bd526921b6867c2f10a83cd4fd14139adcd92",
        "target": {
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-dcc92a17",
        "digest": {
            "length": 489.0,
            "function_hash": "3870412590669672342071398620815392849"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2cea369a5c2e85ab14ae716da1d1cc6d25c85e11",
        "target": {
            "function": "pcs_get_function",
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-e33f0520",
        "digest": {
            "line_hashes": [
                "192733975227186293455339484821329651633",
                "21190340924564271877527083110471021852",
                "97343876286120846996282143356256128338",
                "137403548530796602658568815295253962484"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1c38a62f15e595346a1106025722869e87ffe044",
        "target": {
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-f0d02000",
        "digest": {
            "length": 489.0,
            "function_hash": "3870412590669672342071398620815392849"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6341c2856785dca7006820b127278058a180c075",
        "target": {
            "function": "pcs_get_function",
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2024-46685-f17fcce8",
        "digest": {
            "length": 489.0,
            "function_hash": "3870412590669672342071398620815392849"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4e9436375fcc9bd2a60ee96aba6ed53f7a377d10",
        "target": {
            "function": "pcs_get_function",
            "file": "drivers/pinctrl/pinctrl-single.c"
        }
    }
]