# CVE-2022-50028: gadgetfs: ep_io - wait until IRQ finishes

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.30%, higher than 15% of CVEs (2026-11-30)
- Published: 2025-06-18T11:01:31.293Z
- Modified: 2026-08-05T08:57:11.979Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 67a4874461422e633236a0286a01b483cd647113; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 118d967ce00a3d128bf731b35e4e2cb0facf5f00; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 77040efe59a141286d090c8a0d37c65a355a1832; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ca06b4cde54f8ec8be3aa53fd339bd56e62c12b3; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9ac14f973cb91f0c01776517e6d50981f32b8038; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 94aadba8d000d5de56af4ce8da3f334f21bf7a79; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2b06d5d97c0e067108a122986767731d40742138; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 04cb742d4d8f30dc2e83b46ac317eec09191c68e; 2.6.12 (not affected: before 2.6.12; from 4.9.326 up to 4.9.*; from 4.14.291 up to 4.14.*; from 4.19.256 up to 4.19.*; from 5.4.211 up to 5.4.*; from 5.10.138 up to 5.10.*; from 5.15.63 up to 5.15.*; from 5.19.4 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: before 4.9.326; from 4.10 before 4.14.291; from 4.15 before 4.19.256; from 4.20 before 5.4.211; from 5.5 before 5.10.138; from 5.11 before 5.15.63; from 5.16 before 5.19.4

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/67a4874461422e633236a0286a01b483cd647113> (patch)
- <https://git.kernel.org/stable/c/118d967ce00a3d128bf731b35e4e2cb0facf5f00> (patch)
- <https://git.kernel.org/stable/c/77040efe59a141286d090c8a0d37c65a355a1832> (patch)
- <https://git.kernel.org/stable/c/ca06b4cde54f8ec8be3aa53fd339bd56e62c12b3> (patch)
- <https://git.kernel.org/stable/c/9ac14f973cb91f0c01776517e6d50981f32b8038> (patch)
- <https://git.kernel.org/stable/c/94aadba8d000d5de56af4ce8da3f334f21bf7a79> (patch)
- <https://git.kernel.org/stable/c/2b06d5d97c0e067108a122986767731d40742138> (patch)
- <https://git.kernel.org/stable/c/04cb742d4d8f30dc2e83b46ac317eec09191c68e> (patch)

## Sources

- CVE List: [CVE-2022-50028](https://www.cve.org/CVERecord?id=CVE-2022-50028), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-50028](https://nvd.nist.gov/vuln/detail/CVE-2022-50028), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-50028 · Whole record: https://cve.day/CVE-2022-50028.json · Rebuilt by cve.day 2026-11-25T22:58:21.017Z
