CVE-2021-47239

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

No CVSS score yet EPSS 0.23%

Published 21 May 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2021-47239

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-47239 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.5% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 200dbfcad8011e50c3cec269ed7b980836eeb1fa, before 7cc8b2e05fcea6edd022d26e82091d781af8fd9b
affected from 22c840596af0c09068b6cf948616e6496e59e07f, before 64160d1741a3de5204d1a822e058e0b4cc526504
affected from 9e6b8c1ff9d997e1fa16cbd2d60739adf6dc1bbc, before c4e3be2e7742863e454ce31faf8fd0109c00050b
affected from 9e6a3eccb28779710cbbafc4f4258d92509c6d07, before 2fc8300c9cfa5167fcb5b1a2a07db6f53e82f59b
affected from b95fb96e6339e34694dd578fb6bde3575b01af17, before 4252bf6c2b245f47011098113d405ffad6ad5d5b
affected from 635ac38b36255d3cfb8312cf7c471334f4d537e0, before 570a52cf3e01d19f7fd1a251dfc52b0cd86c13cb
affected from 70c886ac93f87ae7214a0c69151a28a8075dd95b, before 14616c372a7be01a2fb8c56c9d8debd232b9e43d
affected from 46a8b29c6306d8bbfd92b614ef65a47c900d8e70, before 56b786d86694e079d8aad9b314e015cd4ac02a3d
Other versions: unaffected
Linux
affected from 4.4.271, before 4.4.274
affected from 4.9.271, before 4.9.274
affected from 4.14.235, before 4.14.238
affected from 4.19.193, before 4.19.196
affected from 5.4.124, before 5.4.128
affected from 5.10.42, before 5.10.46
affected from 5.12.9, before 5.12.13
Other versions: unaffected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-47239 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47239

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2021-47239
trivy image --scanners vuln IMAGE | grep CVE-2021-47239

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2021-47239 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.