CVE-2021-47310·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net: ti: fix UAF in tlan_remove_one priv is netdev private data and it cannot be used after free_netdev() call. Using priv after free_netdev() can cause UAF bug. Fix it by moving free_netdev() at the end of the function.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.13.5
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2021-47310 scores 7.8 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 5.11
Until: 5.13.5
Fixed in: 5.13.5
How to fix this CVE
Update your Linux kernel to version 5.13.5 or later to patch a use-after-free vulnerability in the TI network driver removal routine. This flaw allows local privileged attackers to corrupt kernel memory and potentially escalate privileges. Prioritize this patch on systems running affected kernel versions 5.11 through 5.13.4.
sudo dnf upgrade kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check the currently running kernel version and confirm if it falls within the 5.11–5.13.4 range
- Verify if the tlan network driver is loaded by executing 'lsmod | grep tlan' or check '/sys/module/tlan'
- Review kernel logs for memory corruption or UAF-related errors using 'dmesg | grep -i tlan' or 'journalctl -k | grep tlan'
- After patching, reboot and run 'uname -r' again to confirm the new kernel version is 5.13.5 or later
FAQ
What is CVE-2021-47310?
CVE-2021-47310 is a use-after-free vulnerability in the Linux kernel's TI network driver (tlan) where the device removal function improperly accesses freed memory, enabling local privilege escalation via crafted operations.
Is CVE-2021-47310 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are available. However, local attackers with user-level access can trigger it.
What versions of Kernel are affected by CVE-2021-47310?
Kernel versions 5.11 through 5.13.4 are vulnerable. Version 5.13.5 and later include the fix.
How do I check if my server is vulnerable to CVE-2021-47310?
Run 'uname -r' and verify if the kernel version is between 5.11 and 5.13.4. Additionally, confirm the tlan driver is present with 'lsmod | grep tlan'.
Does Defensia detect CVE-2021-47310?
Yes — Defensia's CVE advisory scanner compares installed kernel and driver versions against the NVD database. If a vulnerable kernel is detected on a monitored server, CVE-2021-47310 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0336f8ffece62f882ab3012820965a786a983f70
- https://git.kernel.org/stable/c/0538b0ab7d2c396e385694228c7cdcd2d2c514e9
- https://git.kernel.org/stable/c/93efab0ef2a607fff9166d447c4035f98b5db342
- https://git.kernel.org/stable/c/a0a817b2d308fac090a05cbbe80988e073ac5193
- https://git.kernel.org/stable/c/a18a8d9cfbb112ad72e625372849adc3986fd6bf
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47310. Free for 1 server.
Get started free