Messages in this thread | | | Date | Mon, 31 Aug 2020 18:26:40 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH v3] iomap: Fix WARN_ON_ONCE() from unprivileged users |
| |
On Mon, Aug 31, 2020 at 01:25:34PM -0400, Qian Cai wrote: > It is trivial to trigger a WARN_ON_ONCE(1) in iomap_dio_actor() by > unprivileged users which would taint the kernel, or worse - panic if > panic_on_warn or panic_on_taint is set. Hence, just convert it to > pr_warn_ratelimited() to let users know their workloads are racing. > Thank Dave Chinner for the initial analysis of the racing reproducers. > > Signed-off-by: Qian Cai <cai@lca.pw>
Looks good,
Reviewed-by: Christoph Hellwig <hch@lst.de>
| |