HID: betop: fix slab-out-of-bounds Write in betop_probe
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 52cd7785f3cdd2724f4efb5b21dbc75d6f9ccef4 · < dedfc35a2de2bae9fa3da8210a05bfd515f83fee| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
HID: betop: fix slab-out-of-bounds Write in betop_probe
Syzbot reported slab-out-of-bounds Write bug in hid-betopff driver. The problem is the driver assumes the device must have an input report but some malicious devices violate this assumption.
So this patch checks hid_device's input is non empty before it's been used.
From the CVE record · Linux
The Linux kernel’s hid-betopff driver assumes a HID device has an input report, which can cause a slab out-of-bounds write when a malicious device has none. Exploitation requires the kernel to probe such a device; the input does not specify authentication requirements or additional user interaction.
Engineers running Linux kernels with the hid-betopff driver should check their kernel versions; affected versions are not specified.