CVE-2024-26716
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…
Does this matter?
Lower severity and a low EPSS score (0.23%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 5.5 MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.23% probability · 14th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-476
- Affected
- linux/linux kernel
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
References
- https://git.kernel.org/stable/c/12783c0b9e2c7915a50d5ec829630ff2da50472cPatch
- https://git.kernel.org/stable/c/465b545d1d7ef282192ddd4439b08279bdb13f6fPatch
- https://git.kernel.org/stable/c/ed85777c640cf9e6920bb1b60ed8cd48e1f4d873Patch
- https://git.kernel.org/stable/c/12783c0b9e2c7915a50d5ec829630ff2da50472cPatch
- https://git.kernel.org/stable/c/465b545d1d7ef282192ddd4439b08279bdb13f6fPatch
- https://git.kernel.org/stable/c/ed85777c640cf9e6920bb1b60ed8cd48e1f4d873Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.