{"id":"CVE-2021-47239","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2024-05-21T15:15:13.100","lastModified":"2026-06-17T04:16:59.147","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":" 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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/net/usb/smsc75xx.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"200dbfcad8011e50c3cec269ed7b980836eeb1fa","lessThan":"7cc8b2e05fcea6edd022d26e82091d781af8fd9b","versionType":"git","status":"affected"},{"version":"22c840596af0c09068b6cf948616e6496e59e07f","lessThan":"64160d1741a3de5204d1a822e058e0b4cc526504","versionType":"git","status":"affected"},{"version":"9e6b8c1ff9d997e1fa16cbd2d60739adf6dc1bbc","lessThan":"c4e3be2e7742863e454ce31faf8fd0109c00050b","versionType":"git","status":"affected"},{"version":"9e6a3eccb28779710cbbafc4f4258d92509c6d07","lessThan":"2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b","versionType":"git","status":"affected"},{"version":"b95fb96e6339e34694dd578fb6bde3575b01af17","lessThan":"4252bf6c2b245f47011098113d405ffad6ad5d5b","versionType":"git","status":"affected"},{"version":"635ac38b36255d3cfb8312cf7c471334f4d537e0","lessThan":"570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb","versionType":"git","status":"affected"},{"version":"70c886ac93f87ae7214a0c69151a28a8075dd95b","lessThan":"14616c372a7be01a2fb8c56c9d8debd232b9e43d","versionType":"git","status":"affected"},{"version":"46a8b29c6306d8bbfd92b614ef65a47c900d8e70","lessThan":"56b786d86694e079d8aad9b314e015cd4ac02a3d","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/net/usb/smsc75xx.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.4.271","lessThan":"4.4.274","versionType":"semver","status":"affected"},{"version":"4.9.271","lessThan":"4.9.274","versionType":"semver","status":"affected"},{"version":"4.14.235","lessThan":"4.14.238","versionType":"semver","status":"affected"},{"version":"4.19.193","lessThan":"4.19.196","versionType":"semver","status":"affected"},{"version":"5.4.124","lessThan":"5.4.128","versionType":"semver","status":"affected"},{"version":"5.10.42","lessThan":"5.10.46","versionType":"semver","status":"affected"},{"version":"5.12.9","lessThan":"5.12.13","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-09-10T15:40:00.710972Z","id":"CVE-2021-47239","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-416"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4.271","versionEndExcluding":"4.4.274","matchCriteriaId":"737AAC58-BB4E-47DF-AC5F-FA6F3A7A1103"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9.271","versionEndExcluding":"4.9.274","matchCriteriaId":"8C445B8A-4E12-47FB-8627-E8B96B9579D0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.235","versionEndExcluding":"4.14.238","matchCriteriaId":"BCBDE75C-DF50-4E70-B1D1-A20BD3099318"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.193","versionEndExcluding":"4.19.196","matchCriteriaId":"E6000807-8020-4E7C-A445-BAF2F14A52A1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.124","versionEndExcluding":"5.4.128","matchCriteriaId":"6DBC83E0-6B98-400C-9F10-299D808706FB"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.42","versionEndExcluding":"5.10.46","matchCriteriaId":"F9F66318-6AFC-40FF-A36E-F936221016D7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12.9","versionEndExcluding":"5.12.13","matchCriteriaId":"7AA02305-D22E-49CF-8F2A-272D97B16E7C"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/14616c372a7be01a2fb8c56c9d8debd232b9e43d","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/4252bf6c2b245f47011098113d405ffad6ad5d5b","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/56b786d86694e079d8aad9b314e015cd4ac02a3d","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/64160d1741a3de5204d1a822e058e0b4cc526504","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/7cc8b2e05fcea6edd022d26e82091d781af8fd9b","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c4e3be2e7742863e454ce31faf8fd0109c00050b","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]}]}