CVE-2024-36896 Details
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.
A vulnerability in the Linux kernel's USB core has been fixed, addressing an access violation that occurred during the removal of port devices. The issue arose because the function 'usb_hub_to_struct_hub()' could return NULL if the hub was being removed concurrently, leading to a dereference of a NULL pointer. This vulnerability existed in the 'disable_show()' and 'disable_store()' routines of 'port.c'. The first dereference was unnecessary, as 'hub->intfdev' is the parent of the port device and can be easily modified. The vulnerability has been resolved by adding a check for a NULL hub before proceeding, preventing potential access violations.
Users can upgrade to the latest version of the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 3, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.0, < 6.1.91 >= 6.2, < 6.6.31 >= 6.7, < 6.8.10 6.9 rc1 6.9 rc2 6.9 rc3 6.9 rc4 6.9 rc5 6.9 rc6 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 1, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Jul 3, 2024 | CVE Modified | CISA-ADP |
| May 30, 2024 | New CVE Received | kernel.org |