CVE-2021-47405 json
HID: usbhid: free raw_report buffers in usbhid_stop
published 2024-05-21 2 y ago modified 2026-06-17 4 mo ago also EUVD-2021-34410
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- Linux Linux 4.4.286, 4.9.285, 4.14.249, 4.19.209, 5.4.151, 5.10.71, 5.14.10, 5.15
- linux Debian 14, Debian 13, Debian 12 5.14.12-1
debian advisories DEBIAN-CVE-2021-47405
- linux Ubuntu 18.04 LTS 4.15.0-163.171
- linux Ubuntu 20.04 LTS 5.4.0-91.102
- linux-aws Ubuntu 18.04 LTS 4.15.0-1116.123
- linux-aws Ubuntu 20.04 LTS 5.4.0-1060.63
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1058.62
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1008.9
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1103.105
- linux-kvm Ubuntu 20.04 LTS 5.4.0-1050.52
ubuntu advisories UBUNTU-CVE-2021-47405
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-syms SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.225.1
- kernel-source SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.225.1
- kernel-default SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +2 more 4.12.14-122.225.1
- kernel-obs-build SLE Software Development Kit 12 SP5 4.12.14-122.225.1
- kernel-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.194.1
- kernel-syms-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.194.1
- kernel-source-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.194.1
- kernel-rt SLE Real Time 12 SP5 4.12.14-10.197.1
suse advisories SUSE-SU-2024:2940-1SUSE-SU-2024:2901-1SUSE-SU-2024:2892-1SUSE-SU-2024:2190-1SUSE-SU-2024:2189-1SUSE-SU-2024:2185-1
- git.kernel.org/stable/c/7ce4e49146612261265671b1d30d117139021030 commit
- git.kernel.org/stable/c/efc5c8d29256955cc90d8d570849b2d6121ed09f commit
- git.kernel.org/stable/c/c3156fea4d8a0e643625dff69a0421e872d1fdae commit
- git.kernel.org/stable/c/764ac04de056801dfe52a716da63f6e7018e7f3b commit
- git.kernel.org/stable/c/965147067fa1bedff3ae1f07ce3f89f1a14d2df3 commit
- git.kernel.org/stable/c/f7ac4d24e1610b92689946fa88177673f1e88a3f commit
- git.kernel.org/stable/c/2b704864c92dcec2b295f276fcfbfb81d9831f81 commit
- git.kernel.org/stable/c/f7744fa16b96da57187dc8e5634152d3b63d72de commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-47405 updated cvss 5.1
kernel: HID: usbhid: free raw_report buffers in usbhid_stop
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
- Technology feeds
References
-
git.kernel.org
/stable/c/7ce4e49146612261265671b1d30d117139021030
patch
-
git.kernel.org
/stable/c/efc5c8d29256955cc90d8d570849b2d6121ed09f
patch
-
git.kernel.org
/stable/c/c3156fea4d8a0e643625dff69a0421e872d1fdae
patch
-
git.kernel.org
/stable/c/764ac04de056801dfe52a716da63f6e7018e7f3b
patch
-
git.kernel.org
/stable/c/965147067fa1bedff3ae1f07ce3f89f1a14d2df3
patch
-
git.kernel.org
/stable/c/f7ac4d24e1610b92689946fa88177673f1e88a3f
patch
-
git.kernel.org
/stable/c/2b704864c92dcec2b295f276fcfbfb81d9831f81
patch
-
git.kernel.org
/stable/c/f7744fa16b96da57187dc8e5634152d3b63d72de
patch
Sources
- CVE List CVE-2021-47405
- NVD CVE-2021-47405
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.