Linux-Fsdevel Archive on
help / color / mirror / Atom feed
From: Al Viro <>
To: Takashi Iwai <>
Subject: Re: general protection fault in snd_ctl_release
Date: Wed, 2 Sep 2020 16:35:30 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Wed, Sep 02, 2020 at 05:22:00PM +0200, Takashi Iwai wrote:

> Marc, Al, could you guys check this bug?

That's racy; the first one should be get_file_rcu() instead of
file_count()+get_file(), the second is not needed at all (we
have the file pinned down by the caller).  See vfs.git#work.epoll
for fix

  reply	other threads:[~2020-09-02 15:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-02  6:57 syzbot
2020-09-02 15:22 ` Takashi Iwai
2020-09-02 15:35   ` Al Viro [this message]
2020-09-02 15:46     ` Takashi Iwai
2020-09-02 17:23       ` Takashi Iwai

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:

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

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: general protection fault in snd_ctl_release' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).