In the Linux kernel, the following vulnerability has been resolved:
xhci: Fix null pointer dereference when host dies
Make sure xhci_free_dev() and xhci_kill_endpoint_urbs() do not race
and cause null pointer dereference when host suddenly dies.
Usb core may call xhci_free_dev() which frees the xhci->devs[slot_id]
virt device at the same time that xhci_kill_endpoint_urbs() tries to
loop through all the device’s endpoints, checking if there are any
cancelled urbs left to give back.
hold the xhci spinlock while freeing the virt device
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 20.04 | noarch | linux | < 5.4.0-147.164 | UNKNOWN |
ubuntu | 22.04 | noarch | linux | < 5.15.0-70.77 | UNKNOWN |
ubuntu | 20.04 | noarch | linux-aws | < 5.4.0-1100.108 | UNKNOWN |
ubuntu | 22.04 | noarch | linux-aws | < 5.15.0-1034.38 | UNKNOWN |
ubuntu | 20.04 | noarch | linux-aws-5.15 | < 5.15.0-1034.38~20.04.1 | UNKNOWN |
ubuntu | 18.04 | noarch | linux-aws-5.4 | < any | UNKNOWN |
ubuntu | 20.04 | noarch | linux-azure | < 5.4.0-1106.112 | UNKNOWN |
ubuntu | 22.04 | noarch | linux-azure | < 5.15.0-1036.43 | UNKNOWN |
ubuntu | 20.04 | noarch | linux-azure-5.15 | < 5.15.0-1036.43~20.04.1 | UNKNOWN |
ubuntu | 18.04 | noarch | linux-azure-5.4 | < any | UNKNOWN |
git.kernel.org/linus/a2bc47c43e70cf904b1af49f76d572326c08bca7 (6.2-rc5)
git.kernel.org/stable/c/081105213ff6f661c114781d469233c7d0e09c2e
git.kernel.org/stable/c/133b902378e4acbd824c29dd0d48570ad596e368
git.kernel.org/stable/c/6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1
git.kernel.org/stable/c/a2bc47c43e70cf904b1af49f76d572326c08bca7
git.kernel.org/stable/c/c462ac871f49753eca86bb960f573b993976a5ea
git.kernel.org/stable/c/ea2ee5e9991caf74e0604f994c1831a5867055b2
launchpad.net/bugs/cve/CVE-2023-52898
nvd.nist.gov/vuln/detail/CVE-2023-52898
security-tracker.debian.org/tracker/CVE-2023-52898
www.cve.org/CVERecord?id=CVE-2023-52898