CVE-2021-46906
mediumpriority · track · 22EPSS 0.002 · 16 %ileDEEURUUSEPSS · scored 2026-10-27
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().
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (47)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-0478Linux Kernel: Mehrere SchwachstellenDeutsch2024-02-26csaf · cert_bundDE
Ein lokaler Angreifer kann mehrere Schwachstellen im Linux Kernel ausnutzen, um Informationen offenzulegen, Sicherheitsvorkehrungen zu umgehen oder unbekannte Auswirkungen zu verursachen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (26)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2021-46906/cnnvd
- https://git.kernel.org/stable/c/0e280502be1b003c3483ae03fc60dea554fcfa82cnnvd
- https://git.kernel.org/stable/c/21883bff0fd854e07429a773ff18f1e9658f50e8cnnvd
- https://git.kernel.org/stable/c/41b1e71a2c57366b08dcca1a28b0d45ca69429cecnnvd
- https://git.kernel.org/stable/c/6be388f4a35d2ce5ef7dbf635a8964a5da7f799fcnnvd
- https://git.kernel.org/stable/c/7f5a4b24cdbd7372770a02f23e347d7d9a9ac8f1cnnvd
- https://git.kernel.org/stable/c/8c064eece9a51856f3f275104520c7e3017fc5c0cnnvd
- https://git.kernel.org/stable/c/b1e3596416d74ce95cc0b7b38472329a3818f8a9cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan