{"schema_version":"1.7.5","id":"CVE-2025-38134","published":"2025-07-03T08:35:37.674Z","modified":"2026-07-15T01:49:17.762567149Z","related":["SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","SUSE-SU-2026:20560-1","openSUSE-SU-2025:20081-1"],"summary":"usb: acpi: Prevent null pointer dereference in usb_acpi_add_usb4_devlink()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: acpi: Prevent null pointer dereference in usb_acpi_add_usb4_devlink()\n\nAs demonstrated by the fix for update_port_device_state,\ncommit 12783c0b9e2c (\"usb: core: Prevent null pointer dereference in update_port_device_state\"),\nusb_hub_to_struct_hub() can return NULL in certain scenarios,\nsuch as during hub driver unbind or teardown race conditions,\neven if the underlying usb_device structure exists.\n\nPlus, all other places that call usb_hub_to_struct_hub() in the same file\ndo check for NULL return values.\n\nIf usb_hub_to_struct_hub() returns NULL, the subsequent access to\nhub->ports[udev->portnum - 1] will cause a null pointer dereference.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f1bfb4a6fed64de1771b43a76631942279851744"},{"fixed":"8fa544bff8466062e42949c93f3e528f4be5624b"},{"fixed":"e3d530173b70514d4390a94f9f979acad689b70a"},{"fixed":"73fb0ec9436ae87bcae067ce35d6cdd72bade86c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38134.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.12.0"},{"fixed":"6.12.34"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.15.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38134.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/73fb0ec9436ae87bcae067ce35d6cdd72bade86c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8fa544bff8466062e42949c93f3e528f4be5624b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e3d530173b70514d4390a94f9f979acad689b70a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38134.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38134"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38134.json"}}