What’s Vulnerable › Vulnerabilities

CVE-2021-47311: net: qcom/emac: fix UAF in emac_remove

Description

In the Linux kernel, the following vulnerability has been resolved: net: qcom/emac: fix UAF in emac_remove adpt is netdev private data and it cannot be used after free_netdev() call. Using adpt after free_netdev() can cause UAF bug. Fix it by moving free_netdev() at the end of the function.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.241, 4.19.199, 4.9.277, 5.10.53. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47311 or the next vulnerability affects your stack