# CVE-2022-50247: usb: xhci-mtk: fix leakage of shared hcd when fail to set wakeup irq

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-15T14:02:06.776Z
- Modified: 2026-11-05T20:17:29.263Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

usb: xhci-mtk: fix leakage of shared hcd when fail to set wakeup irq

Can not set the @shared_hcd to NULL before decrease the usage count
by usb_put_hcd(), this will cause the shared hcd not released.

(As written by CVE List.)

## Affected

- Linux Linux: from 04284eb74e0c350be5e75eda178b97063343af13 before ffb14aac2658873050671198543b9b8194149c14; from 04284eb74e0c350be5e75eda178b97063343af13 before 05680a91ae60ddd0319e6618456f0883b5dd765d; from 04284eb74e0c350be5e75eda178b97063343af13 before c8e7463844888dc8344bbb9cbad88cdce9cb8077; from 04284eb74e0c350be5e75eda178b97063343af13 before 03a88b0bafbe3f548729d970d8366f48718c9b19; 5.13 (not affected: before 5.13; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 5.13 before 5.15.86; from 5.16 before 6.0.16; from 6.1 before 6.1.2

## References

- <https://git.kernel.org/stable/c/ffb14aac2658873050671198543b9b8194149c14> (patch)
- <https://git.kernel.org/stable/c/05680a91ae60ddd0319e6618456f0883b5dd765d> (patch)
- <https://git.kernel.org/stable/c/c8e7463844888dc8344bbb9cbad88cdce9cb8077> (patch)
- <https://git.kernel.org/stable/c/03a88b0bafbe3f548729d970d8366f48718c9b19> (patch)

## Sources

- CVE List: [CVE-2022-50247](https://www.cve.org/CVERecord?id=CVE-2022-50247), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-50247](https://nvd.nist.gov/vuln/detail/CVE-2022-50247), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-50247 · Whole record: https://cve.day/CVE-2022-50247.json · Rebuilt by cve.day 2026-11-25T22:58:21.127Z
