CVE-2021-46906
MediumIn 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().
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness type
CWE-668CVE-2021-46906 is classified as CWE-668
See CWE-668 on MITRE CWE for full details on this weakness type.
References
The following references provide additional information about CVE-2021-46906 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0e280502be1b003c3483ae03fc60dea554fcfa82
-
PatchKernel patch commithttps://git.kernel.org/stable/c/21883bff0fd854e07429a773ff18f1e9658f50e8
-
PatchKernel patch commithttps://git.kernel.org/stable/c/41b1e71a2c57366b08dcca1a28b0d45ca69429ce
Frequently asked questions
-
What is CVE-2021-46906?
CVE-2021-46906 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . CVE-2021-46906 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2021-46906?
CVE-2021-46906 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. -
Is there a patch available for CVE-2021-46906?
No patch is currently available for CVE-2021-46906. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2021-46906 actively exploited?
No — CVE-2021-46906 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.