ci starts bisection 2023-04-08 01:17:07.332232627 +0000 UTC m=+1341.810702206 bisecting fixing commit since 41c03ba9beea760bd2d2ac9250b09a2e192da2dc building syzkaller on 1dac8c7a01e2bdd35cb04eb4901ddb157291ac2d ensuring issue is reproducible on original commit 41c03ba9beea760bd2d2ac9250b09a2e192da2dc testing commit 41c03ba9beea760bd2d2ac9250b09a2e192da2dc gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 647cdc4f79b6b46b8d56497330b733f18ff9a8756c58c4faafd54633aa3ffd2e run #0: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #1: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #2: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #3: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #4: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #5: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #6: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #7: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #8: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #9: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync 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: KASAN: out-of-bounds Write in end_buffer_read_sync run #13: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #14: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #15: crashed: BUG: unable to handle kernel paging request in corrupted run #16: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #17: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #18: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #19: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync testing current HEAD aa318c48808c0aa73216bd94c54c4553d3663add testing commit aa318c48808c0aa73216bd94c54c4553d3663add gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9f4eee04ca2c663b6d52a8f4fda383a43feb35ed14e4cff89a405e131569c60a run #0: crashed: WARNING: nested lock was not taken in filemap_get_read_batch run #1: crashed: BUG: looking up invalid subclass: ADDR run #2: crashed: WARNING: nested lock was not taken in filemap_get_read_batch run #3: crashed: kernel panic: stack is corrupted in validate_chain run #4: crashed: WARNING: nested lock was not taken in filemap_get_read_batch run #5: crashed: KASAN: out-of-bounds Write in end_buffer_read_sync run #6: crashed: kernel panic: stack is corrupted in validate_chain run #7: crashed: WARNING: nested lock was not taken in filemap_get_read_batch run #8: crashed: kernel panic: stack is corrupted in validate_chain run #9: crashed: WARNING: nested lock was not taken in filemap_get_read_batch revisions tested: 2, total time: 25m50.731057878s (build: 17m40.659547035s, test: 7m36.26649199s) the crash still happens on HEAD commit msg: Merge tag 'gpio-fixes-for-v6.3-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux crash: WARNING: nested lock was not taken in filemap_get_read_batch loop0: detected capacity change from 0 to 4096 ntfs3: loop0: Different NTFS' sector size (4096) and media sector size (512) ================================== WARNING: Nested lock was not taken 6.3.0-rc5-syzkaller #0 Not tainted ---------------------------------- syz-executor.0/6638 is trying to lock: ffffffff8bf16d40 (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: 0 PID: 6638 Comm: syz-executor.0 Not tainted 6.3.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:__lock_acquire+0x10cd/0x1f80 Code: 3c 30 00 48 8b 5c 24 78 74 12 48 89 df e8 5b ce 62 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 34 ce 62 00 48 8b 33 48 c7 c7 40 RSP: 0018:ffffc90006dc70e0 EFLAGS: 00010006 RAX: 0000000000000003 RBX: 0000000000000018 RCX: 72c26bbde1430200 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffff88801b6bba00 R08: dffffc0000000000 R09: ffffed101738515b R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801b6bc430 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff88801b6bc208 FS: 00007f5540c39700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5540c3a000 CR3: 00000000272d8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e1/0x520 rcu_lock_acquire+0x24/0x30 filemap_get_read_batch+0x172/0x910 filemap_get_pages+0x4ee/0x1bf0 filemap_read+0x397/0xd10 generic_file_splice_read+0x23a/0x5b0 splice_direct_to_actor+0x39c/0xa60 do_splice_direct+0x268/0x3a0 do_sendfile+0x4f5/0xc20 __se_sys_sendfile64+0x143/0x190 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f553fe8c0c9 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:00007f5540c39168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f553ffabf80 RCX: 00007f553fe8c0c9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f553fee7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 00008400fffffffa R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd0e3152bf R14: 00007f5540c39300 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 5b ce 62 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 34 ce 62 00 48 8b 33 48 c7 c7 40 RSP: 0018:ffffc90006dc70e0 EFLAGS: 00010006 RAX: 0000000000000003 RBX: 0000000000000018 RCX: 72c26bbde1430200 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffff88801b6bba00 R08: dffffc0000000000 R09: ffffed101738515b R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801b6bc430 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff88801b6bc208 FS: 00007f5540c39700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5540c3a000 CR3: 00000000272d8000 CR4: 00000000003506f0 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 5b ce 62 00 callq 0x62ce6d 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 34 ce 62 00 callq 0x62ce6d 39: 48 8b 33 mov (%rbx),%rsi 3c: 48 rex.W 3d: c7 .byte 0xc7 3e: c7 .byte 0xc7 3f: 40 rex