CVE-2022-50470
📋 TL;DR
A double-free vulnerability in the Linux kernel's xHCI driver causes memory corruption when freeing USB device endpoints during host controller removal. This can lead to kernel crashes or potential privilege escalation. Only affects systems with Intel Panther Point PCH (Ivy Bridge) chipsets using software bandwidth checking.
💻 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 →⚠️ Risk & Real-World Impact
Worst Case
Kernel panic leading to system crash and denial of service, with potential for privilege escalation if memory corruption can be controlled.
Likely Case
System crash or instability when removing xHCI hardware or during system shutdown, causing denial of service.
If Mitigated
No impact if system doesn't use affected hardware or has been patched.
🎯 Exploit Status
Exploitation requires specific hardware conditions and ability to trigger USB device removal during xHCI controller shutdown.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Kernel versions containing commits 3bf860a41e0f2fcea0ac3aae8f7ef887a7994b70 or later
Vendor Advisory: https://git.kernel.org/stable/c/3bf860a41e0f2fcea0ac3aae8f7ef887a7994b70
Restart Required: Yes
Instructions:
1. Update Linux kernel to version containing the fix. 2. For distributions: Use package manager (apt/yum/dnf) to update kernel. 3. Reboot system to load new kernel.
🔧 Temporary Workarounds
Avoid affected hardware
linuxDo not use systems with Intel Panther Point PCH (Ivy Bridge) chipsets
Prevent xHCI unbinding
linuxAvoid manually unbinding xhci-pci driver or removing USB controllers
🧯 If You Can't Patch
- Avoid using or accessing systems with Intel Panther Point PCH (Ivy Bridge) chipsets
- Implement strict access controls to prevent local users from triggering USB device operations
🔍 How to Verify
Check if Vulnerable:
Check kernel version and chipset: 1. Run 'uname -r' to check kernel version. 2. Check if system has Intel Panther Point PCH chipset via 'lspci | grep -i panther' or checking CPU model.
Check Version:
uname -r
Verify Fix Applied:
1. Verify kernel version is updated to one containing the fix. 2. Check kernel changelog for commit 3bf860a41e0f2fcea0ac3aae8f7ef887a7994b70.
📡 Detection & Monitoring
Log Indicators:
- Kernel panic messages related to list_del corruption
- xhci driver error messages during USB controller removal
- System crash logs during shutdown or hardware removal
SIEM Query:
event_source:kernel AND (message:"list_del corruption" OR message:"xhci" AND (error OR panic))
🔗 References
- https://git.kernel.org/stable/c/3bf860a41e0f2fcea0ac3aae8f7ef887a7994b70
- https://git.kernel.org/stable/c/5aed5b7c2430ce318a8e62f752f181e66f0d1053
- https://git.kernel.org/stable/c/5e4ce28ad907aa54f13b21d5f1dc490525957b0c
- https://git.kernel.org/stable/c/678d2cc2041cc6ce05030852dce9ad42719abcfc
- https://git.kernel.org/stable/c/8f1cd9633d1f21efc13e8fc75be8f2b6bb85e38c
- https://git.kernel.org/stable/c/c892a81c7424b4f6a660cb9c249d354ccf3afeca
- https://git.kernel.org/stable/c/cebbc8d335d6bcc1316584f779c08f80287c6af8
- https://git.kernel.org/stable/c/f0de39474078adef6ece7a183e34c15ce2c1d8d1