CVE-2024-53194
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-53194 is a use-after-free vulnerability discovered in the Linux kernel's PCI subsystem. The issue was identified when a boot crash occurred on recent Lenovo laptops with USB4 docks. The vulnerability was discovered in December 2024 and affects the PCI hot-remove functionality, specifically involving the pciehp driver and slot management (Kernel Git).

Technical details

The vulnerability occurs when pciehp is unbound from one of the dock's Downstream Ports. The issue stems from pcislot containing a pointer to pcibus below the Downstream Port without acquiring a proper reference. When the pcibus is destroyed before the pcislot, a use-after-free condition occurs during pcislotrelease() when accessing slot->bus. The vulnerability is triggered by a race condition between hierarchy removal by pciehp and driver binding by pcibusadd_devices() (Kernel Git). The CVSS v3.1 base score is 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability can lead to system crashes and potential privilege escalation on affected systems. The issue is particularly impactful on systems using USB4 docks, where the vulnerability can be triggered during normal operation when the thunderbolt driver resets USB4 v2 and v1 Host Routers (Kernel Git).

Mitigation and workarounds

The vulnerability has been patched by modifying pcicreateslot() to properly acquire and manage references to pcibus. The fix involves using pcibusget() to acquire a reference and pcibus_put() to release it appropriately. The patch has been confirmed to resolve the crash issues on affected systems (Kernel Git). The fix has been included in various Linux kernel versions, including 5.10.234-1 and 6.1.128-1~deb11u1 (Debian LTS).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40258HIGH7
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-devel-matched
NoNoDec 04, 2025
CVE-2025-40259MEDIUM6.2
  • Linux KernelLinux Kernel
  • kernel-64k-devel
NoNoDec 04, 2025
CVE-2025-40264MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
NoNoDec 04, 2025
CVE-2025-40254MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-modules-partner
NoNoDec 04, 2025
CVE-2025-40253MEDIUM5.5
  • Linux KernelLinux Kernel
  • python3-perf
NoNoDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management