The patch titled powerpc: make OF interrupt tree parsing more strict has been added to the -mm tree. Its filename is powerpc-make-of-interrupt-tree-parsing-more-strict.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: powerpc: make OF interrupt tree parsing more strict From: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> This patch fixes a bit of boundchecking in the new Open Firmware interrupt tree parsing code. It's important that it fails when things aren't correct in order to trigger fallback mecanisms that are necessary to make some machines work properly. Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/powerpc/kernel/prom_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/powerpc/kernel/prom_parse.c~powerpc-make-of-interrupt-tree-parsing-more-strict arch/powerpc/kernel/prom_parse.c --- a/arch/powerpc/kernel/prom_parse.c~powerpc-make-of-interrupt-tree-parsing-more-strict +++ a/arch/powerpc/kernel/prom_parse.c @@ -881,7 +881,7 @@ int of_irq_map_one(struct device_node *d intsize = *tmp; /* Check index */ - if (index * intsize >= intlen) + if ((index + 1) * intsize > intlen) return -EINVAL; /* Get new specifier and map it */ _ Patches currently in -mm which might be from benh@xxxxxxxxxxxxxxxxxxx are fix-snd-aoa-irq-conversion.patch aoa-i2sbus-move-module-parameter-declaration-up.patch aoa-i2sbus-fix-for-powermac72-and-73.patch aoa-fix-when-all-is-built-into-the-kernel.patch aoa-i2sbus-revamp-control-layer.patch aoa-pmf-gpio-report-if-function-calling-fails.patch aoa-fabric-layout-clean-up-messages.patch aoa-tas-fix-initialisation-reset.patch powerpc-fix-trigger-handling-in-the-new-irq-code.patch powerpc-fix-mpic-of-tree-parsing-on-apple-quad-g5.patch powerpc-fix-smu-driver-interrupt-mapping.patch powerpc-make-of-interrupt-tree-parsing-more-strict.patch macintosh-mangle-caps-lock-events-on-adb-keyboards.patch git-powerpc.patch git-powerpc-briq_panel-Kconfig-fix.patch powermac-combined-fixes-for-backlight-code.patch fix-broken-dubious-driver-suspend-methods.patch apple-motion-sensor-driver.patch genirq-convert-the-x86_64-architecture-to-irq-chips.patch genirq-convert-the-i386-architecture-to-irq-chips.patch genirq-irq-convert-the-move_irq-flag-from-a-32bit-word-to-a-single-bit.patch genirq-irq-add-moved_masked_irq.patch genirq-x86_64-irq-reenable-migrating-irqs-to-other-cpus.patch genirq-msi-simplify-msi-enable-and-disable.patch genirq-msi-make-the-msi-boolean-tests-return-either-0-or-1.patch genirq-msi-implement-helper-functions-read_msi_msg-and-write_msi_msg.patch genirq-msi-refactor-the-msi_ops.patch genirq-msi-simplify-the-msi-irq-limit-policy.patch genirq-irq-add-a-dynamic-irq-creation-api.patch genirq-ia64-irq-dynamic-irq-support.patch genirq-i386-irq-dynamic-irq-support.patch genirq-x86_64-irq-dynamic-irq-support.patch genirq-msi-make-the-msi-code-irq-based-and-not-vector-based.patch genirq-x86_64-irq-move-msi-message-composition-into-io_apicc.patch genirq-i386-irq-move-msi-message-composition-into-io_apicc.patch genirq-msi-only-build-msi-apicc-on-ia64.patch genirq-x86_64-irq-remove-the-msi-assumption-that-irq-==-vector.patch genirq-i386-irq-remove-the-msi-assumption-that-irq-==-vector.patch genirq-irq-remove-msi-hacks.patch genirq-irq-generalize-the-check-for-hardirq_bits.patch genirq-x86_64-irq-make-the-external-irq-handlers-report-their-vector-not-the-irq-number.patch genirq-x86_64-irq-make-vector_irq-per-cpu.patch genirq-x86_64-irq-kill-gsi_irq_sharing.patch genirq-x86_64-irq-kill-irq-compression.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