Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6527038ybc; Thu, 28 Nov 2019 00:39:41 -0800 (PST) X-Google-Smtp-Source: APXvYqzihkeiKD7WBV3Y+Nid3epApZ14JtLbo3Tae7yxpJJ4rqryzIVHwG91kLU//sts7nCrUrk2 X-Received: by 2002:a17:907:2099:: with SMTP id pv25mr33847764ejb.144.1574930380949; Thu, 28 Nov 2019 00:39:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574930380; cv=none; d=google.com; s=arc-20160816; b=svcKZOPHoNi6Tqhmu7hqCyAIoV8/FDEWUBEYWBshNi98tulDkFXHisnSOHF5aqWVNh k9o2oBAEXAgeILPWOjp5ku5PAoquR9Gk7YtEmMfRlWvkYkPuxmJEVI3lBmriiVLc7kMD Bp4bwfjE4Wxv9GlJy87ri5WuHGqE+2Fv3q/MWTkMwSxIxpCJbNpmwzPri2vFoRNR2vI1 jtGCPrIEmqMX4x+FGVzH0FwwVCqb68C5vRcedZdK/FU31CzTqqjunImpK+goOu4pY7eP 2UO2Vla7yjif9zRayKje9447qAJk/1meGDad92PPJZ6KEoLXuLbuSEQjXc/0hnreJ2K7 8JiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:subject:message-id:date :mime-version; bh=QmXjKv7M6nqqNmvXkPQVCxOuNV7WKnfrtoxgOJfZtEg=; b=XJ3wY54LRe9y774kvEyGquZMNWLojjPMWmyci6L4CrJ8t+3+GpGy3pZ2n8zW7OraP9 1ppRgnl7yBy+F/RhZLi676zMY8hCAuoW+rK1SzJ4H0emf5g4zaOF17Fr4CVzSybS1M8a jt4J3y+GCMRcRykckFx4okkRwbAgKdF5MUbVfXynfNp5R9ACVjt6WBLTvxjHtlUbd1Hr wa3gVDwNkwbDUW7dc1OxhLEkVu5qks1Z6OmoPyryW6ozy005vrBVLY25rmehT+H7UILg on+x57JMaqyhQ8JWGeGqO4vpfBawb+jFrWPX2xIyM3c/f8BBLBU+qN/lCMZHQ6A3c44z Si5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c70si12669787edf.436.2019.11.28.00.39.16; Thu, 28 Nov 2019 00:39:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727580AbfK1IfQ (ORCPT + 99 others); Thu, 28 Nov 2019 03:35:16 -0500 Received: from mail-il1-f199.google.com ([209.85.166.199]:34390 "EHLO mail-il1-f199.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727234AbfK1IfK (ORCPT ); Thu, 28 Nov 2019 03:35:10 -0500 Received: by mail-il1-f199.google.com with SMTP id l13so5760502ils.1 for ; Thu, 28 Nov 2019 00:35:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=QmXjKv7M6nqqNmvXkPQVCxOuNV7WKnfrtoxgOJfZtEg=; b=gXh59XJN6nvGg6WDgC141TE/ZZxcPH0tHRfhYLOBz/d5A0zMkdZ1xfWjDmGsrv7NAd D69CgpR2vEKcKMXUIJCM89uMnI0H2eza/ZSr/CGBAz5T7SJANiEBUbQdA5Ed405rjoGO 8Zu+StjBH26wX3w2i6EFdLuCMlNltogXv9S9qz7FJDlyO/iEKSlzPCwTklvwOHcNE874 U5HC77/uSBISPwxDdr7bxlksv11dlhC5M0KrfdLVw45qwfEh/0MsRn6hHXh37RW11PCB PzrW6aCcaFp0vr10gqAsDML1H0g5KuYo1B/35y6Ce/UoZomFcKmkxCz97DSVE9MrNrWn gGhA== X-Gm-Message-State: APjAAAVpgrgk8iITi83dSXsYkBhHw1llhhDzOR8bZn7MwuJl5ODIz47E r5qf/HCtKBMAGtbG9b9fpmWG2UO3XCGhwUQx0FXZ02bjvw4P MIME-Version: 1.0 X-Received: by 2002:a6b:ea05:: with SMTP id m5mr26928063ioc.109.1574930107809; Thu, 28 Nov 2019 00:35:07 -0800 (PST) Date: Thu, 28 Nov 2019 00:35:07 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000009f46d4059863fdea@google.com> Subject: INFO: trying to register non-static key in io_cqring_overflow_flush From: syzbot To: axboe@kernel.dk, io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following crash on: HEAD commit: d7688697 Merge tag 'for-linus' of git://git.kernel.org/pub.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=145e5fcee00000 kernel config: https://syzkaller.appspot.com/x/.config?x=12f2051e3d8cdb3f dashboard link: https://syzkaller.appspot.com/bug?extid=be9e13497969768c0e6e compiler: clang version 9.0.0 (/home/glider/llvm/clang 80fee25776c2fb61e74c1ecb1a523375c2500b69) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=146c517ae00000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16550b12e00000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+be9e13497969768c0e6e@syzkaller.appspotmail.com RSP: 002b:00007ffc426dee68 EFLAGS: 00000246 ORIG_RAX: 00000000000001a9 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441259 RDX: 0000000000000002 RSI: 00000000200005c0 RDI: 0000000000000df3 RBP: 00007ffc426dee80 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000 INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 7968 Comm: syz-executor745 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fb/0x318 lib/dump_stack.c:118 register_lock_class+0x6ec/0xea0 kernel/locking/lockdep.c:443 __lock_acquire+0x116/0x1be0 kernel/locking/lockdep.c:3837 lock_acquire+0x158/0x250 kernel/locking/lockdep.c:4485 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa1/0xc0 kernel/locking/spinlock.c:159 __wake_up_common_lock kernel/sched/wait.c:122 [inline] __wake_up+0xb8/0x150 kernel/sched/wait.c:142 io_cqring_ev_posted fs/io_uring.c:637 [inline] io_cqring_overflow_flush+0x7bc/0xa80 fs/io_uring.c:684 io_ring_ctx_wait_and_kill+0x4c6/0xb10 fs/io_uring.c:4344 io_uring_create fs/io_uring.c:4681 [inline] io_uring_setup fs/io_uring.c:4707 [inline] __do_sys_io_uring_setup fs/io_uring.c:4720 [inline] __se_sys_io_uring_setup+0x1ccb/0x2490 fs/io_uring.c:4717 __x64_sys_io_uring_setup+0x5b/0x70 fs/io_uring.c:4717 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x441259 Code: e8 5c ae 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 bb 0a fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffc426dee68 EFLAGS: 00000246 ORIG_RAX: 00000000000001a9 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441259 RDX: 0000000000000002 RSI: 00000000200005c0 RDI: 0000000000000df3 RBP: 00007ffc426dee80 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 7968 Comm: syz-executor745 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__wake_up_common+0x2bf/0x4d0 kernel/sched/wait.c:87 Code: e8 d6 91 57 00 48 ba 00 00 00 00 00 fc ff df eb 43 66 2e 0f 1f 84 00 00 00 00 00 4c 89 e3 4d 8d 74 24 e8 4c 89 e0 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 c3 91 57 00 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8880915afb78 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff888093164120 RBP: ffff8880915afbd0 R08: 0000000000000000 R09: ffff8880915afbe8 R10: ffffed10122b5f6f R11: 0000000000000000 R12: 0000000000000000 R13: ffff888093164158 R14: ffffffffffffffe8 R15: ffff8880915afbe8 FS: 0000000001aed880(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200005c0 CR3: 000000009328e000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __wake_up_common_lock kernel/sched/wait.c:123 [inline] __wake_up+0xd3/0x150 kernel/sched/wait.c:142 io_cqring_ev_posted fs/io_uring.c:637 [inline] io_cqring_overflow_flush+0x7bc/0xa80 fs/io_uring.c:684 io_ring_ctx_wait_and_kill+0x4c6/0xb10 fs/io_uring.c:4344 io_uring_create fs/io_uring.c:4681 [inline] io_uring_setup fs/io_uring.c:4707 [inline] __do_sys_io_uring_setup fs/io_uring.c:4720 [inline] __se_sys_io_uring_setup+0x1ccb/0x2490 fs/io_uring.c:4717 __x64_sys_io_uring_setup+0x5b/0x70 fs/io_uring.c:4717 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x441259 Code: e8 5c ae 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 bb 0a fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffc426dee68 EFLAGS: 00000246 ORIG_RAX: 00000000000001a9 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441259 RDX: 0000000000000002 RSI: 00000000200005c0 RDI: 0000000000000df3 RBP: 00007ffc426dee80 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace d0de30dce4e623c2 ]--- RIP: 0010:__wake_up_common+0x2bf/0x4d0 kernel/sched/wait.c:87 Code: e8 d6 91 57 00 48 ba 00 00 00 00 00 fc ff df eb 43 66 2e 0f 1f 84 00 00 00 00 00 4c 89 e3 4d 8d 74 24 e8 4c 89 e0 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 c3 91 57 00 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8880915afb78 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff888093164120 RBP: ffff8880915afbd0 R08: 0000000000000000 R09: ffff8880915afbe8 R10: ffffed10122b5f6f R11: 0000000000000000 R12: 0000000000000000 R13: ffff888093164158 R14: ffffffffffffffe8 R15: ffff8880915afbe8 FS: 0000000001aed880(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200005c0 CR3: 000000009328e000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 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. syzbot can test patches for this bug, for details see: https://goo.gl/tpsmEJ#testing-patches