Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'acpi-5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull ACPI fix from Rafael Wysocki:
"Fix a recent ACPI-related regression in the PCI subsystem that
introduced a NULL pointer dereference possible to trigger from
user space via sysfs on some systems"

* tag 'acpi-5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
PCI: ACPI: Check parent pointer in acpi_pci_find_companion()

+3
+3
drivers/pci/pci-acpi.c
··· 1249 1249 bool check_children; 1250 1250 u64 addr; 1251 1251 1252 + if (!dev->parent) 1253 + return NULL; 1254 + 1252 1255 down_read(&pci_acpi_companion_lookup_sem); 1253 1256 1254 1257 adev = pci_acpi_find_companion_hook ?