All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kees Cook <keescook@chromium.org>
To: Hsuan-Chi Kuo <hckuo2@illinois.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Possible bug kernel/seccomp.c
Date: Thu, 4 Mar 2021 12:00:56 -0800	[thread overview]
Message-ID: <202103041200.54C6009@keescook> (raw)
In-Reply-To: <84856991-dd5e-c2d6-0a0e-1c05097a1b86@illinois.edu>

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

      reply	other threads:[~2021-03-04 20:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202103041200.54C6009@keescook \
    --to=keescook@chromium.org \
    --cc=hckuo2@illinois.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.