CVE-2021-47356·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: mISDN: fix possible use-after-free in HFC_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 a use-after-free vulnerability in the mISDN module. The vulnerability occurs during driver removal when a timer handler may continue executing after the cleanup function completes. Apply this patch immediately to systems running kernel versions 5.13 through 5.13.2 to prevent potential kernel memory corruption.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version with: uname -r — verify if it falls within 5.13.0 to 5.13.2
- Confirm mISDN module is loaded by running: lsmod | grep mISDN — if output is empty, the vulnerable component is not active
- Search kernel logs for timer-related panics or use-after-free warnings: sudo journalctl -k | grep -i 'use.after.free\|BUG:\|WARNING'
- Verify the patch was applied by checking: cat /proc/version and confirm kernel version is 5.13.3 or higher
FAQ
What is CVE-2021-47356?
This vulnerability is a use-after-free condition in the Linux kernel's mISDN (Modular ISDN) driver where a timer handler can execute after the module's cleanup function has already deallocated memory, potentially allowing kernel memory corruption.
Is CVE-2021-47356 being actively exploited?
No, this vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2021-47356?
Linux kernel versions 5.13.0 through 5.13.2 are vulnerable; version 5.13.3 and later contain the fix.
How do I check if my server is vulnerable to CVE-2021-47356?
Run 'uname -r' to check your kernel version. If it shows 5.13.0, 5.13.1, or 5.13.2, and 'lsmod | grep mISDN' returns a result, your system is vulnerable.
Does Defensia detect CVE-2021-47356?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Linux kernel is installed on a monitored server, CVE-2021-47356 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/009fc857c5f6fda81f2f7dd851b2d54193a8e733
- https://git.kernel.org/stable/c/3ecd228c636ee17c14662729737fa07242a93cb0
- https://git.kernel.org/stable/c/49331c07ef0f8fdfa42b30ba6a83a657b29d7fbe
- https://git.kernel.org/stable/c/54ff3202928952a100c477248e65ac6db01258a7
- https://git.kernel.org/stable/c/5f2818185da0fe82a932f0856633038b66faf124
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47356. Free for 1 server.
Get started free