The patch titled genirq: NULL struct irq_desc's member 'name' in dynamic_irq_cleanup() has been removed from the -mm tree. Its filename was genirq-null-struct-irq_descs-member-name-in-dynamic_irq_cleanup.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: genirq: NULL struct irq_desc's member 'name' in dynamic_irq_cleanup() From: Dean Nelson <dcn@xxxxxxx> If the member 'name' of the irq_desc structure happens to point to a character string that is resident within a kernel module, problems ensue if that module is rmmod'd (at which time dynamic_irq_cleanup() is called) and then later show_interrupts() is called by someone. It is also not a good thing if the character string resided in kmalloc'd space that has been kfree'd (after having called dynamic_irq_cleanup()). dynamic_irq_cleanup() fails to NULL the 'name' member and show_interrupts() references it on a few architectures (like h8300, sh and x86). Signed-off-by: Dean Nelson <dcn@xxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/irq/chip.c | 1 + 1 file changed, 1 insertion(+) diff -puN kernel/irq/chip.c~genirq-null-struct-irq_descs-member-name-in-dynamic_irq_cleanup kernel/irq/chip.c --- a/kernel/irq/chip.c~genirq-null-struct-irq_descs-member-name-in-dynamic_irq_cleanup +++ a/kernel/irq/chip.c @@ -78,6 +78,7 @@ void dynamic_irq_cleanup(unsigned int ir desc->chip_data = NULL; desc->handle_irq = handle_bad_irq; desc->chip = &no_irq_chip; + desc->name = NULL; spin_unlock_irqrestore(&desc->lock, flags); } _ Patches currently in -mm which might be from dcn@xxxxxxx are origin.patch linux-next.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