[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025061838-CVE-2022-50028-5f5e@gregkh>
Date: Wed, 18 Jun 2025 13:01:33 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50028: gadgetfs: ep_io - wait until IRQ finishes
From: Greg Kroah-Hartman <gregkh@...nel.org>
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.
The Linux kernel CVE team has assigned CVE-2022-50028 to this issue.
Affected and fixed versions
===========================
Fixed in 4.9.326 with commit 67a4874461422e633236a0286a01b483cd647113
Fixed in 4.14.291 with commit 118d967ce00a3d128bf731b35e4e2cb0facf5f00
Fixed in 4.19.256 with commit 77040efe59a141286d090c8a0d37c65a355a1832
Fixed in 5.4.211 with commit ca06b4cde54f8ec8be3aa53fd339bd56e62c12b3
Fixed in 5.10.138 with commit 9ac14f973cb91f0c01776517e6d50981f32b8038
Fixed in 5.15.63 with commit 94aadba8d000d5de56af4ce8da3f334f21bf7a79
Fixed in 5.19.4 with commit 2b06d5d97c0e067108a122986767731d40742138
Fixed in 6.0 with commit 04cb742d4d8f30dc2e83b46ac317eec09191c68e
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-50028
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/usb/gadget/legacy/inode.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/67a4874461422e633236a0286a01b483cd647113
https://git.kernel.org/stable/c/118d967ce00a3d128bf731b35e4e2cb0facf5f00
https://git.kernel.org/stable/c/77040efe59a141286d090c8a0d37c65a355a1832
https://git.kernel.org/stable/c/ca06b4cde54f8ec8be3aa53fd339bd56e62c12b3
https://git.kernel.org/stable/c/9ac14f973cb91f0c01776517e6d50981f32b8038
https://git.kernel.org/stable/c/94aadba8d000d5de56af4ce8da3f334f21bf7a79
https://git.kernel.org/stable/c/2b06d5d97c0e067108a122986767731d40742138
https://git.kernel.org/stable/c/04cb742d4d8f30dc2e83b46ac317eec09191c68e
Powered by blists - more mailing lists