{"id":"CVE-2024-26716","published":"2024-04-03T14:55:17Z","modified":"2026-05-11T20:02:46Z","title":"usb: core: Prevent null pointer dereference in update_port_device_state","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: core: Prevent null pointer dereference in update_port_device_state\n\nCurrently, the function update_port_device_state gets the usb_hub from\nudev->parent by calling usb_hub_to_struct_hub.\nHowever, in case the actconfig or the maxchild is 0, the usb_hub would\nbe NULL and upon further accessing to get port_dev would result in null\npointer dereference.\n\nFix this by introducing an if check after the usb_hub is populated.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00227,"percentile":0.1371,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ed85777c640cf9e6920bb1b60ed8cd48e1f4d873","tags":[]},{"url":"https://git.kernel.org/stable/c/465b545d1d7ef282192ddd4439b08279bdb13f6f","tags":[]},{"url":"https://git.kernel.org/stable/c/12783c0b9e2c7915a50d5ec829630ff2da50472c","tags":[]}],"priority":{"score":2.7,"factors":[{"name":"EPSS percentile","points":2.74}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 83cb2604f641cecadc275ca18adbba4bf262320f, < ed85777c640cf9e6920bb1b60ed8cd48e1f4d873",">= 83cb2604f641cecadc275ca18adbba4bf262320f, < 465b545d1d7ef282192ddd4439b08279bdb13f6f",">= 83cb2604f641cecadc275ca18adbba4bf262320f, < 12783c0b9e2c7915a50d5ec829630ff2da50472c"]},{"vendor":"Linux","product":"Linux","versions":["6.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-17T19:29:15.448916Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-23978","exploited":false,"provenance":"source"}}