vulnerability
Amazon Linux AMI 2: CVE-2021-46906: Security patch for kernel (Multiple Advisories)
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 5 | (AV:L/AC:L/Au:S/C:C/I:N/A:N) | Feb 26, 2024 | Mar 19, 2024 | May 20, 2026 |
Description
In the Linux kernel, the following vulnerability has been resolved:
HID: usbhid: fix info leak in hid_submit_ctrl
In hid_submit_ctrl(), the way of calculating the report length doesn't
take into account that report->size can be zero. When running the
syzkaller reproducer, a report of size 0 causes hid_submit_ctrl) to
calculate transfer_buffer_length as 16384. When this urb is passed to
the usb core layer, KMSAN reports an info leak of 16384 bytes.
To fix this, first modify hid_report_len() to account for the zero
report size case by using DIV_ROUND_UP for the division. Then, call it
from hid_submit_ctrl().
Solutions
References
- AMAZON-AL2/ALAS-2021-1685
- AMAZON-AL2/ALAS2KERNEL-5.10-2022-002
- AMAZON-AL2/ALAS2KERNEL-5.4-2022-004
- AMAZON-AL2/ALASKERNEL-5.10-2022-002
- AMAZON-AL2/ALASKERNEL-5.4-2022-004
- CVE-2021-46906
- https://attackerkb.com/topics/CVE-2021-46906
- CWE-668
- EUVD-EUVD-2021-33554
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-33554
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.