From: Greg KH <gregkh@linuxfoundation.org>
To: Tejun Heo <tj@kernel.org>
Cc: syzbot <syzbot+97a16334dbd58916f7fb@syzkaller.appspotmail.com>,
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] KASAN: use-after-free Read in kernfs_get
Date: Mon, 14 Mar 2022 18:03:03 +0100 [thread overview]
Message-ID: <Yi91RwY/UDPJ4iky@kroah.com> (raw)
In-Reply-To: <Yi9nzLtJRhtNXc8+@slm.duckdns.org>
On Mon, Mar 14, 2022 at 06:05:32AM -1000, Tejun Heo wrote:
> On Mon, Mar 14, 2022 at 06:49:19AM -0700, syzbot wrote:
> > Hello,
> >
> > syzbot found the following issue on:
> >
> > HEAD commit: 09688c0166e7 Linux 5.17-rc8
> > git tree: upstream
> > console output: https://syzkaller.appspot.com/x/log.txt?x=11b42729700000
> > kernel config: https://syzkaller.appspot.com/x/.config?x=6da459dcfde3b8d0
> > dashboard link: https://syzkaller.appspot.com/bug?extid=97a16334dbd58916f7fb
> > compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.2
> >
> > Unfortunately, I don't have any reproducer for this issue yet.
> >
> > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > Reported-by: syzbot+97a16334dbd58916f7fb@syzkaller.appspotmail.com
> >
> > usb 1-1: Direct firmware load for ueagle-atm/adi930.fw failed with error -2
> > usb 1-1: Falling back to sysfs fallback for: ueagle-atm/adi930.fw
> > ==================================================================
> > BUG: KASAN: use-after-free in instrument_atomic_read include/linux/instrumented.h:71 [inline]
> > BUG: KASAN: use-after-free in atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline]
> > BUG: KASAN: use-after-free in kernfs_get+0x1c/0x90 fs/kernfs/dir.c:496
> > Read of size 4 at addr ffff88801ded39f8 by task kworker/1:2/2510
>
> Looks like firmware loading and usb hub removal racing? I'm not sure there's
> whole lot we can do from the kernfs side. Greg?
Odd. Let me look at it. If syzbot is starting to poke at ATM drivers,
wow, lots of issues are going to start falling out...
thanks,
greg k-h
prev parent reply other threads:[~2022-03-14 17:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-14 13:49 [syzbot] KASAN: use-after-free Read in kernfs_get syzbot
2022-03-14 16:05 ` Tejun Heo
2022-03-14 17:03 ` Greg KH [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=Yi91RwY/UDPJ4iky@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+97a16334dbd58916f7fb@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
--cc=tj@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox