[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202103041200.54C6009@keescook>
Date: Thu, 4 Mar 2021 12:00:56 -0800
From: Kees Cook <keescook@...omium.org>
To: Hsuan-Chi Kuo <hckuo2@...inois.edu>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Possible bug kernel/seccomp.c
On Thu, Mar 04, 2021 at 01:14:16PM -0600, Hsuan-Chi Kuo wrote:
> cc mailing list.
>
> On 3/4/21 1:10 PM, Hsuan-Chi Kuo wrote:
> > Hello,
> >
> > Should this line be atomic_read(&caller->seccomp.filter_count));
> >
> > https://elixir.bootlin.com/linux/latest/source/kernel/seccomp.c#L600
> >
> > I think the desired behavior is to synchronize the filter count.
Yecch. Yeah, that's a bug. Thanks for noticing that! Can you send a
patch to fix it?
--
Kees Cook
Powered by blists - more mailing lists