CVE-2021-47355·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: atm: nicstar: Fix possible use-after-free in nicstar_cleanup() This module's remove path calls del_timer(). However, that function does not wait until the timer handler finishes. This means that the timer handler may still be running after the driver's remove function has finished, which would result in a use-after-free. Fix by calling del_timer_sync(), which makes sure the timer handler has finished, and unable to re-schedule itself.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.13.3
- Published
- 2024-05-21
Affected versions
From: 5.13
Until: 5.13.3
Fixed in: 5.13.3
How to fix this CVE
Update your Linux kernel to version 5.13.3 or later to resolve this use-after-free vulnerability in the ATM nicstar driver. The vulnerability stems from improper timer cleanup during module removal, allowing the timer handler to execute after driver resources are freed. Apply security patches immediately to all systems running affected kernel versions between 5.13 and 5.13.2.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check current kernel version with: uname -r | grep -E '5\.13\.[0-2]'
- Step 2: Verify if ATM nicstar driver is loaded: lsmod | grep nicstar
- Step 3: Search kernel logs for timer-related crashes or use-after-free warnings: dmesg | grep -i 'use-after-free\|timer\|nicstar'
- Step 4: After patching, confirm kernel version: uname -r and verify it shows 5.13.3 or higher
FAQ
What is CVE-2021-47355?
CVE-2021-47355 is a use-after-free vulnerability in the Linux kernel's ATM nicstar driver caused by improper timer cleanup during module removal. The driver's remove function uses del_timer() instead of del_timer_sync(), allowing the timer handler to access freed memory.
Is CVE-2021-47355 being actively exploited?
No, CVE-2021-47355 is not actively exploited in the wild according to CISA KEV data, and no public exploits are currently available. However, it remains a high-severity vulnerability requiring immediate patching.
What versions of Kernel are affected by CVE-2021-47355?
Linux kernel versions 5.13 through 5.13.2 are affected. The vulnerability was patched in kernel 5.13.3 and later releases.
How do I check if my server is vulnerable to CVE-2021-47355?
Run: uname -r and check if output matches 5.13.[0-2]. Additionally, verify ATM nicstar driver presence with: lsmod | grep nicstar. If both conditions are true, your system is vulnerable.
Does Defensia detect CVE-2021-47355?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2021-47355 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2f958b6f6ba0854b39be748d21dfe71e0fe6580f
- https://git.kernel.org/stable/c/34e7434ba4e97f4b85c1423a59b2922ba7dff2ea
- https://git.kernel.org/stable/c/4e2a0848ea2cab0716d46f85a8ccd5fa9a493e51
- https://git.kernel.org/stable/c/5b991df8881088448cb223e769e37cab8dd40706
- https://git.kernel.org/stable/c/99779c9d9ffc7775da6f7fd8a7c93ac61657bed5
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47355. Free for 1 server.
Get started free