CVE-2021-47405
JSON

5.5medium

HID: usbhid: free raw_report buffers in usbhid_stop

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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

Affected

Product or packageVersionsReported by
Linux Linuxfrom f129ea6d1efe0eddcbb1f0faaec5623788ad9e58 before 7ce4e49146612261265671b1d30d117139021030, from f129ea6d1efe0eddcbb1f0faaec5623788ad9e58 before efc5c8d29256955cc90d8d570849b2d6121ed09f, from f129ea6d1efe0eddcbb1f0faaec5623788ad9e58 before c3156fea4d8a0e643625dff69a0421e872d1fdae, from f129ea6d1efe0eddcbb1f0faaec5623788ad9e58 before 764ac04de056801dfe52a716da63f6e7018e7f3b, from f129ea6d1efe0eddcbb1f0faaec5623788ad9e58 before 965147067fa1bedff3ae1f07ce3f89f1a14d2df3, from f129ea6d1efe0eddcbb1f0faaec5623788ad9e58 before f7ac4d24e1610b92689946fa88177673f1e88a3f, from f129ea6d1efe0eddcbb1f0faaec5623788ad9e58 before 2b704864c92dcec2b295f276fcfbfb81d9831f81, from f129ea6d1efe0eddcbb1f0faaec5623788ad9e58 before f7744fa16b96da57187dc8e5634152d3b63d72de and 1 more
Not affected: before 2.6.28, from 4.4.286 up to 4.4.*, from 4.9.285 up to 4.9.*, from 4.14.249 up to 4.14.*, from 4.19.209 up to 4.19.*, from 5.4.151 up to 5.4.*
CVE List
linux linux_kernelbefore 4.4.286, from 4.5 before 4.9.285, from 4.10 before 4.14.249, from 4.15 before 4.19.209, from 4.20 before 5.4.151, from 5.5 before 5.10.71, from 5.11 before 5.14.10NVD

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: HID: usbhid: buffers raw_report libres en usbhid_stop. Libera los buffers raw_report no enviados cuando se elimina el dispositivo. Corrige una pérdida de memoria informada por syzbot en: https://syzkaller.appspot.com/bug?id=7b4fa7cb1a7c2d3342a2a8a6c53371c8c418ab47

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47405 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-47405 changed 2026-06-17Public domain