archive mirror
 help / color / mirror / Atom feed
From: Anmol Karn <>
To: Matthew Wilcox <>
Subject: Re: [Linux-kernel-mentees] [PATCH] idr: remove WARN_ON_ONCE() when trying to check id
Date: Tue, 15 Sep 2020 00:17:55 +0530	[thread overview]
Message-ID: <20200914184755.GB213347@Thinkpad> (raw)
In-Reply-To: <>

On Mon, Sep 14, 2020 at 12:08:03PM +0100, Matthew Wilcox wrote:
> On Mon, Sep 14, 2020 at 12:47:24PM +0530, Anmol Karn wrote:
> > idr_get_next() gives WARN_ON_ONCE() when it gets (id > INT_MAX) true
> > and this happens when syzbot does fuzzing, and that warning is
> > expected, but WARN_ON_ONCE() is not required here and, cecking
> > the condition and returning NULL value would be suffice.
> > 
> > Reference: commit b9959c7a347 ("filldir[64]: remove WARN_ON_ONCE() for bad directory entries")
> > Reported-and-tested-by:
> > Link: 
> > Signed-off-by: Anmol Karn <>

Hello sir,

I have looked into the patch, and it seems the problem is fixed to the root cause
in this patch, but not yet merged due to some backport issues, so, please ignore 
this patch(sent by me), and please let me know if i can contribute to fixing this 
bug's root cause.

Linux-kernel-mentees mailing list

  reply	other threads:[~2020-09-14 18:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-14  7:17 Anmol Karn
2020-09-14 11:08 ` Matthew Wilcox
2020-09-14 18:47   ` Anmol Karn [this message]
2020-09-14 19:26     ` Matthew Wilcox
2020-09-15  5:13       ` Anmol Karn
2020-09-15  5:26         ` Eric Biggers
2020-09-15  5:51           ` Anmol Karn

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 \
    --in-reply-to=20200914184755.GB213347@Thinkpad \ \ \ \ \ \ \
    --subject='Re: [Linux-kernel-mentees] [PATCH] idr: remove WARN_ON_ONCE() when trying to check id' \

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