https://github.com/torvalds/linux
Revision 6e2b75740bed35df98b8113300579e13ed2ce848 authored by Masami Hiramatsu on 16 March 2009, 22:13:36 UTC, committed by Rusty Russell on 17 March 2009, 23:01:21 UTC
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>
1 parent ee568b2
History
Tip revision: 6e2b75740bed35df98b8113300579e13ed2ce848 authored by Masami Hiramatsu on 16 March 2009, 22:13:36 UTC
module: fix refptr allocation and release order
Tip revision: 6e2b757
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.3 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 107.2 KB
Makefile -rw-r--r-- 53.4 KB
README -rw-r--r-- 16.7 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top