# CVE-2023-54159: usb: mtu3: fix kernel panic at qmu transfer done irq handler

- Severity: not scored yet
- 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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-12-24T13:07:08.207Z
- Modified: 2026-06-17T06:46:54.613Z
- Assigned by: Linux

## Description

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

usb: mtu3: fix kernel panic at qmu transfer done irq handler

When handle qmu transfer irq, it will unlock @mtu->lock before give back
request, if another thread handle disconnect event at the same time, and
try to disable ep, it may lock @mtu->lock and free qmu ring, then qmu
irq hanlder may get a NULL gpd, avoid the KE by checking gpd's value before
handling it.

e.g.
qmu done irq on cpu0                 thread running on cpu1

qmu_done_tx()
  handle gpd [0]
    mtu3_requ_complete()        mtu3_gadget_ep_disable()
      unlock @mtu->lock
        give back request         lock @mtu->lock
                                    mtu3_ep_disable()
                                      mtu3_gpd_ring_free()
                                   unlock @mtu->lock
      lock @mtu->lock
    get next gpd [1]

[1]: goto [0] to handle next gpd, and next gpd may be NULL.

(As written by CVE List.)

## Affected

- Linux Linux: from 48e0d3735aa557a8adaf94632ca3cf78798e8505 before 26ca30516b2c49dd04c134cbdf122311c538df98; from 48e0d3735aa557a8adaf94632ca3cf78798e8505 before 012936502a9cb7b0604e85bb961eb15e2bb40dd9; from 48e0d3735aa557a8adaf94632ca3cf78798e8505 before ee53a7a88027cea765c68f3b00a50b8f58d6f786; from 48e0d3735aa557a8adaf94632ca3cf78798e8505 before f26273428657ef4ca74740e578ae45a3be492f6f; from 48e0d3735aa557a8adaf94632ca3cf78798e8505 before b636aff94a67be46582d4321d11743f1a10cc2c1; from 48e0d3735aa557a8adaf94632ca3cf78798e8505 before 3a7d4959560a2ee493ef222e3b63d359365f41ec; from 48e0d3735aa557a8adaf94632ca3cf78798e8505 before d28f4091ea7ec3510fd6a3c6d433234e7a2bef14; 5.2 (not affected: before 5.2; from 5.4.243 up to 5.4.*; from 5.10.180 up to 5.10.*; from 5.15.111 up to 5.15.*; from 6.1.28 up to 6.1.*; from 6.2.15 up to 6.2.*; from 6.3.2 up to 6.3.*; from 6.4 up to *)

## References

- <https://git.kernel.org/stable/c/26ca30516b2c49dd04c134cbdf122311c538df98>
- <https://git.kernel.org/stable/c/012936502a9cb7b0604e85bb961eb15e2bb40dd9>
- <https://git.kernel.org/stable/c/ee53a7a88027cea765c68f3b00a50b8f58d6f786>
- <https://git.kernel.org/stable/c/f26273428657ef4ca74740e578ae45a3be492f6f>
- <https://git.kernel.org/stable/c/b636aff94a67be46582d4321d11743f1a10cc2c1>
- <https://git.kernel.org/stable/c/3a7d4959560a2ee493ef222e3b63d359365f41ec>
- <https://git.kernel.org/stable/c/d28f4091ea7ec3510fd6a3c6d433234e7a2bef14>

## Sources

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

---

Page: https://cve.day/CVE-2023-54159 · Whole record: https://cve.day/CVE-2023-54159.json · Rebuilt by cve.day 2026-11-25T22:58:35.200Z
