The patch titled x86: check boundary in count/setup_resource called by get_current_resources() has been removed from the -mm tree. Its filename was x86-check-boundary-in-count-setup_resource-called-by.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: x86: check boundary in count/setup_resource called by get_current_resources() From: Yinghai Lu <Yinghai.Lu@xxxxxxx> need to check info->res_num less than PCI_BUS_NUM_RESOURCES, so info->bus->resource[info->res_num] = res will not beyond of bus resource array when acpi returns too many resource entries. Signed-off-by: Yinghai Lu <yinghai.lu@xxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxx> Cc: Gary Hade <gary.hade@xxxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Len Brown <lenb@xxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/pci/acpi.c | 6 ++++++ 1 file changed, 6 insertions(+) diff -puN arch/x86/pci/acpi.c~x86-check-boundary-in-count-setup_resource-called-by arch/x86/pci/acpi.c --- a/arch/x86/pci/acpi.c~x86-check-boundary-in-count-setup_resource-called-by +++ a/arch/x86/pci/acpi.c @@ -77,6 +77,9 @@ count_resource(struct acpi_resource *acp struct acpi_resource_address64 addr; acpi_status status; + if (info->res_num >= PCI_BUS_NUM_RESOURCES) + return AE_OK; + status = resource_to_addr(acpi_res, &addr); if (ACPI_SUCCESS(status)) info->res_num++; @@ -93,6 +96,9 @@ setup_resource(struct acpi_resource *acp unsigned long flags; struct resource *root; + if (info->res_num >= PCI_BUS_NUM_RESOURCES) + return AE_OK; + status = resource_to_addr(acpi_res, &addr); if (!ACPI_SUCCESS(status)) return AE_OK; _ Patches currently in -mm which might be from Yinghai.Lu@xxxxxxx are origin.patch serial-keep-the-dtr-setting-for-serial-console.patch git-x86.patch x86_64-set-cpu_index-to-nr_cpus-instead-of-0.patch kernel-printkc-concerns-about-the-console-handover.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html