CVE-2021-47239
"Samsung SMSC 75xx USB Driver Use-After-Free Vulnerability"
Description
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.
INFO
Published Date :
May 21, 2024, 3:15 p.m.
Last Modified :
Dec. 30, 2024, 7:05 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-47239
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-47239
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-47239
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Dec. 30, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.4.271 up to (excluding) 4.4.274 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.9.271 up to (excluding) 4.9.274 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.14.235 up to (excluding) 4.14.238 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.19.193 up to (excluding) 4.19.196 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4.124 up to (excluding) 5.4.128 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10.42 up to (excluding) 5.10.46 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.12.9 up to (excluding) 5.12.13 Changed Reference Type https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d No Types Assigned https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d Patch Changed Reference Type https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d No Types Assigned https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d Patch Changed Reference Type https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b No Types Assigned https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b Patch Changed Reference Type https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b No Types Assigned https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b Patch Changed Reference Type https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b No Types Assigned https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b Patch Changed Reference Type https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b No Types Assigned https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b Patch Changed Reference Type https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d No Types Assigned https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d Patch Changed Reference Type https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d No Types Assigned https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d Patch Changed Reference Type https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb No Types Assigned https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb Patch Changed Reference Type https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb No Types Assigned https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb Patch Changed Reference Type https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504 No Types Assigned https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504 Patch Changed Reference Type https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504 No Types Assigned https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504 Patch Changed Reference Type https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b No Types Assigned https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b Patch Changed Reference Type https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b No Types Assigned https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b Patch Changed Reference Type https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b No Types Assigned https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b Patch Changed Reference Type https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b No Types Assigned https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d Added Reference https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b Added Reference https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b Added Reference https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d Added Reference https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb Added Reference https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504 Added Reference https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b Added Reference https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 28, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 21, 2024
Action Type Old Value New Value Added Description 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. Added Reference kernel.org https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-47239
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-47239
weaknesses.