All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: syzbot <syzbot+25d82ed5cc4b474f1df8@syzkaller.appspotmail.com>,
	io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com,
	viro@zeniv.linux.org.uk
Subject: Re: KASAN: use-after-free Read in idr_for_each
Date: Thu, 13 Aug 2020 12:43:50 -0600	[thread overview]
Message-ID: <45954f2a-bd4a-7188-0013-a48efb2a3a50@kernel.dk> (raw)
In-Reply-To: <00000000000093837f05acc5a11f@google.com>

On 8/13/20 11:28 AM, syzbot wrote:
> Hello,
> 
> syzbot found the following issue on:
> 
> HEAD commit:    fb893de3 Merge tag 'tag-chrome-platform-for-v5.9' of git:/..
> git tree:       upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=167ed216900000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=f1fedc63022bf07e
> dashboard link: https://syzkaller.appspot.com/bug?extid=25d82ed5cc4b474f1df8
> compiler:       gcc (GCC) 10.1.0-syz 20200507
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=107bc222900000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=17a09d06900000
> 
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+25d82ed5cc4b474f1df8@syzkaller.appspotmail.com
> 
> ==================================================================
> BUG: KASAN: use-after-free in radix_tree_next_slot include/linux/radix-tree.h:421 [inline]
> BUG: KASAN: use-after-free in idr_for_each+0x206/0x220 lib/idr.c:202
> Read of size 8 at addr ffff888082058c78 by task syz-executor999/3765

Should already be fixed by:

commit 6d816e088c359866f9867057e04f244c608c42fe
Author: Jens Axboe <axboe@kernel.dk>
Date:   Tue Aug 11 08:04:14 2020 -0600

    io_uring: hold 'ctx' reference around task_work queue + execute

which is going upstream soon.

#syz dup: KASAN: use-after-free Read in io_async_task_func

-- 
Jens Axboe


      reply	other threads:[~2020-08-13 18:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-13 17:28 KASAN: use-after-free Read in idr_for_each syzbot
2020-08-13 18:43 ` Jens Axboe [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=45954f2a-bd4a-7188-0013-a48efb2a3a50@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=io-uring@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzbot+25d82ed5cc4b474f1df8@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=viro@zeniv.linux.org.uk \
    /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.