CVE-2023-54159

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

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 48e0d3735aa557a8adaf94632ca3cf78798e8505 to before 26ca30516b2c49dd04c134cbdf122311c538df98Affected
  • 48e0d3735aa557a8adaf94632ca3cf78798e8505 to before 012936502a9cb7b0604e85bb961eb15e2bb40dd9Affected
  • 48e0d3735aa557a8adaf94632ca3cf78798e8505 to before ee53a7a88027cea765c68f3b00a50b8f58d6f786Affected
  • 48e0d3735aa557a8adaf94632ca3cf78798e8505 to before f26273428657ef4ca74740e578ae45a3be492f6fAffected
  • 48e0d3735aa557a8adaf94632ca3cf78798e8505 to before b636aff94a67be46582d4321d11743f1a10cc2c1Affected
  • 48e0d3735aa557a8adaf94632ca3cf78798e8505 to before 3a7d4959560a2ee493ef222e3b63d359365f41ecAffected
  • 48e0d3735aa557a8adaf94632ca3cf78798e8505 to before d28f4091ea7ec3510fd6a3c6d433234e7a2bef14Affected
LinuxLinux
  • 5.2Affected
  • before 5.2Not affected
  • 5.4.243 through 5.4.*Not affected
  • 5.10.180 through 5.10.*Not affected
  • 5.15.111 through 5.15.*Not affected
  • 6.1.28 through 6.1.*Not affected
  • 6.2.15 through 6.2.*Not affected
  • 6.3.2 through 6.3.*Not affected
  • 6.4 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.