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

Published May 21, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: qcom/emac: fix UAF in emacremove

adpt is netdev private data and it cannot be used after freenetdev() call. Using adpt after freenetdev() can cause UAF bug. Fix it by moving freenetdev() at the end of the function.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

net: qcom/emac: fix UAF in emacremove

The Linux kernel CVE team has assigned CVE-2021-47311 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024052129-CVE-2021-47311-47f4@gregkh/T

Red Hat

Affected Software

18 affected componentsFixes available
redhat/kernel<4.9.277
4.9.277
redhat/kernel<4.14.241
4.14.241
redhat/kernel<4.19.199
4.19.199
redhat/kernel<5.4.135
5.4.135
redhat/kernel<5.10.53
5.10.53
redhat/kernel<5.13.5
5.13.5
redhat/kernel<5.14
5.14
Linux Linux kernel>=4.9<4.9.277
Linux Linux kernel>=4.10<4.14.241
Linux Linux kernel>=4.15<4.19.199
Linux Linux kernel>=4.20<5.4.135
Linux Linux kernel>=5.5<5.10.53
Linux Linux kernel>=5.11<5.13.5
Linux Linux kernel=5.14-rc1
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2

Event History

May 21, 2024
CVE Published
via MITRE·02:35 PM
Data Sourced
via MITRE·02:35 PM
Description
May 22, 2024
Data Sourced
via Red Hat·12:21 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-47311?

CVE-2021-47311 is rated as a high severity vulnerability in the Linux kernel.

2

How do I fix CVE-2021-47311?

To resolve CVE-2021-47311, upgrade to the patched versions of the kernel: 4.9.277, 4.14.241, 4.19.199, 5.4.135, 5.10.53, 5.13.5, or 5.14.

3

Which versions of the Linux kernel are affected by CVE-2021-47311?

CVE-2021-47311 affects multiple Linux kernel versions prior to the patched releases mentioned.

4

What kind of bug is associated with CVE-2021-47311?

CVE-2021-47311 is associated with a use-after-free (UAF) bug in the Linux kernel.

5

Is CVE-2021-47311 exploited in the wild?

As of the latest updates, there is no public indication that CVE-2021-47311 is actively exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203