{"id":"CVE-2023-54159","aliases":["CVE-2023-54159"],"related":[],"kind":"vulnerability","state":"published","title":"usb: mtu3: fix kernel panic at qmu transfer done irq handler","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: mtu3: fix kernel panic at qmu transfer done irq handler\n\nWhen handle qmu transfer irq, it will unlock @mtu->lock before give back\nrequest, if another thread handle disconnect event at the same time, and\ntry to disable ep, it may lock @mtu->lock and free qmu ring, then qmu\nirq hanlder may get a NULL gpd, avoid the KE by checking gpd's value before\nhandling it.\n\ne.g.\nqmu done irq on cpu0                 thread running on cpu1\n\nqmu_done_tx()\n  handle gpd [0]\n    mtu3_requ_complete()        mtu3_gadget_ep_disable()\n      unlock @mtu->lock\n        give back request         lock @mtu->lock\n                                    mtu3_ep_disable()\n                                      mtu3_gpd_ring_free()\n                                   unlock @mtu->lock\n      lock @mtu->lock\n    get next gpd [1]\n\n[1]: goto [0] to handle next gpd, and next gpd may be NULL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: mtu3: fix kernel panic at qmu transfer done irq handler\n\nWhen handle qmu transfer irq, it will unlock @mtu->lock before give back\nrequest, if another thread handle disconnect event at the same time, and\ntry to disable ep, it may lock @mtu->lock and free qmu ring, then qmu\nirq hanlder may get a NULL gpd, avoid the KE by checking gpd's value before\nhandling it.\n\ne.g.\nqmu done irq on cpu0                 thread running on cpu1\n\nqmu_done_tx()\n  handle gpd [0]\n    mtu3_requ_complete()        mtu3_gadget_ep_disable()\n      unlock @mtu->lock\n        give back request         lock @mtu->lock\n                                    mtu3_ep_disable()\n                                      mtu3_gpd_ring_free()\n                                   unlock @mtu->lock\n      lock @mtu->lock\n    get next gpd [1]\n\n[1]: goto [0] to handle next gpd, and next gpd may be NULL.","source":"cvelist"}],"published":"2025-12-24T13:07:08.207Z","modified":"2026-06-17T06:46:54.613Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"48e0d3735aa557a8adaf94632ca3cf78798e8505","fixed":"26ca30516b2c49dd04c134cbdf122311c538df98","status":"affected"},{"type":"git","introduced":"48e0d3735aa557a8adaf94632ca3cf78798e8505","fixed":"012936502a9cb7b0604e85bb961eb15e2bb40dd9","status":"affected"},{"type":"git","introduced":"48e0d3735aa557a8adaf94632ca3cf78798e8505","fixed":"ee53a7a88027cea765c68f3b00a50b8f58d6f786","status":"affected"},{"type":"git","introduced":"48e0d3735aa557a8adaf94632ca3cf78798e8505","fixed":"f26273428657ef4ca74740e578ae45a3be492f6f","status":"affected"},{"type":"git","introduced":"48e0d3735aa557a8adaf94632ca3cf78798e8505","fixed":"b636aff94a67be46582d4321d11743f1a10cc2c1","status":"affected"},{"type":"git","introduced":"48e0d3735aa557a8adaf94632ca3cf78798e8505","fixed":"3a7d4959560a2ee493ef222e3b63d359365f41ec","status":"affected"},{"type":"git","introduced":"48e0d3735aa557a8adaf94632ca3cf78798e8505","fixed":"d28f4091ea7ec3510fd6a3c6d433234e7a2bef14","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.2","status":"unaffected"},{"type":"semver","introduced":"5.4.243","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.180","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.111","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.28","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.15","lastAffected":"6.2.*","status":"unaffected"},{"type":"semver","introduced":"6.3.2","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/26ca30516b2c49dd04c134cbdf122311c538df98","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/012936502a9cb7b0604e85bb961eb15e2bb40dd9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee53a7a88027cea765c68f3b00a50b8f58d6f786","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f26273428657ef4ca74740e578ae45a3be492f6f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b636aff94a67be46582d4321d11743f1a10cc2c1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3a7d4959560a2ee493ef222e3b63d359365f41ec","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d28f4091ea7ec3510fd6a3c6d433234e7a2bef14","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54159","url":"https://www.cve.org/CVERecord?id=CVE-2023-54159","licence":"CVE Terms of Use","modified":"2026-05-11T19:56:37.853Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54159","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54159","licence":"Public domain","modified":"2026-06-17T06:46:54.613Z"}],"updatedAt":"2026-11-25T22:58:35.200Z","epss":{"score":0.0022,"percentile":0.13302,"date":"2026-12-01T12:00:22.000Z"}}