HID: cp2112: validate response report lengths

State
Published
Severity
Not Scored
Published
Nov 19, 2026
Updated
Nov 23, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

HID: cp2112: validate response report lengths

The HID core invokes raw_event callbacks before validating the report length. cp2112_raw_event() reads every field of a transfer status response without checking size. For a data response, it reads the length at offset two and copies that many bytes from offset three, again without ensuring that the input report contains them.

Require a complete transfer status structure. For data responses, first require the header and then ensure the clamped payload length fits in the received report before copying it.

Commit 47669bec44fe ("HID: asus: refactor the two workqueues and init sequence") added the same kind of raw_event length validation to hid-asus.

ProductVersions
Linux Linuxe932d817866770d456815c9a84b7ed94f0589d80 to before dfea21d67426b93c60ec4575f27ee1e73c3a75d5 Affectede932d817866770d456815c9a84b7ed94f0589d80 to before 4ebc9aed3fb7326daad7e7b336bb17b9d41b91d2 Affectede932d817866770d456815c9a84b7ed94f0589d80 to before f1b4bed4163e7097cd2d59b2c21220d038b6b20f Affectede932d817866770d456815c9a84b7ed94f0589d80 to before 50fc069cfcb25e9d36a8cccf9111d53bc47a309c Affectede932d817866770d456815c9a84b7ed94f0589d80 to before e178cdd6ed0f4ac20afc9220eceae3a89e6719af Affectede932d817866770d456815c9a84b7ed94f0589d80 to before 94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297 Affectede932d817866770d456815c9a84b7ed94f0589d80 to before 773307dd4c3e8c27eb31650af2df2d91cba22de8 Affectede932d817866770d456815c9a84b7ed94f0589d80 to before fc54e71a063c0dcc4bceba6d0f71805a9b84082d Affected
Linux Linux3.15 Affectedbefore 3.15 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.