{"id":"CVE-2024-46685","aliases":["CVE-2024-46685"],"related":[],"kind":"vulnerability","state":"published","title":"pinctrl: single: fix potential NULL dereference in pcs_get_function()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: pinctrl: single: se corrige una posible desreferenciación de NULL en pcs_get_function(). pinmux_generic_get_function() puede devolver NULL y el puntero 'función' se desreferenciaba sin comprobar si era NULL. Se ha añadido la comprobación del puntero 'función' en pcs_get_function(). Se ha encontrado mediante una revisión de código.","source":"nvd"}],"published":"2024-09-13T05:29:17.201Z","modified":"2026-06-17T07:55:43.723Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"571aec4df5b72a80f80d1e524da8fbd7ff525c98","fixed":"0a2bab5ed161318f57134716accba0a30f3af191","status":"affected"},{"type":"git","introduced":"571aec4df5b72a80f80d1e524da8fbd7ff525c98","fixed":"2cea369a5c2e85ab14ae716da1d1cc6d25c85e11","status":"affected"},{"type":"git","introduced":"571aec4df5b72a80f80d1e524da8fbd7ff525c98","fixed":"4e9436375fcc9bd2a60ee96aba6ed53f7a377d10","status":"affected"},{"type":"git","introduced":"571aec4df5b72a80f80d1e524da8fbd7ff525c98","fixed":"6341c2856785dca7006820b127278058a180c075","status":"affected"},{"type":"git","introduced":"571aec4df5b72a80f80d1e524da8fbd7ff525c98","fixed":"8f0bd526921b6867c2f10a83cd4fd14139adcd92","status":"affected"},{"type":"git","introduced":"571aec4df5b72a80f80d1e524da8fbd7ff525c98","fixed":"4ed45fe99ec9e3c9478bd634624cd05a57d002f7","status":"affected"},{"type":"git","introduced":"571aec4df5b72a80f80d1e524da8fbd7ff525c98","fixed":"292151af6add3e5ab11b2e9916cffa5f52859a1f","status":"affected"},{"type":"git","introduced":"571aec4df5b72a80f80d1e524da8fbd7ff525c98","fixed":"1c38a62f15e595346a1106025722869e87ffe044","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.11","status":"unaffected"},{"type":"semver","introduced":"4.19.321","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.283","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.225","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.166","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.108","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.49","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.8","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.11","fixed":"4.19.321"},{"status":"affected","introduced":"4.20","fixed":"5.4.283"},{"status":"affected","introduced":"5.5","fixed":"5.10.225"},{"status":"affected","introduced":"5.11","fixed":"5.15.166"},{"status":"affected","introduced":"5.16","fixed":"6.1.108"},{"status":"affected","introduced":"6.2","fixed":"6.6.49"},{"status":"affected","introduced":"6.7","fixed":"6.10.8"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0a2bab5ed161318f57134716accba0a30f3af191","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2cea369a5c2e85ab14ae716da1d1cc6d25c85e11","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4e9436375fcc9bd2a60ee96aba6ed53f7a377d10","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6341c2856785dca7006820b127278058a180c075","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f0bd526921b6867c2f10a83cd4fd14139adcd92","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4ed45fe99ec9e3c9478bd634624cd05a57d002f7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/292151af6add3e5ab11b2e9916cffa5f52859a1f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1c38a62f15e595346a1106025722869e87ffe044","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-29T15:08:28.059Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-46685","url":"https://www.cve.org/CVERecord?id=CVE-2024-46685","licence":"CVE Terms of Use","modified":"2026-05-11T20:34:25.354Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-46685","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46685","licence":"Public domain","modified":"2026-06-17T07:55:43.723Z"}],"updatedAt":"2026-11-25T22:58:45.377Z","epss":{"score":0.00257,"percentile":0.18558,"date":"2026-12-01T12:00:22.000Z"}}