CVE-2022-49441
📋 TL;DR
This CVE describes a deadlock vulnerability in the Linux kernel's tty subsystem where calling printk() under tty_port->lock can create a circular locking dependency. The vulnerability can cause system hangs or denial of service when specific conditions trigger the deadlock. It affects Linux systems using the vulnerable kernel versions.
💻 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 →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
Complete system hang requiring hard reboot, leading to extended downtime and potential data loss.
Likely Case
Local denial of service affecting terminal/pty operations, causing system instability.
If Mitigated
Minimal impact with proper kernel patching or workarounds in place.
🎯 Exploit Status
Discovered via syzbot fuzzing; exploitation requires triggering kmalloc failures under specific locking conditions.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Linux kernel 5.4.143+, 5.10.60+, 5.12.13+, 5.13.4+, 5.14-rc1+
Vendor Advisory: https://git.kernel.org/stable/c/04ee31678c128a6cc7bb057ea189a8624ba5a314
Restart Required: Yes
Instructions:
1. Update Linux kernel to patched version. 2. Reboot system. 3. Verify kernel version matches patched release.
🔧 Temporary Workarounds
Memory pressure avoidance
linuxReduce likelihood of kmalloc failures by maintaining sufficient system memory.
# Monitor memory usage
free -h
# Set appropriate vm.min_free_kbytes
sysctl -w vm.min_free_kbytes=65536
🧯 If You Can't Patch
- Restrict local user access to minimize risk of triggering the vulnerability.
- Monitor system logs for OOM (Out of Memory) conditions and address memory pressure promptly.
🔍 How to Verify
Check if Vulnerable:
Check kernel version: uname -r and compare with affected versions (5.4.0-5.4.142, 5.10.0-5.10.59, etc.)
Check Version:
uname -r
Verify Fix Applied:
Verify kernel version is 5.4.143+ or equivalent patched version: uname -r
📡 Detection & Monitoring
Log Indicators:
- Kernel panic messages
- System hang reports
- OOM (Out of Memory) kernel messages
Network Indicators:
- None - local vulnerability only
SIEM Query:
source="kernel" AND ("deadlock" OR "circular locking" OR "tty_port" OR "pty_write")
🔗 References
- https://git.kernel.org/stable/c/04ee31678c128a6cc7bb057ea189a8624ba5a314
- https://git.kernel.org/stable/c/0bcf44903ef4df742dcada86ccaedd25374ffb50
- https://git.kernel.org/stable/c/18ca0d55e8639b911df8aae1b47598b13f9acded
- https://git.kernel.org/stable/c/3219ac364ac3d8d30771612a6010f1e0b7fa0a28
- https://git.kernel.org/stable/c/4af21b12a60ed2d3642284f4f85b42d7dc6ac246
- https://git.kernel.org/stable/c/4c253caf9264d2aa47ee806a87986dd8eb91a5d9
- https://git.kernel.org/stable/c/6b9dbedbe3499fef862c4dff5217cf91f34e43b3
- https://git.kernel.org/stable/c/9834b13e8b962caa28fbcf1f422dd82413da4ede
- https://git.kernel.org/stable/c/b3c974501d0c32258ae0e04e5cc3fb92383b40f6