# CVE-2022-48761: usb: xhci-plat: fix crash when suspend if remote wake enable

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

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **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.29% (percentile 15, 2026-11-26)
- **Published:** 2024-06-20T11:13:39.194Z
- **Modified:** 2026-06-17T05:16:07.720Z

## Who should check

- Anyone running Linux \>= b0c69b4bace3703a29e08dda2b5a10e1073cb9cd, \< 20c51a4c52208f98e27308c456a1951778f41fa5; \>= b0c69b4bace3703a29e08dda2b5a10e1073cb9cd, \< d5755832a1e47f5d8773f0776e211ecd4e02da72; \>= b0c69b4bace3703a29e08dda2b5a10e1073cb9cd, \< 8b05ad29acb972850ad795fa850e814b2e758b83; \>= b0c69b4bace3703a29e08dda2b5a10e1073cb9cd, \< 9df478463d9feb90dae24f183383961cf123a0ec
- Anyone running Linux 4.12

## Description

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

usb: xhci-plat: fix crash when suspend if remote wake enable

Crashed at i.mx8qm platform when suspend if enable remote wakeup

Internal error: synchronous external abort: 96000210 \[\#1\] PREEMPT SMP
Modules linked in:
CPU: 2 PID: 244 Comm: kworker/u12:6 Not tainted 5.15.5-dirty \#12
Hardware name: Freescale i.MX8QM MEK (DT)
Workqueue: events\_unbound async\_run\_entry\_fn
pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : xhci\_disable\_hub\_port\_wake.isra.62+0x60/0xf8
lr : xhci\_disable\_hub\_port\_wake.isra.62+0x34/0xf8
sp : ffff80001394bbf0
x29: ffff80001394bbf0 x28: 0000000000000000 x27: ffff00081193b578
x26: ffff00081193b570 x25: 0000000000000000 x24: 0000000000000000
x23: ffff00081193a29c x22: 0000000000020001 x21: 0000000000000001
x20: 0000000000000000 x19: ffff800014e90490 x18: 0000000000000000
x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
x14: 0000000000000000 x13: 0000000000000002 x12: 0000000000000000
x11: 0000000000000000 x10: 0000000000000960 x9 : ffff80001394baa0
x8 : ffff0008145d1780 x7 : ffff0008f95b8e80 x6 : 000000001853b453
x5 : 0000000000000496 x4 : 0000000000000000 x3 : ffff00081193a29c
x2 : 0000000000000001 x1 : 0000000000000000 x0 : ffff000814591620
Call trace:
 xhci\_disable\_hub\_port\_wake.isra.62+0x60/0xf8
 xhci\_suspend+0x58/0x510
 xhci\_plat\_suspend+0x50/0x78
 platform\_pm\_suspend+0x2c/0x78
 dpm\_run\_callback.isra.25+0x50/0xe8
 \_\_device\_suspend+0x108/0x3c0

The basic flow:
	1. run time suspend call xhci\_suspend, xhci parent devices gate the clock.
        2. echo mem \>/sys/power/state, system \_device\_suspend call xhci\_suspend
        3. xhci\_suspend call xhci\_disable\_hub\_port\_wake, which access register,
	   but clock already gated by run time suspend.

This problem was hidden by power domain driver, which call run time resume before it.

But the below commit remove it and make this issue happen.
	commit c1df456d0f06e ("PM: domains: Don't runtime resume devices at genpd\_prepare()")

This patch call run time resume before suspend to make sure clock is on
before access register.

Testeb-by: Abel Vesa \<abel.vesa@nxp.com\>

## Affected and fixed versions

- Linux: \>= b0c69b4bace3703a29e08dda2b5a10e1073cb9cd, \< 20c51a4c52208f98e27308c456a1951778f41fa5; \>= b0c69b4bace3703a29e08dda2b5a10e1073cb9cd, \< d5755832a1e47f5d8773f0776e211ecd4e02da72; \>= b0c69b4bace3703a29e08dda2b5a10e1073cb9cd, \< 8b05ad29acb972850ad795fa850e814b2e758b83; \>= b0c69b4bace3703a29e08dda2b5a10e1073cb9cd, \< 9df478463d9feb90dae24f183383961cf123a0ec (cvelist)
- Linux: 4.12 (cvelist)

## Mitigation

- Upgrade Linux to 9df478463d9feb90dae24f183383961cf123a0ec or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-48761.md
Affected: Linux >= b0c69b4bace3703a29e08dda2b5a10e1073cb9cd, < 20c51a4c52208f98e27308c456a1951778f41fa5; >= b0c69b4bace3703a29e08dda2b5a10e1073cb9cd, < d5755832a1e47f5d8773f0776e211ecd4e02da72; >= b0c69b4bace3703a29e08dda2b5a10e1073cb9cd, < 8b05ad29acb972850ad795fa850e814b2e758b83; >= b0c69b4bace3703a29e08dd…
Fixed in: Linux 20c51a4c52208f98e27308c456a1951778f41fa5, Linux 8b05ad29acb972850ad795fa850e814b2e758b83, Linux 9df478463d9feb90dae24f183383961cf123a0ec

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-2022-48761 being exploited?

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

### How serious is CVE-2022-48761?

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

### Which versions are affected by CVE-2022-48761?

Linux \>= b0c69b4bace3703a29e08dda2b5a10e1073cb9cd, \< 20c51a4c52208f98e27308c456a1951778f41fa5; \>= b0c69b4bace3703a29e08dda2b5a10e1073cb9cd, \< d5755832a1e47f5d8773f0776e211ecd4e02da72; \>= b0c69b4bace3703a29e08dda2b5a10e1073cb9cd, \< 8b05ad29acb972850ad795fa850e814b2e758b83; \>= b0c69b4bace3703a29e08dda2b5a10e1073cb9cd, \< 9df478463d9feb90dae24f183383961cf123a0ec; Linux 4.12.

### Is there a fix for CVE-2022-48761?

Yes. Fixed in Linux 20c51a4c52208f98e27308c456a1951778f41fa5, Linux 8b05ad29acb972850ad795fa850e814b2e758b83, Linux 9df478463d9feb90dae24f183383961cf123a0ec. Upgrade Linux to 9df478463d9feb90dae24f183383961cf123a0ec or later.

### How do I check if I'm affected by CVE-2022-48761?

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/20c51a4c52208f98e27308c456a1951778f41fa5>
- patch: <https://git.kernel.org/stable/c/d5755832a1e47f5d8773f0776e211ecd4e02da72>
- patch: <https://git.kernel.org/stable/c/8b05ad29acb972850ad795fa850e814b2e758b83>
- patch: <https://git.kernel.org/stable/c/9df478463d9feb90dae24f183383961cf123a0ec>

## 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-2022-48761>

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