CVE-2021-47311: Use-After-Free in Linux Qualcomm EMAC emac_remove
- Vendor
- Linux
CVE-2021-47311 is a use-after-free vulnerability in the Linux kernel Qualcomm EMAC network driver’s emac_remove removal path. The driver accesses its netdev private adapter data after free_netdev() has freed the associated network device and its private data. The upstream fix moves free_netdev() to the end of emac_remove so the adapter data is not referenced after it is freed.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Use of freed kernel memory in the Qualcomm EMAC driver removal path can produce unsafe kernel memory access. The supplied vulnerability details do not establish a specific confidentiality, integrity, availability, or code-execution outcome.
Mitigation
If you can’t patch tonight, do this now.
No specific interim mitigation is documented. Where operationally feasible, avoid removing or unbinding Qualcomm EMAC devices on systems running an unpatched kernel; disable the affected driver when the hardware is not required.
Remediation
Patch, then assume compromise.
Apply a kernel update containing the upstream fix, which is included in upstream versions 4.9.277, 4.14.241, 4.19.199, 5.4.135, 5.10.53, 5.13.5, and 5.14. For affected Red Hat Enterprise Linux 8 deployments, install the applicable Red Hat kernel security update and reboot for the updated kernel to take effect.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-47311 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2021-47311 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2021-47311?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-47311.
- Is there a patch for CVE-2021-47311?
- Apply a kernel update containing the upstream fix, which is included in upstream versions 4.9.277, 4.14.241, 4.19.199, 5.4.135, 5.10.53, 5.13.5, and 5.14. For affected Red Hat Enterprise Linux 8 deployments, install the applicable Red Hat kernel security update and reboot for the updated kernel to take effect.
- What products are affected by CVE-2021-47311?
- Linux Kernel.
- How severe is CVE-2021-47311?
- CVE-2021-47311 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.33% (18th percentile) as of Oct 16, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.