{"id":"CVE-2022-49962","state":"PUBLISHED","title":"xhci: Fix null pointer dereference in remove if xHC has only one roothub","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxhci: Fix null pointer dereference in remove if xHC has only one roothub\n\nThe remove path in xhci platform driver tries to remove and put both main\nand shared hcds even if only a main hcd exists (one roothub)\n\nThis causes a null pointer dereference in reboot for those controllers.\n\nCheck that the shared_hcd exists before trying to remove it.","publishedAt":"2025-06-18T11:00:23.321Z","updatedAt":"2026-05-11T19:10:03.833Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e0fe986972f5b6b12086c73569206dd29c520be9","status":"affected","lessThan":"7081b2f34ff291ada012bd6abacaf7d51c4cf73f","versionType":"git"},{"version":"e0fe986972f5b6b12086c73569206dd29c520be9","status":"affected","lessThan":"4a593a62a9e3a25ab4bc37f612e4edec144f7f43","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/xhci-plat.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"5.19.8","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/xhci-plat.c"]}],"references":["https://git.kernel.org/stable/c/7081b2f34ff291ada012bd6abacaf7d51c4cf73f","https://git.kernel.org/stable/c/4a593a62a9e3a25ab4bc37f612e4edec144f7f43"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/49xxx/CVE-2022-49962.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49962","state":"PUBLISHED","datePublished":"2025-06-18T11:00:23.321Z","dateUpdated":"2026-05-11T19:10:03.833Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-06-18T10:57:27.383Z"},"containers":{"cna":{"title":"xhci: Fix null pointer dereference in remove if xHC has only one roothub","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxhci: Fix null pointer dereference in remove if xHC has only one roothub\n\nThe remove path in xhci platform driver tries to remove and put both main\nand shared hcds even if only a main hcd exists (one roothub)\n\nThis causes a null pointer dereference in reboot for those controllers.\n\nCheck that the shared_hcd exists before trying to remove it."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e0fe986972f5b6b12086c73569206dd29c520be9","status":"affected","lessThan":"7081b2f34ff291ada012bd6abacaf7d51c4cf73f","versionType":"git"},{"version":"e0fe986972f5b6b12086c73569206dd29c520be9","status":"affected","lessThan":"4a593a62a9e3a25ab4bc37f612e4edec144f7f43","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/xhci-plat.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"5.19.8","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/xhci-plat.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7081b2f34ff291ada012bd6abacaf7d51c4cf73f"},{"url":"https://git.kernel.org/stable/c/4a593a62a9e3a25ab4bc37f612e4edec144f7f43"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:10:03.833Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"5.19.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}