HID: betop: check shape of output reports
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 · < 07bc32e53c7bd5c91472cc485231ef6274db9b76| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
HID: betop: check shape of output reports
betopff_init() only checks the total sum of the report counts for each report field to be at least 4, but hid_betopff_play() expects 4 report fields. A device advertising an output report with one field and 4 report counts would pass the check but crash the kernel with a NULL pointer dereference in hid_betopff_play().
From the CVE record · Linux
The Linux kernel's HID betop driver checks the total report count but not the number of output report fields. A device advertising one field with four report counts can pass initialization and cause a NULL pointer dereference, crashing the kernel when the report is played. The input does not specify authentication requirements.
Engineers running Linux kernels with the HID betop driver should check their deployments; affected versions are not specified.