R13: 0000000020000100 R14: 00007f120e657fe0 R15: 0000000020010880 ---[ end trace 0000000000000000 ]--- general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 461 Comm: syz-executor.2 Tainted: G W 5.17.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__list_add_valid+0x49/0xd0 lib/list_debug.c:26 Code: df 48 8d 5a 08 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 f6 d7 57 ff 48 8b 13 4c 39 e2 75 5a 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 d8 d7 57 ff 49 8b 14 24 4c 39 f2 RSP: 0018:ffffc90000f478e0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff888124213538 RCX: ffff888124213530 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90000f479e8 RBP: ffffc90000f47908 R08: dffffc0000000000 R09: 0000000000000003 R10: fffff520001e8f1d R11: 1ffff920001e8f1c R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888124213530 R15: ffffc90000f479e8 FS: 00007f120e658700(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f753d49b000 CR3: 00000001241d2000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_add include/linux/list.h:69 [inline] list_add_tail include/linux/list.h:102 [inline] __prepare_to_swait+0xad/0x140 kernel/sched/swait.c:89 do_wait_for_common kernel/sched/completion.c:82 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common+0x257/0x430 kernel/sched/completion.c:117 wait_for_completion+0x18/0x20 kernel/sched/completion.c:138 erofs_unregister_sysfs+0x5e/0x70 fs/erofs/sysfs.c:226 erofs_put_super+0x46/0xa0 fs/erofs/super.c:771 generic_shutdown_super+0x147/0x330 fs/super.c:462 kill_block_super+0x80/0xe0 fs/super.c:1394 erofs_kill_sb+0x66/0x130 fs/erofs/super.c:752 deactivate_locked_super+0xa8/0x100 fs/super.c:332 get_tree_bdev+0x434/0x630 fs/super.c:1294 erofs_fc_get_tree+0x1c/0x20 fs/erofs/super.c:664 vfs_get_tree+0x88/0x290 fs/super.c:1497 do_new_mount+0x289/0xac0 fs/namespace.c:3024 path_mount+0x60c/0x1060 fs/namespace.c:3354 do_mount fs/namespace.c:3367 [inline] __do_sys_mount fs/namespace.c:3575 [inline] __se_sys_mount+0x2d2/0x3c0 fs/namespace.c:3552 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3552 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f120e6e4ada Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 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:00007f120e657f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f120e6e4ada RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f120e657fe0 RBP: 00007f120e658020 R08: 00007f120e658020 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f120e657fe0 R15: 0000000020010880 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_add_valid+0x49/0xd0 lib/list_debug.c:26 Code: df 48 8d 5a 08 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 f6 d7 57 ff 48 8b 13 4c 39 e2 75 5a 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 d8 d7 57 ff 49 8b 14 24 4c 39 f2 RSP: 0018:ffffc90000f478e0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff888124213538 RCX: ffff888124213530 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90000f479e8 RBP: ffffc90000f47908 R08: dffffc0000000000 R09: 0000000000000003 R10: fffff520001e8f1d R11: 1ffff920001e8f1c R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888124213530 R15: ffffc90000f479e8 FS: 00007f120e658700(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f753d49b000 CR3: 00000001241d2000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: df 48 8d fisttps -0x73(%rax) 3: 5a pop %rdx 4: 08 48 89 or %cl,-0x77(%rax) 7: d8 48 c1 fmuls -0x3f(%rax) a: e8 03 42 80 3c callq 0x3c804212 f: 28 00 sub %al,(%rax) 11: 74 08 je 0x1b 13: 48 89 df mov %rbx,%rdi 16: e8 f6 d7 57 ff callq 0xff57d811 1b: 48 8b 13 mov (%rbx),%rdx 1e: 4c 39 e2 cmp %r12,%rdx 21: 75 5a jne 0x7d 23: 4c 89 e0 mov %r12,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 e7 mov %r12,%rdi 34: e8 d8 d7 57 ff callq 0xff57d811 39: 49 8b 14 24 mov (%r12),%rdx 3d: 4c 39 f2 cmp %r14,%rdx