Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-97484

usbip: vhci_hcd: fix NULL deref in status_show_vhci

Description

In the Linux kernel, the following vulnerability has been resolved: usbip: vhci_hcd: fix NULL deref in status_show_vhci platform_get_drvdata() can return NULL if a VHCI host controller's probe failed (e.g. due to USB bus number exhaustion). status_show_vhci() checked for a NULL pdev but not for a NULL hcd returned by platform_get_drvdata(). Passing NULL to hcd_to_vhci_hcd() does not return NULL - it returns a pointer offset of 0x260, causing a NULL pointer dereference when that value is subsequently dereferenced. Add a NULL check on hcd before calling hcd_to_vhci_hcd(). Move status_show_not_ready() above status_show_vhci() to make it callable from the new error path without a forward declaration.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0775a9cbc694e8c7276688be3bbd2f386167ab54 to < 2b477ee5cc9c2670185ffd82911a20e1760008c2affected
  • 0775a9cbc694e8c7276688be3bbd2f386167ab54 to < 671d2687a790f63110c3c4213230209f5c3e0e8eaffected
  • 0775a9cbc694e8c7276688be3bbd2f386167ab54 to < fd7d938ab4759a45eb107e658c199a2c47cc1aceaffected
  • 0775a9cbc694e8c7276688be3bbd2f386167ab54 to < 517c353e5358b2123cbf620a1798fe632fb7bdceaffected
  • 0775a9cbc694e8c7276688be3bbd2f386167ab54 to < 046a94fdb02eb1df86c8fa4614104ff801ba3ab7affected
  • 0775a9cbc694e8c7276688be3bbd2f386167ab54 to < dacd7c317ba12e035653c28a0eaaf23d91abc073affected
  • 0775a9cbc694e8c7276688be3bbd2f386167ab54 to < bc150783542ba2e7c1257d1299c6f3269bdba270affected

Linux Linux

Default version status: affected

  • 4.9affected
  • 0 to < 4.9unaffected
  • 5.10.271 to ≤ 5.10.*unaffected
  • 5.15.222 to ≤ 5.15.*unaffected
  • 6.1.189 to ≤ 6.1.*unaffected
  • 6.6.158 to ≤ 6.6.*unaffected
  • 6.12.111 to ≤ 6.12.*unaffected
  • 6.18.53 to ≤ 6.18.*unaffected
  • 7.2 to ≤ *unaffected

References