summaryrefslogtreecommitdiff
path: root/net/ax25
diff options
context:
space:
mode:
authorDean Nelson <dcn@sgi.com>2008-10-18 16:06:56 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-02-12 09:31:24 -0800
commit3b0ff5e98a8a987c657cb21ba206ffe8c359866b (patch)
tree2672d27c9e03fed5ab39a47c3449d91841e3f286 /net/ax25
parent55ffc07a92e9ecc7f67ed85b0fac5abfb0d075b0 (diff)
genirq: NULL struct irq_desc's member 'name' in dynamic_irq_cleanup()
commit b6f3b7803a9231eddc36d0a2a6d2d8105ef89344 upstream. 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@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/ax25')
0 files changed, 0 insertions, 0 deletions