In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]HID: cp2112: prevent a buffer overflow in cp2112_xfer()[EOL][EOL]Smatch warnings:[EOL]drivers/hid/hid-cp2112.c:793 cp2112_xfer() error: __memcpy()[EOL]'data->block[1]' too small (33 vs 255)[EOL]drivers/hid/hid-cp2112.c:793 cp2112_xfer() error: __memcpy() 'buf' too[EOL]small (64 vs 255)[EOL][EOL]The 'read_length' variable is provided by 'data->block[0]' which comes[EOL]from user and it(read_length) can take a value between 0-255. Add an[EOL]upper bound to 'read_length' variable to prevent a buffer overflow in[EOL]memcpy(). CREATE(Triage):(User=lchen-cn) [CVE-2022-50156 (https://nvd.nist.gov/vuln/detail/CVE-2022-50156)