{"id":"CVE-2021-47239","aliases":["CVE-2021-47239"],"related":[],"kind":"vulnerability","state":"published","title":"net: usb: fix possible use-after-free in smsc75xx_bind","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: fix possible use-after-free in smsc75xx_bind\n\nThe commit 46a8b29c6306 (\"net: usb: fix memory leak in smsc75xx_bind\")\nfails to clean up the work scheduled in smsc75xx_reset->\nsmsc75xx_set_multicast, which leads to use-after-free if the work is\nscheduled to start after the deallocation. In addition, this patch\nalso removes a dangling pointer - dev->data[0].\n\nThis patch calls cancel_work_sync to cancel the scheduled work and set\nthe dangling pointer to NULL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: fix possible use-after-free in smsc75xx_bind\n\nThe commit 46a8b29c6306 (\"net: usb: fix memory leak in smsc75xx_bind\")\nfails to clean up the work scheduled in smsc75xx_reset->\nsmsc75xx_set_multicast, which leads to use-after-free if the work is\nscheduled to start after the deallocation. In addition, this patch\nalso removes a dangling pointer - dev->data[0].\n\nThis patch calls cancel_work_sync to cancel the scheduled work and set\nthe dangling pointer to NULL.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net:usb: corrige posible use after free en smsc75xx_bind. La confirmación 46a8b29c6306 (\"net:usb: corrige la pérdida de memoria en smsc75xx_bind\") no logra limpiar el trabajo programado en smsc75xx_reset -&gt; smsc75xx_set_multicast, lo que genera use after free si el trabajo está programado para comenzar después de la desasignación. Además, este parche también elimina un puntero colgante: dev-&gt;data[0]. Este parche llama a cancel_work_sync para cancelar el trabajo programado y establecer el puntero colgante en NULL.","source":"nvd"}],"published":"2024-05-21T14:19:39.705Z","modified":"2026-06-17T04:16:59.147Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"200dbfcad8011e50c3cec269ed7b980836eeb1fa","fixed":"7cc8b2e05fcea6edd022d26e82091d781af8fd9b","status":"affected"},{"type":"git","introduced":"22c840596af0c09068b6cf948616e6496e59e07f","fixed":"64160d1741a3de5204d1a822e058e0b4cc526504","status":"affected"},{"type":"git","introduced":"9e6b8c1ff9d997e1fa16cbd2d60739adf6dc1bbc","fixed":"c4e3be2e7742863e454ce31faf8fd0109c00050b","status":"affected"},{"type":"git","introduced":"9e6a3eccb28779710cbbafc4f4258d92509c6d07","fixed":"2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b","status":"affected"},{"type":"git","introduced":"b95fb96e6339e34694dd578fb6bde3575b01af17","fixed":"4252bf6c2b245f47011098113d405ffad6ad5d5b","status":"affected"},{"type":"git","introduced":"635ac38b36255d3cfb8312cf7c471334f4d537e0","fixed":"570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb","status":"affected"},{"type":"git","introduced":"70c886ac93f87ae7214a0c69151a28a8075dd95b","fixed":"14616c372a7be01a2fb8c56c9d8debd232b9e43d","status":"affected"},{"type":"git","introduced":"46a8b29c6306d8bbfd92b614ef65a47c900d8e70","fixed":"56b786d86694e079d8aad9b314e015cd4ac02a3d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.4.271","fixed":"4.4.274","status":"affected"},{"type":"semver","introduced":"4.9.271","fixed":"4.9.274","status":"affected"},{"type":"semver","introduced":"4.14.235","fixed":"4.14.238","status":"affected"},{"type":"semver","introduced":"4.19.193","fixed":"4.19.196","status":"affected"},{"type":"semver","introduced":"5.4.124","fixed":"5.4.128","status":"affected"},{"type":"semver","introduced":"5.10.42","fixed":"5.10.46","status":"affected"},{"type":"semver","introduced":"5.12.9","fixed":"5.12.13","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.4.271","fixed":"4.4.274"},{"status":"affected","introduced":"4.9.271","fixed":"4.9.274"},{"status":"affected","introduced":"4.14.235","fixed":"4.14.238"},{"status":"affected","introduced":"4.19.193","fixed":"4.19.196"},{"status":"affected","introduced":"5.4.124","fixed":"5.4.128"},{"status":"affected","introduced":"5.10.42","fixed":"5.10.46"},{"status":"affected","introduced":"5.12.9","fixed":"5.12.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:40:00.710Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47239","url":"https://www.cve.org/CVERecord?id=CVE-2021-47239","licence":"CVE Terms of Use","modified":"2026-05-11T13:50:39.132Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47239","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47239","licence":"Public domain","modified":"2026-06-17T04:16:59.147Z"}],"updatedAt":"2026-11-25T22:58:08.751Z","epss":{"score":0.00228,"percentile":0.14558,"date":"2026-12-02T12:00:21.000Z"}}