CVE-2021-47356
📋 TL;DR
A use-after-free vulnerability in the Linux kernel's mISDN subsystem allows potential memory corruption when the HFC_cleanup() function is called during module removal. This affects Linux systems using the mISDN module for ISDN telephony services. Attackers could potentially exploit this to crash the system or execute arbitrary code with kernel privileges.
💻 Affected Systems
- Linux kernel
📦 What is this software?
Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →⚠️ Risk & Real-World Impact
Worst Case
Kernel panic, system crash, or arbitrary code execution with kernel privileges leading to complete system compromise.
Likely Case
System instability, kernel panic, or denial of service when the mISDN module is loaded/unloaded.
If Mitigated
No impact if mISDN module is not loaded or system is patched.
🎯 Exploit Status
Requires ability to trigger module removal or timer manipulation. Likely requires local access and kernel module loading privileges.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Kernel versions with commit 009fc857c5f6fda81f2f7dd851b2d54193a8e733 or later
Vendor Advisory: https://git.kernel.org/stable/c/009fc857c5f6fda81f2f7dd851b2d54193a8e733
Restart Required: Yes
Instructions:
1. Update Linux kernel to version containing the fix. 2. Reboot system. 3. Verify mISDN module is not loaded if not needed.
🔧 Temporary Workarounds
Unload mISDN module
linuxRemove the vulnerable module if not required for system functionality
sudo rmmod mISDN
sudo modprobe -r mISDN
Blacklist mISDN module
linuxPrevent mISDN module from loading automatically
echo 'blacklist mISDN' | sudo tee /etc/modprobe.d/blacklist-misdn.conf
🧯 If You Can't Patch
- Ensure mISDN module is not loaded (check with 'lsmod | grep mISDN')
- Restrict kernel module loading to authorized users only
🔍 How to Verify
Check if Vulnerable:
Check if mISDN module is loaded: 'lsmod | grep -i mISDN'
Check Version:
uname -r
Verify Fix Applied:
Check kernel version contains fix commit: 'uname -r' and verify with distribution patch notes
📡 Detection & Monitoring
Log Indicators:
- Kernel panic messages
- System crashes when loading/unloading modules
- mISDN module load/unload events in system logs
Network Indicators:
- None - local vulnerability
SIEM Query:
EventID=41 OR Source='kernel' AND (Message LIKE '%panic%' OR Message LIKE '%mISDN%')
🔗 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
- https://git.kernel.org/stable/c/61370ff07e0acc657559a8fac02551dfeb9d3020
- https://git.kernel.org/stable/c/7867ddc5f3de7f289aee63233afc0df4b62834c5
- https://git.kernel.org/stable/c/b7ee9ae1e0cf55a037c4a99af2acc5d78cb7802d
- https://git.kernel.org/stable/c/ed7c3739d0a07e2ec3ccbffe7e93cea01c438cda
- 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
- https://git.kernel.org/stable/c/61370ff07e0acc657559a8fac02551dfeb9d3020
- https://git.kernel.org/stable/c/7867ddc5f3de7f289aee63233afc0df4b62834c5
- https://git.kernel.org/stable/c/b7ee9ae1e0cf55a037c4a99af2acc5d78cb7802d
- https://git.kernel.org/stable/c/ed7c3739d0a07e2ec3ccbffe7e93cea01c438cda