CVE-2021-46906

Updated: 2024-11-24 05:54:24.892786

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().


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x 0
CVSS Version 3.x MEDIUM 5.5

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

CentOS 6 ELS kernel 2.6.32 5.5 MEDIUM Ignored 2024-04-18 14:11:02
CentOS 7 ELS kernel 3.10.0 5.5 MEDIUM Released CLSA-2024:1720468480 2024-07-23 17:22:56
CentOS 8.4 ELS kernel 4.18.0 5.5 MEDIUM Ignored 2024-04-18 14:11:02
CentOS 8.5 ELS kernel 4.18.0 5.5 MEDIUM Ignored 2024-04-18 14:11:02
CloudLinux 6 ELS kernel 2.6.32 5.5 MEDIUM Ignored 2024-06-24 10:15:14
Oracle Linux 6 ELS kernel 2.6.32 5.5 MEDIUM Ignored 2024-04-18 14:11:02
Ubuntu 16.04 ELS linux-hwe 4.15.0 5.5 MEDIUM Already Fixed 2024-04-18 10:06:41
Ubuntu 16.04 ELS linux 4.4.0 5.5 MEDIUM Released CLSA-2024:1714073393 2024-04-25 21:41:54
Ubuntu 18.04 ELS linux 4.15.0 5.5 MEDIUM Already Fixed 2024-04-18 11:11:10