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 <penguin-ker...@i-love.sakura.ne.jp>
> Fixes: 42a0bb3f71383b45 ("printk/nmi: generic solution for safe printk in 
> NMI")
> Cc: Sergey Senozhatsky <sergey.senozhat...@gmail.com>
> Cc: Petr Mladek <pmla...@suse.com>
> Cc: Peter Zijlstra <pet...@infradead.org>
> Cc: Steven Rostedt <rost...@goodmis.org>

Reviewed-by: Sergey Senozhatsky <sergey.senozhat...@gmail.com>

        -ss

Reply via email to