* Re: Possible bug kernel/seccomp.c
[not found] <83ebb916-20de-dba5-a5a2-c7f120ba7b21@illinois.edu>
@ 2021-03-04 19:14 ` Hsuan-Chi Kuo
2021-03-04 20:00 ` Kees Cook
0 siblings, 1 reply; 2+ messages in thread
From: Hsuan-Chi Kuo @ 2021-03-04 19:14 UTC (permalink / raw)
To: keescook; +Cc: linux-kernel
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.
>
> Thank you
>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Possible bug kernel/seccomp.c
2021-03-04 19:14 ` Possible bug kernel/seccomp.c Hsuan-Chi Kuo
@ 2021-03-04 20:00 ` Kees Cook
0 siblings, 0 replies; 2+ messages in thread
From: Kees Cook @ 2021-03-04 20:00 UTC (permalink / raw)
To: Hsuan-Chi Kuo; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-04 20:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <83ebb916-20de-dba5-a5a2-c7f120ba7b21@illinois.edu>
2021-03-04 19:14 ` Possible bug kernel/seccomp.c Hsuan-Chi Kuo
2021-03-04 20:00 ` Kees Cook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).