From: Rusty Russell <rusty@rustcorp.com.au>
To: linux-kernel@vger.kernel.org
Cc: Rusty Russell <rusty@rustcorp.com.au>
Subject: [PATCH 0/3] Module load failure race fix.
Date: Thu, 8 Jan 2015 11:28:04 +1030 [thread overview]
Message-ID: <1420678687-30548-1-git-send-email-rusty@rustcorp.com.au> (raw)
Hi all,
This bug has been around since 2009, but only reported now.
I'm debating whether to cc: stable.
To fix it, I had to change module_free. Please ensure I haven't broken
your arch!
Thanks,
Rusty.
Rusty Russell (3):
module_arch_freeing_init(): new hook for archs before
module->module_init freed.
module: remove mod arg from module_free, rename module_memfree().
module: fix race in kallsyms resolution during module load success.
arch/avr32/kernel/module.c | 13 +-------
arch/cris/kernel/module.c | 2 +-
arch/ia64/kernel/module.c | 6 ++--
arch/mips/net/bpf_jit.c | 2 +-
arch/nios2/kernel/module.c | 2 +-
arch/parisc/kernel/module.c | 6 +---
arch/powerpc/net/bpf_jit_comp.c | 2 +-
arch/s390/kernel/module.c | 10 ++----
arch/sparc/net/bpf_jit_comp.c | 4 +--
arch/tile/kernel/module.c | 4 +--
arch/x86/kernel/ftrace.c | 2 +-
include/linux/moduleloader.h | 4 ++-
kernel/bpf/core.c | 2 +-
kernel/kprobes.c | 2 +-
kernel/module.c | 74 ++++++++++++++++++++++++++++++-----------
15 files changed, 76 insertions(+), 59 deletions(-)
--
2.1.0
next reply other threads:[~2015-01-08 1:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-08 0:58 Rusty Russell [this message]
2015-01-08 0:58 ` [PATCH 1/3] module_arch_freeing_init(): new hook for archs before module->module_init freed Rusty Russell
2015-01-08 7:55 ` Hans-Christian Egtvedt
2015-01-13 21:11 ` Helge Deller
2015-01-08 0:58 ` [PATCH 2/3] module: remove mod arg from module_free, rename module_memfree() Rusty Russell
2015-01-08 0:58 ` [PATCH 3/3] module: fix race in kallsyms resolution during module load success Rusty Russell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1420678687-30548-1-git-send-email-rusty@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).