Wait for RCU synchronizing on failure path of module loading
before releasing struct module, because the memory of mod->list
can still be accessed by list walkers (e.g. kallsyms).
Signed-off-by: Masami Hiramatsu
---
kernel/module.c |2 ++
1 file changed, 2 insertions(+)
diff --git
Wait for RCU synchronizing on failure path of module loading
before releasing struct module, because the memory of mod-list
can still be accessed by list walkers (e.g. kallsyms).
Signed-off-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com
---
kernel/module.c |2 ++
1 file changed, 2
2 matches
Mail list logo