Skip to main content
← All vulnerabilities
CVE-2021-47239

net: usb: fix possible use-after-free in smsc75xx_bind

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.4.274, 4.9.274, 4.14.238, 4.19.196, 5.4.128, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    From 4.4.271 · fixed in 4.4.274; From 4.9.271 · fixed in 4.9.274; From 4.14.235 · fixed in 4.14.238; From 4.19.193 · fixed in 4.19.196; From 5.4.124 · fixed in 5.4.128; From 5.10.42 · fixed in 5.10.46; From 5.12.9 · fixed in 5.12.13

References 8

git.kernel.org