diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-03-16 23:13:36 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-18 00:01:21 +0100 |
commit | 6e2b75740bed35df98b8113300579e13ed2ce848 (patch) | |
tree | 225f75f803450c728d546c755f7398b102f8cf3d /scripts | |
parent | Avoid 64-bit "switch()" statements on 32-bit architectures (diff) | |
download | linux-6e2b75740bed35df98b8113300579e13ed2ce848.tar.xz linux-6e2b75740bed35df98b8113300579e13ed2ce848.zip |
module: fix refptr allocation and release order
Impact: fix ref-after-free crash on failed module load
Fix refptr bug: Change refptr allocation and release order not to access a module
data structure pointed by 'mod' after freeing mod->module_core.
This bug will cause kernel panic(e.g. failed to find undefined symbols).
This bug was reported on systemtap bugzilla.
http://sources.redhat.com/bugzilla/show_bug.cgi?id=9927
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions