A use-after-free vulnerability has been resolved in the Linux kernel. The issue occurs when the `pciehp` driver is unbound from a Downstream Port, causing a `pci slot` to be destroyed before the `pci bus` it points to, resulting in a use-after-free error. This happens because the PCI core uses a two-step process to remove a portion of the hierarchy, and there is no precaution to prevent driver binding in-between these steps. The vulnerability can cause a boot crash on recent Lenovo laptops with a USB4 dock.