CVE-2021-47405Published May 21, 2024 · May 21Updated Jun 17
HID: usbhid: free raw_report buffers in usbhid_stop
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f129ea6d1efe0eddcbb1f0faaec5623788ad9e58 · < f7ac4d24e1610b92689946fa88177673f1e88a3f| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
HID: usbhid: free raw_report buffers in usbhid_stop
Free the unsent raw_report buffers when the device is removed.
Fixes a memory leak reported by syzbot at: https://syzkaller.appspot.com/bug?id=7b4fa7cb1a7c2d3342a2a8a6c53371c8c418ab47
From the CVE record · Linux
The Linux kernel's usbhid driver can leak unsent raw_report buffers when a device is removed. The input does not specify how an attacker could trigger the leak or whether authentication or user interaction is required.
Engineers running Linux kernels with the usbhid driver should check their versions; affected versions are not specified.