CVE-2021-47239 net: usb: fix possible use-after-free in smsc75xx_bind
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 4.4.271 이상 4.4.274 미만
- 4.9.271 이상 4.9.274 미만
- 4.14.235 이상 4.14.238 미만
- 4.19.193 이상 4.19.196 미만
- 5.4.124 이상 5.4.128 미만
- 5.10.42 이상 5.10.46 미만
- 5.12.9 이상 5.12.13 미만
해결 버전
- 4.4.274 이상
- 4.9.274 이상
- 4.14.238 이상
- 4.19.196 이상
- 5.4.128 이상
- 5.10.46 이상
- 5.12.13 이상
참고 자료 8건
- git.kernel.org https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b (새 창)
- git.kernel.org https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb (새 창)
- git.kernel.org https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b (새 창)