CVE-2024-42090
Last modified
CVE-2024-42090 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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(). EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 3.10, < 4.19.317 |
| Linux | Linux Kernel | >= 4.20, < 5.4.279 |
| Linux | Linux Kernel | >= 5.5, < 5.10.221 |
| Linux | Linux Kernel | >= 5.11, < 5.15.162 |
| Linux | Linux Kernel | >= 5.16, < 6.1.97 |
| Linux | Linux Kernel | >= 6.2, < 6.6.37 |
| Linux | Linux Kernel | >= 6.7, < 6.9.8 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-42090?
How severe is CVE-2024-42090?
How do I fix CVE-2024-42090?
Are you affected by CVE-2024-42090?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
