[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.9999.1912272201270.194339@viisi.sifive.com>
Date: Fri, 27 Dec 2019 22:02:54 -0800 (PST)
From: Paul Walmsley <paul.walmsley@...ive.com>
To: David Abdurachmanov <david.abdurachmanov@...il.com>
cc: Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
David Abdurachmanov <david.abdurachmanov@...ive.com>,
Kees Cook <keescook@...omium.org>,
Anup Patel <Anup.Patel@....com>,
Vincent Chen <vincent.chen@...ive.com>,
Valentin Schneider <valentin.schneider@....com>,
Thomas Gleixner <tglx@...utronix.de>,
Bin Meng <bmeng.cn@...il.com>, linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] riscv: reject invalid syscalls below -1
On Wed, 18 Dec 2019, David Abdurachmanov wrote:
> Running "stress-ng --enosys 4 -t 20 -v" showed a large number of kernel oops
> with "Unable to handle kernel paging request at virtual address" message. This
> happens when enosys stressor starts testing random non-valid syscalls.
>
> I forgot to redirect any syscall below -1 to sys_ni_syscall.
>
> With the patch kernel oops messages are gone while running stress-ng enosys
> stressor.
>
> Signed-off-by: David Abdurachmanov <david.abdurachmanov@...ive.com>
> Fixes: 5340627e3fe0 ("riscv: add support for SECCOMP and SECCOMP_FILTER")
>From the thread, I couldn't tell whether you were happy with this patch as
it stands or not; the thread seems to have petered out. So this one has
been queued for v5.5-rc; let me know if you didn't intend for that to
happen.
- Paul
Powered by blists - more mailing lists