{"id":"CVE-2024-42090","aliases":["CVE-2024-42090"],"related":[],"kind":"vulnerability","state":"published","title":"pinctrl: fix deadlock in create_pinctrl() when handling -EPROBE_DEFER","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: fix deadlock in create_pinctrl() when handling -EPROBE_DEFER\n\nIn create_pinctrl(), pinctrl_maps_mutex is acquired before calling\nadd_setting(). If add_setting() returns -EPROBE_DEFER, create_pinctrl()\ncalls pinctrl_free(). However, pinctrl_free() attempts to acquire\npinctrl_maps_mutex, which is already held by create_pinctrl(), leading to\na potential deadlock.\n\nThis patch resolves the issue by releasing pinctrl_maps_mutex before\ncalling pinctrl_free(), preventing the deadlock.\n\nThis bug was discovered and resolved using Coverity Static Analysis\nSecurity Testing (SAST) by Synopsys, Inc.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: fix deadlock in create_pinctrl() when handling -EPROBE_DEFER\n\nIn create_pinctrl(), pinctrl_maps_mutex is acquired before calling\nadd_setting(). If add_setting() returns -EPROBE_DEFER, create_pinctrl()\ncalls pinctrl_free(). However, pinctrl_free() attempts to acquire\npinctrl_maps_mutex, which is already held by create_pinctrl(), leading to\na potential deadlock.\n\nThis patch resolves the issue by releasing pinctrl_maps_mutex before\ncalling pinctrl_free(), preventing the deadlock.\n\nThis bug was discovered and resolved using Coverity Static Analysis\nSecurity Testing (SAST) by Synopsys, Inc.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: pinctrl: soluciona el punto muerto en create_pinctrl() al manejar -EPROBE_DEFER En create_pinctrl(), pinctrl_maps_mutex se adquiere antes de llamar a add_setting(). Si add_setting() devuelve -EPROBE_DEFER, create_pinctrl() llama a pinctrl_free(). Sin embargo, pinctrl_free() intenta adquirir pinctrl_maps_mutex, que ya está en manos de create_pinctrl(), lo que lleva a un posible punto muerto. Este parche resuelve el problema liberando pinctrl_maps_mutex antes de llamar a pinctrl_free(), evitando el punto muerto. Este error fue descubierto y resuelto utilizando Coverity Static Analysis Security Testing (SAST) por Synopsys, Inc.","source":"nvd"}],"published":"2024-07-29T16:26:30.139Z","modified":"2026-10-15T01:18:42.747Z","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-667"],"affected":[{"ranges":[{"type":"git","introduced":"42fed7ba44e4e8c1fb27b28ad14490cb1daff3c7","fixed":"e65a0dc2e85efb28e182aca50218e8a056d0ce04","status":"affected"},{"type":"git","introduced":"42fed7ba44e4e8c1fb27b28ad14490cb1daff3c7","fixed":"420ce1261907e5dbeda1e4daffd5b6c76f8188c0","status":"affected"},{"type":"git","introduced":"42fed7ba44e4e8c1fb27b28ad14490cb1daff3c7","fixed":"b813e3fd102a959c5b208ed68afe27e0137a561b","status":"affected"},{"type":"git","introduced":"42fed7ba44e4e8c1fb27b28ad14490cb1daff3c7","fixed":"01fe2f885f7813f8aed5d3704b384a97b1116a9e","status":"affected"},{"type":"git","introduced":"42fed7ba44e4e8c1fb27b28ad14490cb1daff3c7","fixed":"b36efd2e3e22a329444b6b24fa48df6d20ae66e6","status":"affected"},{"type":"git","introduced":"42fed7ba44e4e8c1fb27b28ad14490cb1daff3c7","fixed":"4038c57bf61631219b31f1bd6e92106ec7f084dc","status":"affected"},{"type":"git","introduced":"42fed7ba44e4e8c1fb27b28ad14490cb1daff3c7","fixed":"48a7a7c9571c3e62f17012dd7f2063e926179ddd","status":"affected"},{"type":"git","introduced":"42fed7ba44e4e8c1fb27b28ad14490cb1daff3c7","fixed":"adec57ff8e66aee632f3dd1f93787c13d112b7a1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.10","status":"unaffected"},{"type":"semver","introduced":"4.19.317","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.279","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.221","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.162","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.97","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.37","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.8","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","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":"3.10","fixed":"4.19.317"},{"status":"affected","introduced":"4.20","fixed":"5.4.279"},{"status":"affected","introduced":"5.5","fixed":"5.10.221"},{"status":"affected","introduced":"5.11","fixed":"5.15.162"},{"status":"affected","introduced":"5.16","fixed":"6.1.97"},{"status":"affected","introduced":"6.2","fixed":"6.6.37"},{"status":"affected","introduced":"6.7","fixed":"6.9.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e65a0dc2e85efb28e182aca50218e8a056d0ce04","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/420ce1261907e5dbeda1e4daffd5b6c76f8188c0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b813e3fd102a959c5b208ed68afe27e0137a561b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01fe2f885f7813f8aed5d3704b384a97b1116a9e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b36efd2e3e22a329444b6b24fa48df6d20ae66e6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4038c57bf61631219b31f1bd6e92106ec7f084dc","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/48a7a7c9571c3e62f17012dd7f2063e926179ddd","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/adec57ff8e66aee632f3dd1f93787c13d112b7a1","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:18:41.131Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42090","url":"https://www.cve.org/CVERecord?id=CVE-2024-42090","licence":"CVE Terms of Use","modified":"2026-10-15T00:47:35.788Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42090","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42090","licence":"Public domain","modified":"2026-10-15T01:18:42.747Z"}],"updatedAt":"2026-11-25T22:58:43.347Z","epss":{"score":0.00189,"percentile":0.08922,"date":"2026-12-01T12:00:22.000Z"}}