CVE-2021-47405

HID: usbhid: free raw_report buffers in usbhid_stop

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 03:03 PM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.4.2862.6.28 ≤ v < 4.14.2492.6.28 ≤ v < 4.19.2092.6.28 ≤ v < 4.4.2862.6.28 ≤ v < 4.9.2852.6.28 ≤ v < 5.10.712.6.28 ≤ v < 5.14.102.6.28 ≤ v < 5.152.6.28 ≤ v < 5.4.1514.10 ≤ v < 4.14.2494.15 ≤ v < 4.19.2094.20 ≤ v < 5.4.1514.5 ≤ v < 4.9.2855.11 ≤ v < 5.14.105.5 ≤ v < 5.10.712.6.28f129ea6d1efe0eddcbb1f0faaec5623788ad9e58
Vendor states this is fixed in 2b704864c92dcec2b295f276fcfbfb81d9831f81 (fixed)
Vendor states this is fixed in 764ac04de056801dfe52a716da63f6e7018e7f3b (fixed)
Vendor states this is fixed in 7ce4e49146612261265671b1d30d117139021030 (fixed)
Vendor states this is fixed in 965147067fa1bedff3ae1f07ce3f89f1a14d2df3 (fixed)
Vendor states this is fixed in c3156fea4d8a0e643625dff69a0421e872d1fdae (fixed)
Vendor states this is fixed in efc5c8d29256955cc90d8d570849b2d6121ed09f (fixed)
Vendor states this is fixed in f7744fa16b96da57187dc8e5634152d3b63d72de (fixed)
Vendor states this is fixed in f7ac4d24e1610b92689946fa88177673f1e88a3f (fixed)
Vendor states this is fixed in 2.6.28 (unaffected)
Vendor states this is fixed in 4.14.249 (unaffected)
Vendor states this is fixed in 4.19.209 (unaffected)
Vendor states this is fixed in 4.4.286 (unaffected)
Vendor states this is fixed in 4.9.285 (unaffected)
Vendor states this is fixed in 5.10.71 (unaffected)
Vendor states this is fixed in 5.14.10 (unaffected)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.4.151 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2b704864c92dcec2b295f276fcfbfb81d9831f81
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/764ac04de056801dfe52a716da63f6e7018e7f3b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7ce4e49146612261265671b1d30d117139021030
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/965147067fa1bedff3ae1f07ce3f89f1a14d2df3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c3156fea4d8a0e643625dff69a0421e872d1fdae
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/efc5c8d29256955cc90d8d570849b2d6121ed09f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f7744fa16b96da57187dc8e5634152d3b63d72de
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f7ac4d24e1610b92689946fa88177673f1e88a3f

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card