summaryrefslogtreecommitdiffstats
path: root/kernel/dma.c
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>2022-11-02 09:06:35 -0400
committerPeter Zijlstra <peterz@infradead.org>2022-11-14 09:58:32 +0100
commit448dca8c88755b768552e19bd1618be34ef6d1ff (patch)
tree77d5b4a80a5ff940342c114c5eff22c886c85a30 /kernel/dma.c
parent094226ad94f471a9f19e8f8e7140a09c2625abaa (diff)
downloadlinux-448dca8c88755b768552e19bd1618be34ef6d1ff.tar.bz2
rseq: Use pr_warn_once() when deprecated/unknown ABI flags are encountered
These commits use WARN_ON_ONCE() and kill the offending processes when deprecated and unknown flags are encountered: commit c17a6ff93213 ("rseq: Kill process when unknown flags are encountered in ABI structures") commit 0190e4198e47 ("rseq: Deprecate RSEQ_CS_FLAG_NO_RESTART_ON_* flags") The WARN_ON_ONCE() triggered by userspace input prevents use of Syzkaller to fuzz the rseq system call. Replace this WARN_ON_ONCE() by pr_warn_once() messages which contain actually useful information. Reported-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Paul E. McKenney <paulmck@kernel.org> Link: https://lkml.kernel.org/r/20221102130635.7379-1-mathieu.desnoyers@efficios.com
Diffstat (limited to 'kernel/dma.c')
0 files changed, 0 insertions, 0 deletions