diff options
| author | Dean Nelson <[email protected]> | 2008-10-18 23:06:56 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2008-10-21 13:59:21 +0000 |
| commit | b6f3b7803a9231eddc36d0a2a6d2d8105ef89344 (patch) | |
| tree | ac5149f718d8c6c0692daa973632f3538253c31c /security/selinux/hooks.c | |
| parent | genirq: fix off by one and coding style (diff) | |
| download | kernel-b6f3b7803a9231eddc36d0a2a6d2d8105ef89344.tar.gz kernel-b6f3b7803a9231eddc36d0a2a6d2d8105ef89344.zip | |
genirq: NULL struct irq_desc's member 'name' in dynamic_irq_cleanup()
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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
