CVE-2022-49962
JSON

5.5medium

xhci: Fix null pointer dereference in remove if xHC has only one roothub

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: xhci: Fix null pointer dereference in remove if xHC has only one roothub The remove path in xhci platform driver tries to remove and put both main and shared hcds even if only a main hcd exists (one roothub) This causes a null pointer dereference in reboot for those controllers. Check that the shared_hcd exists before trying to remove it.

Affected

Product or packageVersionsReported by
Linux Linuxfrom e0fe986972f5b6b12086c73569206dd29c520be9 before 7081b2f34ff291ada012bd6abacaf7d51c4cf73f, from e0fe986972f5b6b12086c73569206dd29c520be9 before 4a593a62a9e3a25ab4bc37f612e4edec144f7f43, 5.19
Not affected: before 5.19, from 5.19.8 up to 5.19.*, from 6.0 up to *
CVE List
linux linux_kernelfrom 5.19 before 5.19.8, 6.0NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: xhci: Fix null pointer dereference in remove if xHC has only one roothub The remove path in xhci platform driver tries to remove and put both main and shared hcds even if only a main hcd exists (one roothub) This causes a null pointer dereference in reboot for those controllers. Check that the shared_hcd exists before trying to remove it.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: xhci: Se corrige la desreferencia de puntero nulo al eliminar si xHC solo tiene un concentrador raíz. La ruta de eliminación en el controlador de la plataforma xhci intenta eliminar e instalar los discos duros principal y compartido, incluso si solo existe un disco duro principal (un concentrador raíz). Esto provoca una desreferencia de puntero nulo al reiniciar esos controladores. Compruebe que el disco duro compartido exista antes de intentar eliminarlo.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49962 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-49962 changed 2026-06-17Public domain