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.
References
Configurations
Configuration 1 (hide)
|
History
07 Jan 2025, 20:24
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:* |
|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
First Time |
Linux linux Kernel
Linux |
|
CWE | CWE-476 | |
References | () https://git.kernel.org/stable/c/12783c0b9e2c7915a50d5ec829630ff2da50472c - Patch | |
References | () https://git.kernel.org/stable/c/465b545d1d7ef282192ddd4439b08279bdb13f6f - Patch | |
References | () https://git.kernel.org/stable/c/ed85777c640cf9e6920bb1b60ed8cd48e1f4d873 - Patch |
Information
Published : 2024-04-03 15:15
Updated : 2025-01-07 20:24
NVD link : CVE-2024-26716
Mitre link : CVE-2024-26716
CVE.ORG link : CVE-2024-26716
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-476
NULL Pointer Dereference