CVE-2024-26716

MEDIUM

Linux Kernel < 6.6.18 - NULL Pointer Dereference

Title source: rule

Description

In the Linux kernel, the following vulnerability has been resolved: usb: core: Prevent null pointer dereference in update_port_device_state Currently, the function update_port_device_state gets the usb_hub from udev->parent by calling usb_hub_to_struct_hub. However, in case the actconfig or the maxchild is 0, the usb_hub would be NULL and upon further accessing to get port_dev would result in null pointer dereference. Fix this by introducing an if check after the usb_hub is populated.

Scores

CVSS v3 5.5
EPSS 0.0001
EPSS Percentile 3.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE
CWE-476
Status published

Affected Products (5)

linux/linux_kernel < 6.6.18
linux/linux_kernel
linux/linux_kernel
linux/Kernel < 6.6.18linux
linux/Kernel < 6.7.6linux

Timeline

Published Apr 03, 2024
Tracked Since Feb 18, 2026