linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Vyukov <dvyukov@google.com>
To: Andrew Morton <akpm@linux-foundation.org>,
	 Santosh Shilimkar <santosh.shilimkar@oracle.com>,
	linux-rdma@vger.kernel.org,  rds-devel@oss.oracle.com
Cc: syzbot <syzbot+34c3a8c021ca80c808b0@syzkaller.appspotmail.com>,
	 LKML <linux-kernel@vger.kernel.org>,
	Linux-MM <linux-mm@kvack.org>,
	 syzkaller-bugs <syzkaller-bugs@googlegroups.com>,
	Al Viro <viro@zeniv.linux.org.uk>,
	 netdev <netdev@vger.kernel.org>
Subject: Re: general protection fault in list_lru_del
Date: Thu, 12 Mar 2020 07:36:10 +0100	[thread overview]
Message-ID: <CACT4Y+aSGNcnkW+zu5Fexe7j7E3GnM81YH_+mC_Hp_ToC0+RhA@mail.gmail.com> (raw)
In-Reply-To: <20200311200400.a383230a33722d4c3a6886dd@linux-foundation.org>

On Thu, Mar 12, 2020 at 4:04 AM Andrew Morton <akpm@linux-foundation.org> wrote:
>
> On Tue, 10 Mar 2020 01:29:09 -0700 syzbot <syzbot+34c3a8c021ca80c808b0@syzkaller.appspotmail.com> wrote:
>
> > Hello,
> >
> > syzbot found the following crash on:
>
> Might be vfs, more likely networking, might be something else.  Cc's
> added.

My bet would be on RDS, +RDS maintainers as well.

> > HEAD commit:    63623fd4 Merge tag 'for-linus' of git://git.kernel.org/pub..
> > git tree:       upstream
> > console output: https://syzkaller.appspot.com/x/log.txt?x=1492da55e00000
> > kernel config:  https://syzkaller.appspot.com/x/.config?x=9833e26bab355358
> > dashboard link: https://syzkaller.appspot.com/bug?extid=34c3a8c021ca80c808b0
> > compiler:       gcc (GCC) 9.0.0 20181231 (experimental)
> >
> > Unfortunately, I don't have any reproducer for this crash yet.
> >
> > IMPORTANT: if you fix the bug, please add the following tag to the commit:
> > Reported-by: syzbot+34c3a8c021ca80c808b0@syzkaller.appspotmail.com
> >
> > general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
> > KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
> > CPU: 1 PID: 11205 Comm: kworker/u4:4 Not tainted 5.6.0-rc3-syzkaller #0
> > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
> > Workqueue: krdsd rds_tcp_accept_worker
> > RIP: 0010:__list_del_entry_valid+0x85/0xf5 lib/list_debug.c:51
> > Code: 0f 84 e1 00 00 00 48 b8 22 01 00 00 00 00 ad de 49 39 c4 0f 84 e2 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 53 49 8b 14 24 4c 39 f2 0f 85 99 00 00 00 49 8d 7d
> > RSP: 0018:ffffc90001b27af0 EFLAGS: 00010246
> > RAX: dffffc0000000000 RBX: ffff888020040c60 RCX: ffffffff81a1dda6
> > RDX: 0000000000000000 RSI: ffffffff81a1dba1 RDI: ffff888020040c68
> > RBP: ffffc90001b27b08 R08: ffff88809f18e280 R09: fffff52000364f51
> > R10: fffff52000364f50 R11: 0000000000000003 R12: 0000000000000000
> > R13: 0000000000000000 R14: ffff888020040c60 R15: ffff888020040c68
> > FS:  0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
> > CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> > CR2: 00007f78a44de000 CR3: 000000008c993000 CR4: 00000000001426e0
> > DR0: 0000000000000000 DR1: 0000000000006920 DR2: 0000000000000000
> > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> > Call Trace:
> >  __list_del_entry include/linux/list.h:132 [inline]
> >  list_del_init include/linux/list.h:204 [inline]
> >  list_lru_del+0x11d/0x620 mm/list_lru.c:158
> >  inode_lru_list_del fs/inode.c:450 [inline]
> >  iput_final fs/inode.c:1568 [inline]
> >  iput+0x52c/0x900 fs/inode.c:1597
> >  __sock_release+0x20e/0x280 net/socket.c:617
> >  sock_release+0x18/0x20 net/socket.c:625
> >  rds_tcp_accept_one+0x5a9/0xc00 net/rds/tcp_listen.c:251
> >  rds_tcp_accept_worker+0x56/0x80 net/rds/tcp.c:525
> >  process_one_work+0xa05/0x17a0 kernel/workqueue.c:2264
> >  worker_thread+0x98/0xe40 kernel/workqueue.c:2410
> >  kthread+0x361/0x430 kernel/kthread.c:255
> >  ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
> > Modules linked in:
> > ---[ end trace 424f0561ef9bfe17 ]---
> > RIP: 0010:__list_del_entry_valid+0x85/0xf5 lib/list_debug.c:51
> > Code: 0f 84 e1 00 00 00 48 b8 22 01 00 00 00 00 ad de 49 39 c4 0f 84 e2 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 53 49 8b 14 24 4c 39 f2 0f 85 99 00 00 00 49 8d 7d
> > RSP: 0018:ffffc90001b27af0 EFLAGS: 00010246
> > RAX: dffffc0000000000 RBX: ffff888020040c60 RCX: ffffffff81a1dda6
> > RDX: 0000000000000000 RSI: ffffffff81a1dba1 RDI: ffff888020040c68
> > RBP: ffffc90001b27b08 R08: ffff88809f18e280 R09: fffff52000364f51
> > R10: fffff52000364f50 R11: 0000000000000003 R12: 0000000000000000
> > R13: 0000000000000000 R14: ffff888020040c60 R15: ffff888020040c68
> > FS:  0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
> > CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> > CR2: 00007f78a44de000 CR3: 000000008c993000 CR4: 00000000001426e0
> > DR0: 0000000000000000 DR1: 0000000000006920 DR2: 0000000000000000
> > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> >
> >
> > ---
> > This bug is generated by a bot. It may contain errors.
> > See https://goo.gl/tpsmEJ for more information about syzbot.
> > syzbot engineers can be reached at syzkaller@googlegroups.com.
> >
> > syzbot will keep track of this bug report. See:
> > https://goo.gl/tpsmEJ#status for how to communicate with syzbot.


      reply	other threads:[~2020-03-12  6:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-10  8:29 general protection fault in list_lru_del syzbot
2020-03-12  3:04 ` Andrew Morton
2020-03-12  6:36   ` Dmitry Vyukov [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=CACT4Y+aSGNcnkW+zu5Fexe7j7E3GnM81YH_+mC_Hp_ToC0+RhA@mail.gmail.com \
    --to=dvyukov@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=rds-devel@oss.oracle.com \
    --cc=santosh.shilimkar@oracle.com \
    --cc=syzbot+34c3a8c021ca80c808b0@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 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).