PT-2022-1368
CVE-2022-25258
·
Published
2022-02-16
·
Updated
2023-08-14
Description by
CVSS 2.0
6.8
MediumMetricsAV:L/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 5.16.10
Description
The issue is related to the USB Gadget subsystem in the Linux kernel, which lacks certain validation of interface OS descriptor requests. This can lead to memory corruption. The vulnerability is associated with a missing bounds check in the
composite setup function of composite.c, allowing for a possible out of bounds write. This could lead to local escalation of privilege when connecting a malicious USB device, with no additional execution privileges needed. User interaction is not required for exploitation.Recommendations
For Linux kernel versions prior to 5.16.10, update to version 5.16.10 or later to resolve the issue. As a temporary workaround, consider restricting the use of USB devices to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾