general protection fault, probably for non-canonical address 0xdffffc0000000023: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000118-0x000000000000011f] CPU: 0 PID: 4745 Comm: syz-executor.2 Not tainted 5.18.0-rc4-next-20220429-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:workqueue_sysfs_unregister kernel/workqueue.c:5796 [inline] RIP: 0010:destroy_workqueue+0x2e/0x800 kernel/workqueue.c:4430 Code: 49 89 fe 41 55 41 54 55 53 48 83 ec 08 e8 2a 02 2c 00 49 8d be 18 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 37 07 00 00 49 8b 9e 18 01 00 00 48 85 db 74 19 RSP: 0018:ffffc90005527818 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888022670000 RCX: ffffc900068fa000 RDX: 0000000000000023 RSI: ffffffff814e38c6 RDI: 0000000000000118 RBP: ffff888022670000 R08: 0000000000000000 R09: ffffffff900779a7 R10: 0000000000000001 R11: 0000000000000001 R12: 00000000fffffff4 R13: 0000000000001000 R14: 0000000000000000 R15: ffff88801ecf2000 FS: 00007fbd7ea97700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f680e76c058 CR3: 000000001a532000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_stop_all_workers+0x14c/0x2fe fs/btrfs/disk-io.c:2278 open_ctree+0x481f/0x493b fs/btrfs/disk-io.c:3945 btrfs_fill_super fs/btrfs/super.c:1430 [inline] btrfs_mount_root.cold+0x15/0x162 fs/btrfs/super.c:1796 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1497 fc_mount fs/namespace.c:1043 [inline] vfs_kern_mount.part.0+0xd3/0x170 fs/namespace.c:1073 vfs_kern_mount+0x3c/0x60 fs/namespace.c:1060 btrfs_mount+0x234/0xa60 fs/btrfs/super.c:1856 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1497 do_new_mount fs/namespace.c:3040 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fbd7d88a61a 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:00007fbd7ea96f88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fbd7d88a61a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fbd7ea96fe0 RBP: 00007fbd7ea97020 R08: 00007fbd7ea97020 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007fbd7ea96fe0 R15: 0000000020016b00 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:workqueue_sysfs_unregister kernel/workqueue.c:5796 [inline] RIP: 0010:destroy_workqueue+0x2e/0x800 kernel/workqueue.c:4430 Code: 49 89 fe 41 55 41 54 55 53 48 83 ec 08 e8 2a 02 2c 00 49 8d be 18 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 37 07 00 00 49 8b 9e 18 01 00 00 48 85 db 74 19 RSP: 0018:ffffc90005527818 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888022670000 RCX: ffffc900068fa000 RDX: 0000000000000023 RSI: ffffffff814e38c6 RDI: 0000000000000118 RBP: ffff888022670000 R08: 0000000000000000 R09: ffffffff900779a7 R10: 0000000000000001 R11: 0000000000000001 R12: 00000000fffffff4 R13: 0000000000001000 R14: 0000000000000000 R15: ffff88801ecf2000 FS: 00007fbd7ea97700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f680e76c058 CR3: 000000001a532000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 49 89 fe mov %rdi,%r14 3: 41 55 push %r13 5: 41 54 push %r12 7: 55 push %rbp 8: 53 push %rbx 9: 48 83 ec 08 sub $0x8,%rsp d: e8 2a 02 2c 00 callq 0x2c023c 12: 49 8d be 18 01 00 00 lea 0x118(%r14),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 37 07 00 00 jne 0x76b 34: 49 8b 9e 18 01 00 00 mov 0x118(%r14),%rbx 3b: 48 85 db test %rbx,%rbx 3e: 74 19 je 0x59