ci2 starts bisection 2023-04-07 12:11:32.927089259 +0000 UTC m=+12313.680733301 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: d5699e9c8a0551c4d42da18c8c9e4b198212d1c6aa49db32baafe4bff4bb38b8 all runs: crashed: general protection fault in prepare_for_delete_or_cut testing current HEAD f2afccfefe7be1f7346564fe619277110d341f9b testing commit f2afccfefe7be1f7346564fe619277110d341f9b gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 76b4b7a45f6c891cc524605f3f0371652239177cdcfa8cc13e12a592fd2dbaf0 all runs: crashed: general protection fault in prepare_for_delete_or_cut revisions tested: 2, total time: 1h2m13.770452209s (build: 52m59.158716017s, test: 6m42.253713234s) the crash still happens on HEAD commit msg: Merge tag 'net-6.3-rc6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net crash: general protection fault in prepare_for_delete_or_cut REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[2 1 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2 REISERFS error (device loop0): vs-5150 search_by_key: invalid format found in block 532. Fsck? REISERFS (device loop0): Remounting filesystem read-only REISERFS error (device loop0): vs-13050 reiserfs_update_sd_size: i/o failure occurred trying to update [2 2 0x0 SD] stat data REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[2 1 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2 REISERFS error (device loop0): vs-5150 search_by_key: invalid format found in block 532. Fsck? general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] CPU: 0 PID: 5609 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:prepare_for_delete_or_cut+0x171/0x2030 Code: d8 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df 42 0f b6 04 38 84 c0 0f 85 85 14 00 00 4c 63 33 49 83 c4 28 4c 89 e0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 e7 e8 90 0f c0 ff 4d 8b 3c 24 48 b8 00 RSP: 0018:ffffc90004787240 EFLAGS: 00010206 RAX: 0000000000000005 RBX: ffffc900047879e0 RCX: dffffc0000000000 RDX: 1ffff920008f0e60 RSI: ffff888074dc8830 RDI: ffffc90004787b60 RBP: ffffc900047873a8 R08: ffffc90004787860 R09: ffffc90004787850 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000028 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00005555565e0400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b6118a2950 CR3: 000000002ab06000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_cut_from_item+0x394/0x1fb0 reiserfs_do_truncate+0x85f/0x1260 reiserfs_truncate_file+0x2e4/0x610 reiserfs_file_release+0x460/0x6e0 __fput+0x33f/0x720 task_work_run+0x20a/0x290 exit_to_user_mode_loop+0xd1/0xf0 exit_to_user_mode_prepare+0xb1/0x140 syscall_exit_to_user_mode+0x54/0x270 do_syscall_64+0x4d/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fab5003df7b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffff81bd9f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007fab5003df7b RDX: 00007fab4fc01628 RSI: ffffffffffffffff RDI: 0000000000000004 RBP: 00007fab501ad980 R08: 0000000000000000 R09: 00007fab4fc00000 R10: 00007fab4fc01630 R11: 0000000000000293 R12: 0000000000010bbd R13: 00007ffff81bdaf0 R14: 00007fab501abf80 R15: 0000000000000032 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:prepare_for_delete_or_cut+0x171/0x2030 Code: d8 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df 42 0f b6 04 38 84 c0 0f 85 85 14 00 00 4c 63 33 49 83 c4 28 4c 89 e0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 e7 e8 90 0f c0 ff 4d 8b 3c 24 48 b8 00 RSP: 0018:ffffc90004787240 EFLAGS: 00010206 RAX: 0000000000000005 RBX: ffffc900047879e0 RCX: dffffc0000000000 RDX: 1ffff920008f0e60 RSI: ffff888074dc8830 RDI: ffffc90004787b60 RBP: ffffc900047873a8 R08: ffffc90004787860 R09: ffffc90004787850 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000028 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00005555565e0400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b6118a2950 CR3: 000000002ab06000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 c1 e8 03 shr $0x3,%rax 4: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 b: fc ff df e: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax 13: 84 c0 test %al,%al 15: 0f 85 85 14 00 00 jne 0x14a0 1b: 4c 63 33 movslq (%rbx),%r14 1e: 49 83 c4 28 add $0x28,%r12 22: 4c 89 e0 mov %r12,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 e7 mov %r12,%rdi 33: e8 90 0f c0 ff callq 0xffc00fc8 38: 4d 8b 3c 24 mov (%r12),%r15 3c: 48 rex.W 3d: b8 .byte 0xb8