Bug 2373582 (CVE-2022-49962) - CVE-2022-49962 kernel: xhci: Fix null pointer dereference in remove if xHC has only one roothub
Summary: CVE-2022-49962 kernel: xhci: Fix null pointer dereference in remove if xHC ha...
Keywords:
Status: NEW
Alias: CVE-2022-49962
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-18 12:09 UTC by OSIDB Bzimport
Modified: 2025-07-21 11:24 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 12:09:16 UTC
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.

Comment 1 Avinash Hanwate 2025-06-19 09:04:16 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061814-CVE-2022-49962-aced@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.