xhci: Remove device endpoints from bandwidth list when freeing the device (Linux Linux)

CVE-2022-50470
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: xhci: Remove device endpoints from bandwidth list when freeing the device Endpoints are normally deleted from the bandwidth list when they are dropped, before the virt device is freed. If xHC host is dying or being removed then the endpoints aren't dropped cleanly due to functions returning early to avoid interacting with a non-accessible host controller. So check and delete endpoints that are still on the bandwidth list when freeing the virt device. Solves a list_del corruption kernel crash when unbinding xhci-pci, caused by xhci_mem_cleanup() when it later tried to delete already freed endpoints from the bandwidth list. This only affects hosts that use software bandwidth checking, which currenty is only the xHC in intel Panther Point PCH (Ivy Bridge)

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 2e27980e6eb78114c4ecbaad1ba71836e3887d18 < 5e4ce28ad907aa54f13b21d5f1dc490525957b0c ; affected 2e27980e6eb78114c4ecbaad1ba71836e3887d18 < f0de39474078adef6ece7a183e34c15ce2c1d8d1 ; affected 2e27980e6eb78114c4ecbaad1ba71836e3887d18 < cebbc8d335d6bcc1316584f779c08f80287c6af8 ; affected 2e27980e6eb78114c4ecbaad1ba71836e3887d18 < 8f1cd9633d1f21efc13e8fc75be8f2b6bb85e38c ; affected 2e27980e6eb78114c4ecbaad1ba71836e3887d18 < 678d2cc2041cc6ce05030852dce9ad42719abcfc ; affected 2e27980e6eb78114c4ecbaad1ba71836e3887d18 < c892a81c7424b4f6a660cb9c249d354ccf3afeca
Linux · Linuxaffected 3.2 ; unaffected 0 < 3.2 ; unaffected 4.9.332 ≤ 4.9.* ; unaffected 4.14.298 ≤ 4.14.* ; unaffected 4.19.264 ≤ 4.19.* ; unaffected 5.4.223 ≤ 5.4.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD