CVE-2021-47239
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
21/05/2024
Last modified:
30/12/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
net: usb: fix possible use-after-free in smsc75xx_bind<br />
<br />
The commit 46a8b29c6306 ("net: usb: fix memory leak in smsc75xx_bind")<br />
fails to clean up the work scheduled in smsc75xx_reset-><br />
smsc75xx_set_multicast, which leads to use-after-free if the work is<br />
scheduled to start after the deallocation. In addition, this patch<br />
also removes a dangling pointer - dev->data[0].<br />
<br />
This patch calls cancel_work_sync to cancel the scheduled work and set<br />
the dangling pointer to NULL.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.4.271 (including) | 4.4.274 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.9.271 (including) | 4.9.274 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.14.235 (including) | 4.14.238 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.19.193 (including) | 4.19.196 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.4.124 (including) | 5.4.128 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.10.42 (including) | 5.10.46 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.12.9 (including) | 5.12.13 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d
- https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b
- https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b
- https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d
- https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb
- https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504
- https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b
- https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b
- https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d
- https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b
- https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b
- https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d
- https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb
- https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504
- https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b
- https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b



