CVE-2026-68370
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
10/08/2026
Last modified:
19/08/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
usb: gadget: dummy_hcd: prevent fifo_req reuse during giveback<br />
<br />
dummy_hcd embeds a single shared usb_request (dum->fifo_req) that the<br />
"emulated single-request FIFO" fast-path in dummy_queue() reuses for<br />
small IN transfers: it copies the caller&#39;s request into it<br />
(req->req = *_req) and queues it, treating list_empty(&fifo_req.queue)<br />
as "the slot is free".<br />
<br />
The completion side (dummy_timer/transfer/nuke/dummy_dequeue) follows<br />
the standard pattern: list_del_init(&req->queue) unlinks the request,<br />
then the lock is dropped and usb_gadget_giveback_request() invokes<br />
req->complete(). But list_del_init() makes fifo_req.queue look empty<br />
*before* the completion callback returns, so a concurrent dummy_queue()<br />
on another CPU sees the slot as free, reuses fifo_req and runs<br />
req->req = *_req -- overwriting req->complete while dummy_timer is<br />
mid-calling it. The indirect call then jumps to a clobbered pointer,<br />
causing a general protection fault / page fault in dummy_timer<br />
(syzkaller extid faf3a6cf579fc65591ca). The clobbering write is an<br />
in-bounds memcpy on a live shared object, so KASAN cannot flag it.<br />
<br />
Add a fifo_req_busy bit covering the shared request&#39;s whole lifetime:<br />
set it in dummy_queue() when the FIFO fast-path takes fifo_req (making<br />
it the fast-path guard, replacing the list_empty(&fifo_req.queue)<br />
test), and clear it after the completion callback has returned, via a<br />
dummy_giveback() helper used at all four gadget-request giveback<br />
sites. The shared slot can no longer be reused until its completion<br />
callback has finished.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/16a685172abc9233728830e27d26ffa778975b51
- https://git.kernel.org/stable/c/3cab0e5498d0fbb21fe1a9181f7bda9a844a697e
- https://git.kernel.org/stable/c/67b589d09a96882d56842dced5698ed8dd06ce45
- https://git.kernel.org/stable/c/95f30a21612cc65761c58ba044b1767699437317
- https://git.kernel.org/stable/c/d5e5cd3654d2b5359a12ea6586120f05b28634ee
- https://git.kernel.org/stable/c/e239ea91b48180ed48a86ac25643832a02c88456
- https://git.kernel.org/stable/c/e24b33618231034bf01dfaff4fd3409d4b4d5b2e
- https://git.kernel.org/stable/c/e2b2740f1242bc70b5b46da2cdbbaa419f490e59


