ci2 starts bisection 2023-04-02 00:59:27.916795038 +0000 UTC m=+315068.930454058 bisecting fixing commit since f9ff5644bcc04221bae56f922122f2b7f5d24d62 building syzkaller on 05494336991504e3c6137b89eeddd492e17af6b6 ensuring issue is reproducible on original commit f9ff5644bcc04221bae56f922122f2b7f5d24d62 testing commit f9ff5644bcc04221bae56f922122f2b7f5d24d62 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0f4a7250e0a3b6f52eda798aa5f4e240279c21ff2184eb812241c9c3846a1e3b run #0: crashed: BUG: unable to handle kernel paging request in schedule run #1: crashed: BUG: unable to handle kernel paging request in schedule run #2: crashed: BUG: unable to handle kernel paging request in schedule run #3: crashed: BUG: unable to handle kernel paging request in schedule run #4: crashed: BUG: unable to handle kernel paging request in schedule run #5: crashed: BUG: unable to handle kernel paging request in schedule run #6: crashed: kernel panic: stack is corrupted in arch_stack_walk run #7: crashed: BUG: unable to handle kernel paging request in schedule run #8: crashed: BUG: unable to handle kernel paging request in schedule run #9: crashed: BUG: unable to handle kernel paging request in schedule run #10: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #11: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #12: crashed: BUG: unable to handle kernel paging request in schedule run #13: crashed: kernel panic: stack is corrupted in arch_stack_walk run #14: crashed: kernel panic: stack is corrupted in arch_stack_walk run #15: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #16: crashed: BUG: unable to handle kernel paging request in schedule run #17: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #18: crashed: BUG: unable to handle kernel paging request in schedule run #19: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync testing current HEAD 00c7b5f4ddc5b346df62b757ec73f9357bb452af testing commit 00c7b5f4ddc5b346df62b757ec73f9357bb452af gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: abfd328c1fef082d22abe13ce619aad3a0614cf50cb23e8c9301760cd87350b4 run #0: crashed: kernel panic: stack is corrupted in lock_acquire run #1: crashed: WARNING: nested lock was not taken in filemap_get_read_batch run #2: crashed: WARNING: nested lock was not taken in filemap_get_read_batch run #3: crashed: BUG: looking up invalid subclass: ADDR run #4: crashed: WARNING: nested lock was not taken in filemap_get_read_batch run #5: crashed: WARNING: nested lock was not taken in filemap_get_read_batch run #6: crashed: WARNING: nested lock was not taken in filemap_get_read_batch run #7: crashed: kernel panic: stack is corrupted in validate_chain run #8: crashed: WARNING: nested lock was not taken in filemap_get_read_batch run #9: crashed: WARNING: nested lock was not taken in filemap_get_read_batch revisions tested: 2, total time: 51m36.825208134s (build: 34m17.58271246s, test: 15m6.692349867s) the crash still happens on HEAD commit msg: Merge tag 'input-for-v6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input crash: WARNING: nested lock was not taken in filemap_get_read_batch ================================== WARNING: Nested lock was not taken 6.3.0-rc4-syzkaller #0 Not tainted ---------------------------------- syz-executor.0/7854 is trying to lock: ffffffff8bd1a180 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 but this task is not holding: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 1 PID: 7854 Comm: syz-executor.0 Not tainted 6.3.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:__lock_acquire+0x10cd/0x1f80 Code: 3c 30 00 48 8b 5c 24 78 74 12 48 89 df e8 0b a1 61 00 49 be 00 00 00 00 00 fc ff df 48 8b 1b 48 83 c3 18 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 e4 a0 61 00 48 8b 33 48 c7 c7 a0 RSP: 0018:ffffc900042bf120 EFLAGS: 00010006 RAX: 0000000000000003 RBX: 0000000000000018 RCX: 54cfd37140eb1000 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffff888025e7d700 R08: dffffc0000000000 R09: ffffed10173a515b R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888025e7e130 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888025e7df08 FS: 00007f9fe2902700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9fe2902718 CR3: 000000001b1e7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1b7/0x4f0 rcu_lock_acquire+0x24/0x30 filemap_get_read_batch+0x152/0x8d0 filemap_get_pages+0x498/0x1b40 filemap_read+0x39f/0xd80 generic_file_splice_read+0x1f5/0x570 splice_direct_to_actor+0x39c/0xa60 do_splice_direct+0x26a/0x3b0 do_sendfile+0x508/0xcd0 __se_sys_sendfile64+0x10b/0x160 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9fe1c8c0d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9fe2902168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f9fe1dac050 RCX: 00007f9fe1c8c0d9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f9fe1ce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 00008400fffffffa R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffef6ec053f R14: 00007f9fe2902300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0x10cd/0x1f80 Code: 3c 30 00 48 8b 5c 24 78 74 12 48 89 df e8 0b a1 61 00 49 be 00 00 00 00 00 fc ff df 48 8b 1b 48 83 c3 18 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 e4 a0 61 00 48 8b 33 48 c7 c7 a0 RSP: 0018:ffffc900042bf120 EFLAGS: 00010006 RAX: 0000000000000003 RBX: 0000000000000018 RCX: 54cfd37140eb1000 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffff888025e7d700 R08: dffffc0000000000 R09: ffffed10173a515b R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888025e7e130 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888025e7df08 FS: 00007f9fe2902700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9fe2902718 CR3: 000000001b1e7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 3c 30 cmp $0x30,%al 2: 00 48 8b add %cl,-0x75(%rax) 5: 5c pop %rsp 6: 24 78 and $0x78,%al 8: 74 12 je 0x1c a: 48 89 df mov %rbx,%rdi d: e8 0b a1 61 00 callq 0x61a11d 12: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14 19: fc ff df 1c: 48 8b 1b mov (%rbx),%rbx 1f: 48 83 c3 18 add $0x18,%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 e4 a0 61 00 callq 0x61a11d 39: 48 8b 33 mov (%rbx),%rsi 3c: 48 rex.W 3d: c7 .byte 0xc7 3e: c7 (bad) 3f: a0 .byte 0xa0