CVE-2024-36896

CRITICAL

Linux Kernel 6.0-6.1.90, 6.2-6.6.30, 6.7-6.8.9 - NULL Pointer Dereference in USB Port Device Removal

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: USB: core: Fix access violation during port device removal Testing with KASAN and syzkaller revealed a bug in port.c:disable_store(): usb_hub_to_struct_hub() can return NULL if the hub that the port belongs to is concurrently removed, but the function does not check for this possibility before dereferencing the returned value. It turns out that the first dereference is unnecessary, since hub->intfdev is the parent of the port device, so it can be changed easily. Adding a check for hub == NULL prevents further problems. The same bug exists in the disable_show() routine, and it can be fixed the same way.

Scores

CVSS v3 9.1
EPSS 0.0092
EPSS Percentile 55.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (15)
linux/Kernel 6.0.0 - 6.1.91linux
linux/Kernel 6.2.0 - 6.6.31linux
linux/Kernel 6.7.0 - 6.8.10linux
Linux/Linux < 6.0
Linux/Linux 6.0
Linux/Linux 6.1.91 - 6.1.*
Linux/Linux 6.6.31 - 6.6.*
Linux/Linux 6.8.10 - 6.8.*
Linux/Linux 6.9
Linux/Linux f061f43d7418cb62b8d073e221ec75d3f5b89e17 - 5f1d68ef5ddac27c6b997adccd1c339cef1e6848
... and 5 more
Published May 30, 2024
Tracked Since Feb 18, 2026