CVE-2021-47306·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net: fddi: fix UAF in fza_probe fp is netdev private data and it cannot be used after free_netdev() call. Using fp after free_netdev() can cause UAF bug. Fix it by moving free_netdev() after error message. TURBOchannel adapter")
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.13.5
- Published
- 2024-05-21
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 resolve a use-after-free (UAF) vulnerability in the FDDI network adapter driver. This flaw occurs when the driver references freed memory during error handling in the fza_probe function, potentially leading to system crashes or memory corruption. Apply the patch immediately to systems running affected kernel versions 5.11 through 5.13.4.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against the affected range 5.11.x through 5.13.4
- Step 2: Verify if the FDDI network driver is loaded by running `lsmod | grep fddi` or checking for TURBOchannel adapter hardware with `lspci | grep -i fddi`
- Step 3: Search kernel logs for FDDI-related errors or memory faults using `dmesg | grep -i fddi` or `journalctl -k | grep -i fddi`
- Step 4: Confirm the fix by upgrading to kernel 5.13.5+ and verifying with `uname -r`, then checking that the system boots without FDDI-related UAF errors in logs
FAQ
What is CVE-2021-47306?
CVE-2021-47306 is a use-after-free vulnerability in the Linux kernel's FDDI (Fiber Distributed Data Interface) network driver where freed memory is accessed during error handling, potentially causing kernel panics or data corruption on systems with TURBOchannel FDDI adapters.
Is CVE-2021-47306 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available. However, local attackers with kernel access could potentially trigger the UAF condition.
What versions of Kernel are affected by CVE-2021-47306?
Kernel versions 5.11.0 through 5.13.4 are vulnerable. Version 5.13.5 and later contain the fix.
How do I check if my server is vulnerable to CVE-2021-47306?
Run `uname -r` to check your kernel version; if it falls between 5.11.0 and 5.13.4, verify FDDI driver presence with `lsmod | grep fddi`. If both conditions are true, your system is vulnerable.
Does Defensia detect CVE-2021-47306?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2021-47306 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/04b06716838bfc26742dbed3ae1d3697fe5317ee
- https://git.kernel.org/stable/c/bdfbb51f7a437ae8ea91317a5c133ec13adf3c47
- https://git.kernel.org/stable/c/deb7178eb940e2c5caca1b1db084a69b2e59b4c9
- https://git.kernel.org/stable/c/f33605908a9b6063525e9f68e62d739948c5fccf
- https://git.kernel.org/stable/c/04b06716838bfc26742dbed3ae1d3697fe5317ee
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47306. Free for 1 server.
Get started free