# CVE-2023-53475: usb: xhci: tegra: fix sleep in atomic call

> 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, NVD) `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.22% (percentile 7, 2026-11-26)
- **Published:** 2025-10-01T11:42:44.604Z
- **Modified:** 2026-11-05T21:17:22.037Z

## Who should check

- Anyone running Linux \>= f836e7843036fbf34320356e156cd4267fa5bfa2, \< b4b4f17aa46c025da77aed5133b08971959c9684; \>= f836e7843036fbf34320356e156cd4267fa5bfa2, \< 1122474b757a5dd8b2b50008a97f33cdb10dff6e; \>= f836e7843036fbf34320356e156cd4267fa5bfa2, \< 130c61c516cd0684282a8f6ab163281d60642fc5; \>= f836e7843036fbf34320356e156cd4267fa5bfa2, \< 1fe6015aa92cc0dfd875c1d3c7c1750a1b0767d9; \>= f836e7843036fbf34320356e156cd4267fa5bfa2, \< 4c7f9d2e413dc06a157c4e5dccde84aaf4655eb3
- Anyone running Linux 5.7

## Description

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

usb: xhci: tegra: fix sleep in atomic call

When we set the dual-role port to Host mode, we observed the following
splat:
\[  167.057718\] BUG: sleeping function called from invalid context at
include/linux/sched/mm.h:229
\[  167.057872\] Workqueue: events tegra\_xusb\_usb\_phy\_work
\[  167.057954\] Call trace:
\[  167.057962\]  dump\_backtrace+0x0/0x210
\[  167.057996\]  show\_stack+0x30/0x50
\[  167.058020\]  dump\_stack\_lvl+0x64/0x84
\[  167.058065\]  dump\_stack+0x14/0x34
\[  167.058100\]  \_\_might\_resched+0x144/0x180
\[  167.058140\]  \_\_might\_sleep+0x64/0xd0
\[  167.058171\]  slab\_pre\_alloc\_hook.constprop.0+0xa8/0x110
\[  167.058202\]  \_\_kmalloc\_track\_caller+0x74/0x2b0
\[  167.058233\]  kvasprintf+0xa4/0x190
\[  167.058261\]  kasprintf+0x58/0x90
\[  167.058285\]  tegra\_xusb\_find\_port\_node.isra.0+0x58/0xd0
\[  167.058334\]  tegra\_xusb\_find\_port+0x38/0xa0
\[  167.058380\]  tegra\_xusb\_padctl\_get\_usb3\_companion+0x38/0xd0
\[  167.058430\]  tegra\_xhci\_id\_notify+0x8c/0x1e0
\[  167.058473\]  notifier\_call\_chain+0x88/0x100
\[  167.058506\]  atomic\_notifier\_call\_chain+0x44/0x70
\[  167.058537\]  tegra\_xusb\_usb\_phy\_work+0x60/0xd0
\[  167.058581\]  process\_one\_work+0x1dc/0x4c0
\[  167.058618\]  worker\_thread+0x54/0x410
\[  167.058650\]  kthread+0x188/0x1b0
\[  167.058672\]  ret\_from\_fork+0x10/0x20

The function tegra\_xusb\_padctl\_get\_usb3\_companion eventually calls
tegra\_xusb\_find\_port and this in turn calls kasprintf which might sleep
and so cannot be called from an atomic context.

Fix this by moving the call to tegra\_xusb\_padctl\_get\_usb3\_companion to
the tegra\_xhci\_id\_work function where it is really needed.

## Affected and fixed versions

- Linux: \>= f836e7843036fbf34320356e156cd4267fa5bfa2, \< b4b4f17aa46c025da77aed5133b08971959c9684; \>= f836e7843036fbf34320356e156cd4267fa5bfa2, \< 1122474b757a5dd8b2b50008a97f33cdb10dff6e; \>= f836e7843036fbf34320356e156cd4267fa5bfa2, \< 130c61c516cd0684282a8f6ab163281d60642fc5; \>= f836e7843036fbf34320356e156cd4267fa5bfa2, \< 1fe6015aa92cc0dfd875c1d3c7c1750a1b0767d9; \>= f836e7843036fbf34320356e156cd4267fa5bfa2, \< 4c7f9d2e413dc06a157c4e5dccde84aaf4655eb3 (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- Upgrade Linux to 4c7f9d2e413dc06a157c4e5dccde84aaf4655eb3 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-53475. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53475.md
Affected: Linux >= f836e7843036fbf34320356e156cd4267fa5bfa2, < b4b4f17aa46c025da77aed5133b08971959c9684; >= f836e7843036fbf34320356e156cd4267fa5bfa2, < 1122474b757a5dd8b2b50008a97f33cdb10dff6e; >= f836e7843036fbf34320356e156cd4267fa5bfa2, < 130c61c516cd0684282a8f6ab163281d60642fc5; >= f836e7843036fbf34320356…
Fixed in: Linux 1122474b757a5dd8b2b50008a97f33cdb10dff6e, Linux 130c61c516cd0684282a8f6ab163281d60642fc5, Linux 1fe6015aa92cc0dfd875c1d3c7c1750a1b0767d9, Linux 4c7f9d2e413dc06a157c4e5dccde84aaf4655eb3

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-53475 being exploited?

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

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

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

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

Linux \>= f836e7843036fbf34320356e156cd4267fa5bfa2, \< b4b4f17aa46c025da77aed5133b08971959c9684; \>= f836e7843036fbf34320356e156cd4267fa5bfa2, \< 1122474b757a5dd8b2b50008a97f33cdb10dff6e; \>= f836e7843036fbf34320356e156cd4267fa5bfa2, \< 130c61c516cd0684282a8f6ab163281d60642fc5; \>= f836e7843036fbf34320356e156cd4267fa5bfa2, \< 1fe6015aa92cc0dfd875c1d3c7c1750a1b0767d9; \>= f836e7843036fbf34320356e156cd4267fa5bfa2, \< 4c7f9d2e413dc06a157c4e5dccde84aaf4655eb3; Linux 5.7.

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

Yes. Fixed in Linux 1122474b757a5dd8b2b50008a97f33cdb10dff6e, Linux 130c61c516cd0684282a8f6ab163281d60642fc5, Linux 1fe6015aa92cc0dfd875c1d3c7c1750a1b0767d9, Linux 4c7f9d2e413dc06a157c4e5dccde84aaf4655eb3. Upgrade Linux to 4c7f9d2e413dc06a157c4e5dccde84aaf4655eb3 or later.

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

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/b4b4f17aa46c025da77aed5133b08971959c9684>
- patch: <https://git.kernel.org/stable/c/1122474b757a5dd8b2b50008a97f33cdb10dff6e>
- patch: <https://git.kernel.org/stable/c/130c61c516cd0684282a8f6ab163281d60642fc5>
- patch: <https://git.kernel.org/stable/c/1fe6015aa92cc0dfd875c1d3c7c1750a1b0767d9>
- patch: <https://git.kernel.org/stable/c/4c7f9d2e413dc06a157c4e5dccde84aaf4655eb3>

## 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-53475>

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