CVE-2024-26716
N/A
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 83cb2604f641cecadc275ca18adbba4bf262320f < ed85777c640cf9e6920bb1b60ed8cd48e1f4d873 | affected |
| Linux | Linux | 83cb2604f641cecadc275ca18adbba4bf262320f < 465b545d1d7ef282192ddd4439b08279bdb13f6f | affected |
| Linux | Linux | 83cb2604f641cecadc275ca18adbba4bf262320f < 12783c0b9e2c7915a50d5ec829630ff2da50472c | affected |
| Linux | Linux | 6.5 | affected |
| Linux | Linux | 0 < 6.5 | unaffected |
| Linux | Linux | 6.6.18 <= 6.6.* | unaffected |
| Linux | Linux | 6.7.6 <= 6.7.* | unaffected |
| Linux | Linux | 6.8 <= * | unaffected |
Weaknesses
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
CVE Program Container
Additional References
- https://git.kernel.org/stable/c/ed85777c640cf9e6920bb1b60ed8cd48e1f4d873
- https://git.kernel.org/stable/c/465b545d1d7ef282192ddd4439b08279bdb13f6f
- https://git.kernel.org/stable/c/12783c0b9e2c7915a50d5ec829630ff2da50472c
References
- https://git.kernel.org/stable/c/ed85777c640cf9e6920bb1b60ed8cd48e1f4d873
- https://git.kernel.org/stable/c/465b545d1d7ef282192ddd4439b08279bdb13f6f
- https://git.kernel.org/stable/c/12783c0b9e2c7915a50d5ec829630ff2da50472c
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.