CVE-2021-47239 json
net: usb: fix possible use-after-free in smsc75xx_bind
published 2024-05-21 2 y ago modified 2026-06-17 4 mo ago also EUVD-2021-33887
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 13%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
net: usb: fix possible use-after-free in smsc75xx_bind
The commit 46a8b29c6306 ("net: usb: fix memory leak in smsc75xx_bind") fails to clean up the work scheduled in smsc75xx_reset-> smsc75xx_set_multicast, which leads to use-after-free if the work is scheduled to start after the deallocation. In addition, this patch also removes a dangling pointer - dev->data[0].
This patch calls cancel_work_sync to cancel the scheduled work and set the dangling pointer to NULL.
Patch / fix
- Linux Linux 4.4.274, 4.9.274, 4.14.238, 4.19.196, 5.4.128, 5.10.46, 5.12.13
- linux Debian 14, Debian 13, Debian 12 5.10.46-1
debian advisories DEBIAN-CVE-2021-47239
- linux Ubuntu 18.04 LTS 4.15.0-156.163
- linux Ubuntu 20.04 LTS 5.4.0-81.91
- linux-aws Ubuntu 18.04 LTS 4.15.0-1111.118
- linux-aws Ubuntu 20.04 LTS 5.4.0-1055.58
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1051.55
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1099.101
- linux-kvm Ubuntu 20.04 LTS 5.4.0-1045.47
- linux-azure Ubuntu 20.04 LTS 5.4.0-1056.58
ubuntu advisories UBUNTU-CVE-2021-47239
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-rt SLE Micro 5.2, SLE Micro 5.1 5.3.18-150300.211.1
- kernel-source-rt SLE Micro 5.2, SLE Micro 5.1 5.3.18-150300.211.1
- kernel-64kb SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS, Enterprise Storage 7.1 5.3.18-150300.59.164.1
- kernel-syms SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.164.1
- kernel-source SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.164.1
- kernel-default SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +5 more 5.3.18-150300.59.164.1
- kernel-preempt SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.164.1
- kernel-obs-build SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.164.1
suse advisories SUSE-SU-2025:01995-1SUSE-SU-2024:2185-1SUSE-SU-2024:2184-1SUSE-SU-2024:2183-1SUSE-SU-2024:2010-1SUSE-SU-2024:1983-1
- git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b commit
- git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504 commit
- git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b commit
- git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b commit
- git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b commit
- git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb commit
- git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d commit
- git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d 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-47239 updated cvss 4.4
kernel: net: usb: fix possible use-after-free in smsc75xx_bind
-
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 moreaffected: no fix available
-
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.23% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b
patch
-
git.kernel.org
/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504
patch
-
git.kernel.org
/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b
patch
-
git.kernel.org
/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b
patch
-
git.kernel.org
/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b
patch
-
git.kernel.org
/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb
patch
-
git.kernel.org
/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d
patch
-
git.kernel.org
/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d
patch
Sources
- CVE List CVE-2021-47239
- NVD CVE-2021-47239
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.