{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-46685",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-09-11T15:12:18.248Z",
        "datePublished": "2024-09-13T05:29:17.201Z",
        "dateUpdated": "2024-09-29T15:08:41.786Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2024-09-15T17:57:37.106Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: single: fix potential NULL dereference in pcs_get_function()\n\npinmux_generic_get_function() can return NULL and the pointer 'function'\nwas dereferenced without checking against NULL. Add checking of pointer\n'function' in pcs_get_function().\n\nFound by code review."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/pinctrl/pinctrl-single.c"
                    ],
                    "versions": [
                        {
                            "version": "571aec4df5b7",
                            "lessThan": "0a2bab5ed161",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "571aec4df5b7",
                            "lessThan": "2cea369a5c2e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "571aec4df5b7",
                            "lessThan": "4e9436375fcc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "571aec4df5b7",
                            "lessThan": "6341c2856785",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "571aec4df5b7",
                            "lessThan": "8f0bd526921b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "571aec4df5b7",
                            "lessThan": "4ed45fe99ec9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "571aec4df5b7",
                            "lessThan": "292151af6add",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "571aec4df5b7",
                            "lessThan": "1c38a62f15e5",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/pinctrl/pinctrl-single.c"
                    ],
                    "versions": [
                        {
                            "version": "4.11",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.11",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "4.19.321",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "5.4.283",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "5.10.225",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "5.15.166",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "6.1.108",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "6.6.49",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "6.10.8",
                            "lessThanOrEqual": "6.10.*",
                            "status": "unaffected",
                            "versionType": "custom"
                        },
                        {
                            "version": "6.11",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/0a2bab5ed161318f57134716accba0a30f3af191"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2cea369a5c2e85ab14ae716da1d1cc6d25c85e11"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4e9436375fcc9bd2a60ee96aba6ed53f7a377d10"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6341c2856785dca7006820b127278058a180c075"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8f0bd526921b6867c2f10a83cd4fd14139adcd92"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4ed45fe99ec9e3c9478bd634624cd05a57d002f7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/292151af6add3e5ab11b2e9916cffa5f52859a1f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1c38a62f15e595346a1106025722869e87ffe044"
                }
            ],
            "title": "pinctrl: single: fix potential NULL dereference in pcs_get_function()",
            "x_generator": {
                "engine": "bippy-c9c4e1df01b2"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-09-29T15:08:28.059052Z",
                                "id": "CVE-2024-46685",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-09-29T15:08:41.786Z"
                }
            }
        ]
    }
}