# CVE-2024-42090: pinctrl: fix deadlock in create\_pinctrl() when handling -EPROBE\_DEFER

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-07-29 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2024-42090, DEBIAN-CVE-2024-42090
- Record: https://cvemate.com/vulnerability/CVE-2024-42090 · JSON: https://cvemate.com/vulnerability/CVE-2024-42090/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

pinctrl: fix deadlock in create_pinctrl() when handling -EPROBE_DEFER

In create_pinctrl(), pinctrl_maps_mutex is acquired before calling
add_setting(). If add_setting() returns -EPROBE_DEFER, create_pinctrl()
calls pinctrl_free(). However, pinctrl_free() attempts to acquire
pinctrl_maps_mutex, which is already held by create_pinctrl(), leading to
a potential deadlock.

This patch resolves the issue by releasing pinctrl_maps_mutex before
calling pinctrl_free(), preventing the deadlock.

This bug was discovered and resolved using Coverity Static Analysis
Security Testing (SAST) by Synopsys, Inc.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.189%, percentile 8.895%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 133)

- debian linux (Debian): \< 6.1.98-1 \| \< 6.9.8-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-262.296 \| \< 4.15.0-232.244 \| \< 5.4.0-195.215 \| \< 5.15.0-121.131 \| \< 6.8.0-48.48
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1139.145 \| \< 4.4.0-1177.192 \| \< 4.15.0-1176.189 \| \< 5.4.0-1132.142 \| \< 5.15.0-1069.75 \| \< 6.8.0-1018.20
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1069.75~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1132.142~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1018.19~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2114.120 \| All versions (No fix recorded) \| \< 5.4.0-1132.142+fips1 \| \< 5.15.0-1069.75+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1176.189~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1184.199~14.04.1 \| \< 4.15.0-1184.199~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1137.144 \| \< 5.15.0-1072.81 \| \< 6.8.0-1017.20
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1184.199
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 41)

- <https://git.kernel.org/stable/c/e65a0dc2e85efb28e182aca50218e8a056d0ce04>
- <https://git.kernel.org/stable/c/420ce1261907e5dbeda1e4daffd5b6c76f8188c0>
- <https://git.kernel.org/stable/c/b813e3fd102a959c5b208ed68afe27e0137a561b>
- <https://git.kernel.org/stable/c/01fe2f885f7813f8aed5d3704b384a97b1116a9e>
- <https://git.kernel.org/stable/c/b36efd2e3e22a329444b6b24fa48df6d20ae66e6>
- <https://git.kernel.org/stable/c/4038c57bf61631219b31f1bd6e92106ec7f084dc>
- <https://git.kernel.org/stable/c/48a7a7c9571c3e62f17012dd7f2063e926179ddd>
- <https://git.kernel.org/stable/c/adec57ff8e66aee632f3dd1f93787c13d112b7a1>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://ubuntu.com/security/CVE-2024-42090>
- <https://www.cve.org/CVERecord?id=CVE-2024-42090>
- <https://git.kernel.org/linus/adec57ff8e66aee632f3dd1f93787c13d112b7a1>
- <https://ubuntu.com/security/notices/USN-7003-1>
- <https://ubuntu.com/security/notices/USN-7003-2>
- <https://ubuntu.com/security/notices/USN-7006-1>
- <https://ubuntu.com/security/notices/USN-7003-3>
- <https://ubuntu.com/security/notices/USN-7007-1>
- <https://ubuntu.com/security/notices/USN-7009-1>
- <https://ubuntu.com/security/notices/USN-7019-1>

---

Data as of 2026-12-05T06:22:49.852Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
