{"id":"CVE-2026-98756","title":"usb: cdns3: Fix NULL pointer dereference in cdns3_pci_probe","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: cdns3: Fix NULL pointer dereference in cdns3_pci_probe\n\nThe Cadence USBSS controller is a two-function PCI device. The first\nprobed function allocates the driver d…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe < 549c04df02f1bb5a10342f32e2c87f5d27c97279","Linux >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe < d16046f1ace2691b6a946f022fe6dc215936880b","Linux >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe < 45b606418bae73c7cde9f0e57e5b0977c816a7c0","Linux >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe < e5052f2c5c73c1dcca42bafc0bc737af2b2af059","Linux 5.4"],"published":"2026-10-18","updated":"2026-10-18","sourceUpdated":"2026-10-18T15:47:42.085Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98756","references":[{"url":"https://git.kernel.org/stable/c/549c04df02f1bb5a10342f32e2c87f5d27c97279"},{"url":"https://git.kernel.org/stable/c/d16046f1ace2691b6a946f022fe6dc215936880b"},{"url":"https://git.kernel.org/stable/c/45b606418bae73c7cde9f0e57e5b0977c816a7c0"},{"url":"https://git.kernel.org/stable/c/e5052f2c5c73c1dcca42bafc0bc737af2b2af059"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T16:47:32.497Z","slug":"CVE-2026-98756","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nusb: cdns3: Fix NULL pointer dereference in cdns3_pci_probe\n\nThe Cadence USBSS controller is a two-function PCI device. The first\nprobed function allocates the driver data and stores it with\npci_set_drvdata(), while the second function reuses it via\npci_get_drvdata() when pci_is_enabled() reports that the first\nfunction has already been probed.\n\nWhen the second function is probed while the first one has been\nenabled but has not yet set its driver data, pci_get_drvdata()\nreturns NULL, and the subsequent wrap->devfn assignment dereferences\na NULL pointer and crashes the kernel.\nlogs:\nCall trace:\n  cdns3_pci_probe+0xa4/0x300\n  local_pci_probe+0x44/0xa8\n  pci_call_probe+0x54/0x158\n  pci_device_probe+0x84/0x100\n  really_probe+0x184/0x3d0\n  __driver_probe_device+0x80/0x178\n  driver_probe_device+0x44/0xe8\n  __driver_attach+0xec/0x1f8\n  bus_for_each_dev+0x7c/0xe0\n  driver_attach+0x28/0x38\n  bus_add_driver+0x110/0x238\n  driver_register+0x64/0x128\n  __pci_register_driver+0x50/0x60\n  cdns3_pci_driver_init+0x28/0x38\n  do_one_initcall+0x5c/0x280\n  do_initcalls+0x104/0x1d8\n  kernel_init_freeable+0x140/0x218\n  kernel_init+0x28/0x1f8\n  ret_from_fork+0x10/0x20\n\nReturn -EPROBE_DEFER in this case so that probing is retried after\nthe first function has completed its probe.\n\n## Affected\n\n- `Linux >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe < 549c04df02f1bb5a10342f32e2c87f5d27c97279`\n- `Linux >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe < d16046f1ace2691b6a946f022fe6dc215936880b`\n- `Linux >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe < 45b606418bae73c7cde9f0e57e5b0977c816a7c0`\n- `Linux >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe < e5052f2c5c73c1dcca42bafc0bc737af2b2af059`\n- `Linux 5.4`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}