PT-2025-26082

CVE-2022-50156

·

Published

2022-06-09

·

Updated

2025-11-25

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A buffer overflow issue has been identified in the Linux kernel, specifically in the cp2112 xfer() function. The read length variable, which is provided by data->block[0] and comes from user input, can take a value between 0-255. To prevent a buffer overflow in memcpy(), an upper bound has been added to the read length variable. The issue is related to the cp2112 xfer() function in the hid-cp2112.c file, where memcpy() warnings were reported due to the data->block[1] and buf being too small.
Recommendations To resolve the issue, apply the patch that adds an upper bound to the read length variable in the cp2112 xfer() function. As a temporary workaround, consider restricting the use of the cp2112 xfer() function until a patch is available.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
RHSA-2023:2458
RHSA-2023_2458
SUSE-SU-2025:02264-1
SUSE-SU-2025_02264-1
SUSE-SU-2025:02308-1
SUSE-SU-2025_02308-1
SUSE-SU-2025:02320-1
SUSE-SU-2025:02321-1
SUSE-SU-2025:02322-1
SUSE-SU-2025:02537-1
SUSE-SU-2025_02537-1
SUSE-SU-2025:2264-1
Found an issue in the description? Have something to add? Feel free to write us 👾