CVE-2024-36896

USB: core: Fix access violation during port device removal

Critical · published May 30, 2024

CVSS v3.1
9.1
EPSS
1%
Percentile
60.0
In the wild
Unconfirmed
What it is

🔥 A little oversight in the Linux kernel could lead to a critical access violation when devices are removed! Think of it like a waiter trying to serve a dish that’s already been cleared from the table — if they don’t check first, it could lead to a messy mistake! This vulnerability allows an attacker to trigger an access violation if the USB hub is removed while still in use. The result? Potential crashes and unpredictable behavior of the system, which could lead to data loss or corruption — absolutely devastating for any environment relying on stability!

Put simply

Think of it like a waiter trying to serve a dish that’s already been cleared from the table — if they don’t check first, it could lead to a messy mistake! In the Linux kernel's USB subsystem, a NULL pointer dereference can occur in the `disable_store()` function when a hub is concurrently removed without a check, leading to instability. A similar issue exists in the `disable_show()` routine, also needing a NULL check before dereferencing.

What to do

This vulnerability allows an attacker to trigger an access violation if the USB hub is removed while still in use. The result? Potential crashes and unpredictable behavior of the system, which could lead to data loss or corruption — absolutely devastating for any environment relying on stability! Ensure that your kernel is updated to the latest version where this vulnerability has been patched. For systems using the Linux kernel, upgrading to at least version X.XX will help secure against this exploit. It’s also wise to monitor logs for any unexpected device behavior during port removals. You've got this! Patch your systems and keep them secure! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00923 · 60.0th percentile
Published
2024-05-30T15:29Z
EPSS history
Timeline
  • 30 MAY 15:29Z
    USB: core: Fix access violation during port device removal
    cvelistv5