# CVE-2023-53287: usb: cdns3: Put the cdns set active part outside the spin lock

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **Published:** 2025-09-16T08:11:20.304Z
- **Modified:** 2026-06-17T06:44:44.850Z

## Who should check

- Anyone running Linux \>= 7733f6c32e36ff9d7adadf40001039bf219b1cbe, \< c861a61be6d30538ebcf7fcab1d43f244e298840; \>= 7733f6c32e36ff9d7adadf40001039bf219b1cbe, \< bbc9c3652708108738009e096d608ece3cd9fa8a; \>= 7733f6c32e36ff9d7adadf40001039bf219b1cbe, \< d3f372ec95b89776f72d5c9a475424e27734c223; \>= 7733f6c32e36ff9d7adadf40001039bf219b1cbe, \< 2319b9c87fe243327285f2fefd7374ffd75a65fc
- Anyone running Linux 5.4

## Description

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

usb: cdns3: Put the cdns set active part outside the spin lock

The device may be scheduled during the resume process,
so this cannot appear in atomic operations. Since
pm\_runtime\_set\_active will resume suppliers, put set
active outside the spin lock, which is only used to
protect the struct cdns data structure, otherwise the
kernel will report the following warning:

  BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:1163
  in\_atomic(): 1, irqs\_disabled(): 0, non\_block: 0, pid: 651, name: sh
  preempt\_count: 1, expected: 0
  RCU nest depth: 0, expected: 0
  CPU: 0 PID: 651 Comm: sh Tainted: G        WC         6.1.20 \#1
  Hardware name: Freescale i.MX8QM MEK (DT)
  Call trace:
    dump\_backtrace.part.0+0xe0/0xf0
    show\_stack+0x18/0x30
    dump\_stack\_lvl+0x64/0x80
    dump\_stack+0x1c/0x38
    \_\_might\_resched+0x1fc/0x240
    \_\_might\_sleep+0x68/0xc0
    \_\_pm\_runtime\_resume+0x9c/0xe0
    rpm\_get\_suppliers+0x68/0x1b0
    \_\_pm\_runtime\_set\_status+0x298/0x560
    cdns\_resume+0xb0/0x1c0
    cdns3\_controller\_resume.isra.0+0x1e0/0x250
    cdns3\_plat\_resume+0x28/0x40

## Affected and fixed versions

- Linux: \>= 7733f6c32e36ff9d7adadf40001039bf219b1cbe, \< c861a61be6d30538ebcf7fcab1d43f244e298840; \>= 7733f6c32e36ff9d7adadf40001039bf219b1cbe, \< bbc9c3652708108738009e096d608ece3cd9fa8a; \>= 7733f6c32e36ff9d7adadf40001039bf219b1cbe, \< d3f372ec95b89776f72d5c9a475424e27734c223; \>= 7733f6c32e36ff9d7adadf40001039bf219b1cbe, \< 2319b9c87fe243327285f2fefd7374ffd75a65fc (cvelist)
- Linux: 5.4 (cvelist)

## Mitigation

- Upgrade Linux to 2319b9c87fe243327285f2fefd7374ffd75a65fc or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53287. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53287.md
Affected: Linux >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe, < c861a61be6d30538ebcf7fcab1d43f244e298840; >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe, < bbc9c3652708108738009e096d608ece3cd9fa8a; >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe, < d3f372ec95b89776f72d5c9a475424e27734c223; >= 7733f6c32e36ff9d7adadf4…
Fixed in: Linux 2319b9c87fe243327285f2fefd7374ffd75a65fc

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53287 being exploited?

There is no confirmed exploitation: CVE-2023-53287 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53287?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53287?

Linux \>= 7733f6c32e36ff9d7adadf40001039bf219b1cbe, \< c861a61be6d30538ebcf7fcab1d43f244e298840; \>= 7733f6c32e36ff9d7adadf40001039bf219b1cbe, \< bbc9c3652708108738009e096d608ece3cd9fa8a; \>= 7733f6c32e36ff9d7adadf40001039bf219b1cbe, \< d3f372ec95b89776f72d5c9a475424e27734c223; \>= 7733f6c32e36ff9d7adadf40001039bf219b1cbe, \< 2319b9c87fe243327285f2fefd7374ffd75a65fc; Linux 5.4.

### Is there a fix for CVE-2023-53287?

Yes. Fixed in Linux 2319b9c87fe243327285f2fefd7374ffd75a65fc. Upgrade Linux to 2319b9c87fe243327285f2fefd7374ffd75a65fc or later.

### How do I check if I'm affected by CVE-2023-53287?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c861a61be6d30538ebcf7fcab1d43f244e298840>
- patch: <https://git.kernel.org/stable/c/bbc9c3652708108738009e096d608ece3cd9fa8a>
- patch: <https://git.kernel.org/stable/c/d3f372ec95b89776f72d5c9a475424e27734c223>
- patch: <https://git.kernel.org/stable/c/2319b9c87fe243327285f2fefd7374ffd75a65fc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53287>

HTML: <https://flawdb.com/CVE-2023-53287> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53287>
