CVE-2024-42085
publishedusb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf2bfd0a2a640ca2f308b6893a89cfb2ec31e8fde to < 8731a0b180f6b5d52397c7aeea6eda9511a467a7 · 2fa487a9466760a4fb6f147aed6219379dabfc2e to < 7026576e89094aa9a0062aa6d10cba18aa99944c · 5265397f94424eaea596026fd34dc7acf474dcec to < d77e2b5104c51d3668b9717c825a4a06998efe63 · 5265397f94424eaea596026fd34dc7acf474dcec to < 17e2956633ca560b95f1cbbb297cfc2adf650649 · 5265397f94424eaea596026fd34dc7acf474dcec to < f1274cfab183e69a7c7bafffcb4f50703c876276 · 5265397f94424eaea596026fd34dc7acf474dcec to < 7838de15bb700c2898a7d741db9b1f3cbc86c136 · 5.15.128 to < 5.15.162 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.1 (affected) · 0 to < 6.1 (unaffected · semver) · 5.15.162 through 5.15.* (unaffected · semver) · 6.1.97 through 6.1.* (unaffected · semver) · 6.6.37 through 6.6.* (unaffected · semver) · 6.9.8 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azureaarch64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azurex86_64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develaarch64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develx86_64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-extrax86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-devel-azurenoarch | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-devel-rtnoarch | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-docsnoarch | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock When config CONFIG_USB_DWC3_DUAL_ROLE is selected, and trigger system to enter suspend status with below command: echo mem > /sys/power/state There will be a deadlock issue occurring. Detailed invoking path as below: dwc3_suspend_common() spin_lock_irqsave(&dwc->lock, flags); <-- 1st dwc3_gadget_suspend(dwc); dwc3_gadget_soft_disconnect(dwc); spin_lock_irqsave(&dwc->lock, flags); <-- 2nd This issue is exposed by commit c7ebd8149ee5 ("usb: dwc3: gadget: Fix NULL pointer dereference in dwc3_gadget_suspend") that removes the code of checking whether dwc->gadget_driver is NULL or not. It causes the following code is executed and deadlock occurs when trying to get the spinlock. In fact, the root cause is the commit 5265397f9442("usb: dwc3: Remove DWC3 locking during gadget suspend/resume") that forgot to remove the lock of otg mode. So, remove the redundant lock of otg mode during gadget suspend/resume.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | f2bfd0a2a640ca2f308b6893a89cfb2ec31e8fde to < 8731a0b180f6b5d52397c7aeea6eda9511a467a7 (affected · git)2fa487a9466760a4fb6f147aed6219379dabfc2e to < 7026576e89094aa9a0062aa6d10cba18aa99944c (affected · git)5265397f94424eaea596026fd34dc7acf474dcec to < d77e2b5104c51d3668b9717c825a4a06998efe63 (affected · git)5265397f94424eaea596026fd34dc7acf474dcec to < 17e2956633ca560b95f1cbbb297cfc2adf650649 (affected · git)5265397f94424eaea596026fd34dc7acf474dcec to < f1274cfab183e69a7c7bafffcb4f50703c876276 (affected · git)5265397f94424eaea596026fd34dc7acf474dcec to < 7838de15bb700c2898a7d741db9b1f3cbc86c136 (affected · git)5.15.128 to < 5.15.162 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.1 (affected)0 to < 6.1 (unaffected · semver)5.15.162 through 5.15.* (unaffected · semver)6.1.97 through 6.1.* (unaffected · semver)6.6.37 through 6.6.* (unaffected · semver)6.9.8 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/17e2956633ca560b95f1cbbb297cfc2adf650649
- https://git.kernel.org/stable/c/7026576e89094aa9a0062aa6d10cba18aa99944c
- https://git.kernel.org/stable/c/7838de15bb700c2898a7d741db9b1f3cbc86c136
- https://git.kernel.org/stable/c/8731a0b180f6b5d52397c7aeea6eda9511a467a7
- https://git.kernel.org/stable/c/d77e2b5104c51d3668b9717c825a4a06998efe63
- https://git.kernel.org/stable/c/f1274cfab183e69a7c7bafffcb4f50703c876276
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3d3d9895ab7a0a6a90a536930a5ee4397ea6d47f7eb3f873d1a5ab222877a0e9
- Ingested
- 23 Sep 2026, 08:26:31 UTC
- Source record
- Official CVE record