ci2 starts bisection 2023-03-08 11:24:11.425288947 +0000 UTC m=+29896.393963096 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: b53d2ff05d95fcee4ed3fe1484c214136e0b187fd458f236f38b507dcda9496c all runs: crashed: general protection fault in prepare_for_delete_or_cut testing current HEAD 63355b9884b3d1677de6bd1517cd2b8a9bf53978 testing commit 63355b9884b3d1677de6bd1517cd2b8a9bf53978 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 86979ad900f138fcfc8967c40716df7faaeca17eb74219c221c19b13a8e58fdc all runs: crashed: general protection fault in prepare_for_delete_or_cut revisions tested: 2, total time: 46m57.264693043s (build: 35m30.301264951s, test: 6m18.086335322s) the crash still happens on HEAD commit msg: cpumask: be more careful with 'cpumask_setall()' 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: 5624 Comm: syz-executor.0 Not tainted 6.3.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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 00 a4 bf ff 4d 8b 3c 24 48 b8 00 RSP: 0018:ffffc90004e07240 EFLAGS: 00010206 RAX: 0000000000000005 RBX: ffffc90004e079e0 RCX: dffffc0000000000 RDX: 1ffff920009c0e60 RSI: ffff888071cb8ed0 RDI: ffffc90004e07b60 RBP: ffffc90004e073a8 R08: ffffc90004e07860 R09: ffffc90004e07850 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000028 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000555556ba0400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcae300fe0 CR3: 0000000075910000 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/0x2d0 do_syscall_64+0x4d/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9f5f43df7b 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:00007ffe802abaf0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f9f5f43df7b RDX: 00007f9f5f001628 RSI: ffffffffffffffff RDI: 0000000000000004 RBP: 00007f9f5f5ad980 R08: 0000000000000000 R09: 00007f9f5f000000 R10: 00007f9f5f001630 R11: 0000000000000293 R12: 0000000000011a3e R13: 00007ffe802abbf0 R14: 00007f9f5f5abf80 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 00 a4 bf ff 4d 8b 3c 24 48 b8 00 RSP: 0018:ffffc90004e07240 EFLAGS: 00010206 RAX: 0000000000000005 RBX: ffffc90004e079e0 RCX: dffffc0000000000 RDX: 1ffff920009c0e60 RSI: ffff888071cb8ed0 RDI: ffffc90004e07b60 RBP: ffffc90004e073a8 R08: ffffc90004e07860 R09: ffffc90004e07850 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000028 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000555556ba0400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcae300fe0 CR3: 0000000075910000 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 00 a4 bf ff callq 0xffbfa438 38: 4d 8b 3c 24 mov (%r12),%r15 3c: 48 rex.W 3d: b8 .byte 0xb8