CVE-2022-50028Published Jun 18, 2025 · Jun 18Updated Oct 28
gadgetfs: ep_io - wait until IRQ finishes
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < 94aadba8d000d5de56af4ce8da3f334f21bf7a79| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
gadgetfs: ep_io - wait until IRQ finishes
after usb_ep_queue() if wait_for_completion_interruptible() is interrupted we need to wait until IRQ gets finished.
Otherwise complete() from epio_complete() can corrupt stack.
From the CVE record · Linux
The gadgetfs ep_io code can corrupt the stack if a wait is interrupted after usb_ep_queue() and completion runs before the IRQ finishes. The input does not specify an attack path, authentication requirements, or whether user interaction is needed.
Engineers running Linux kernels with gadgetfs should check their versions; affected versions are not specified.