ci starts bisection 2023-04-27 22:41:24.346849606 +0000 UTC m=+9627.486745759 bisecting fixing commit since 3a93e40326c8f470e71d20b4c42d36767450f38f building syzkaller on 48c747718b6ee9425b846941d81e7f6dfe050859 ensuring issue is reproducible on original commit 3a93e40326c8f470e71d20b4c42d36767450f38f testing commit 3a93e40326c8f470e71d20b4c42d36767450f38f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8ad9ec7c6ee11e3bbd2b49730c7bb042956dea16a84dfd1c1270405c656e33c4 all runs: crashed: divide error in do_journal_end testing current HEAD cec24b8b6bb841a19b5c5555b600a511a8988100 testing commit cec24b8b6bb841a19b5c5555b600a511a8988100 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2ec58b6b329f0ea426209e5830eae2957b3a630a65f7214c86f6e22d0a668223 all runs: crashed: divide error in do_journal_end revisions tested: 2, total time: 33m48.223144152s (build: 26m14.045338982s, test: 6m52.871756502s) the crash still happens on HEAD commit msg: Merge tag 'char-misc-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc crash: divide error in do_journal_end divide error: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5334 Comm: syz-executor.0 Not tainted 6.3.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:do_journal_end+0x1469/0x4ad0 fs/reiserfs/journal.c:4089 Code: c6 41 84 f0 0f 85 06 34 00 00 83 e2 07 38 d1 40 0f 9e c6 84 c9 0f 95 c2 40 84 d6 0f 85 ef 33 00 00 8b 4b 14 48 8d 7d 18 31 d2 <48> f7 f1 4a 8d 34 2a 48 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1 RSP: 0018:ffffc90004fcfb18 EFLAGS: 00010246 RAX: 0000000000000003 RBX: ffff88806e428000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff888076145018 RBP: ffff888076145000 R08: 0000000000000001 R09: 424c724573496552 R10: ffff888075751000 R11: 0000000000000004 R12: 0000000000001000 R13: 0000000000000000 R14: ffffc90004fcfd08 R15: ffffc90005251050 FS: 0000555556a6f400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558411a99950 CR3: 000000002715b000 CR4: 0000000000350ef0 Call Trace: reiserfs_sync_fs+0xd9/0xf0 fs/reiserfs/super.c:78 sync_filesystem.part.0+0x63/0x170 fs/sync.c:56 generic_shutdown_super+0x68/0x420 fs/super.c:473 kill_block_super+0x9a/0xe0 fs/super.c:1407 deactivate_locked_super+0x7f/0x130 fs/super.c:331 cleanup_mnt+0x253/0x360 fs/namespace.c:1177 task_work_run+0x12f/0x220 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff4a508d567 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 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:00007ffe8c2d6748 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007ff4a508d567 RDX: 00007ffe8c2d6819 RSI: 000000000000000a RDI: 00007ffe8c2d6810 RBP: 00007ffe8c2d6810 R08: 00000000ffffffff R09: 00007ffe8c2d65e0 R10: 0000555556a70893 R11: 0000000000000246 R12: 00007ff4a50e6b74 R13: 00007ffe8c2d78d0 R14: 0000555556a70810 R15: 00007ffe8c2d7910 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:do_journal_end+0x1469/0x4ad0 fs/reiserfs/journal.c:4089 Code: c6 41 84 f0 0f 85 06 34 00 00 83 e2 07 38 d1 40 0f 9e c6 84 c9 0f 95 c2 40 84 d6 0f 85 ef 33 00 00 8b 4b 14 48 8d 7d 18 31 d2 <48> f7 f1 4a 8d 34 2a 48 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1 RSP: 0018:ffffc90004fcfb18 EFLAGS: 00010246 RAX: 0000000000000003 RBX: ffff88806e428000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff888076145018 RBP: ffff888076145000 R08: 0000000000000001 R09: 424c724573496552 R10: ffff888075751000 R11: 0000000000000004 R12: 0000000000001000 R13: 0000000000000000 R14: ffffc90004fcfd08 R15: ffffc90005251050 FS: 0000555556a6f400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b06fc26950 CR3: 000000002715b000 CR4: 0000000000350ee0 ---------------- Code disassembly (best guess): 0: c6 41 84 f0 movb $0xf0,-0x7c(%rcx) 4: 0f 85 06 34 00 00 jne 0x3410 a: 83 e2 07 and $0x7,%edx d: 38 d1 cmp %dl,%cl f: 40 0f 9e c6 setle %sil 13: 84 c9 test %cl,%cl 15: 0f 95 c2 setne %dl 18: 40 84 d6 test %dl,%sil 1b: 0f 85 ef 33 00 00 jne 0x3410 21: 8b 4b 14 mov 0x14(%rbx),%ecx 24: 48 8d 7d 18 lea 0x18(%rbp),%rdi 28: 31 d2 xor %edx,%edx * 2a: 48 f7 f1 div %rcx <-- trapping instruction 2d: 4a 8d 34 2a lea (%rdx,%r13,1),%rsi 31: 48 89 fa mov %rdi,%rdx 34: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 3b: fc ff df 3e: 48 rex.W 3f: c1 .byte 0xc1