mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] static_call: Fix two wild-memory-access bugs in static_call_del_module()
@ 2023-09-15 12:36 Jinjie Ruan
  2023-09-15 12:36 ` [PATCH v2 1/2] static_call: Fix a wild-memory-access bug " Jinjie Ruan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jinjie Ruan @ 2023-09-15 12:36 UTC (permalink / raw)
  To: peterz, tglx, rostedt, mingo, jpoimboe, christophe.leroy, linux-kernel
  Cc: ruanjinjie

In __static_call_init(), any one of the kzalloc fails will cause
wild-memory-access when traverse the site and subsequent sites in
static_call_del_module().

Changes in v2:
- Add a new patch which fix a a similar problem.
- Update the commit message and simplify error stack for the first.

Jinjie Ruan (2):
  static_call: Fix a wild-memory-access bug in static_call_del_module()
  static_call: Fix a wild-memory-access bug when
    static_call_key_sites(key) is true

 kernel/static_call_inline.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-26  7:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-15 12:36 [PATCH v2 0/2] static_call: Fix two wild-memory-access bugs in static_call_del_module() Jinjie Ruan
2023-09-15 12:36 ` [PATCH v2 1/2] static_call: Fix a wild-memory-access bug " Jinjie Ruan
2023-09-15 12:36 ` [PATCH v2 2/2] static_call: Fix a wild-memory-access bug when static_call_key_sites(key) is true Jinjie Ruan
2023-09-26  7:34 ` [PATCH v2 0/2] static_call: Fix two wild-memory-access bugs in static_call_del_module() Ruan Jinjie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®