On (05/11/18 20:02), Tetsuo Handa wrote: > I noticed that there is a possibility that printk_safe_log_store() causes > kernel oops because "args" parameter is passed to vsnprintf() again when > atomic_cmpxchg() detected that we raced. Fix this by using va_copy(). > > Signed-off-by: Tetsuo Handa <[email protected]> > Fixes: 42a0bb3f71383b45 ("printk/nmi: generic solution for safe printk in > NMI") > Cc: Sergey Senozhatsky <[email protected]> > Cc: Petr Mladek <[email protected]> > Cc: Peter Zijlstra <[email protected]> > Cc: Steven Rostedt <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]> -ss

