Oops: general protection fault, probably for non-canonical address 0xf02e4277001ffff4: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: maybe wild-memory-access in range [0x817233b800ffffa0-0x817233b800ffffa7] CPU: 0 UID: 0 PID: 5616 Comm: syz.1.83 Not tainted 6.11.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__lock_acquire+0x69/0x2040 kernel/locking/lockdep.c:5007 Code: b6 04 30 84 c0 0f 85 87 16 00 00 45 31 f6 83 3d 38 3d 4b 07 00 0f 84 ac 13 00 00 89 54 24 54 89 5c 24 68 4c 89 f8 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 ff e8 b9 05 72 00 48 be 00 00 00 00 00 fc RSP: 0018:ffffc900012a6f70 EFLAGS: 00010802 RAX: 102e4677001ffff4 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 817233b800ffffa0 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff110e8f6 R12: ffff88810b741d00 R13: 0000000000000001 R14: 0000000000000000 R15: 817233b800ffffa0 FS: 00007f2267d856c0(0000) GS:ffff8881f5c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555648ca5c8 CR3: 000000017257c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xd3/0x120 kernel/locking/spinlock.c:170 put_pwq_unlocked+0x3b/0x130 kernel/workqueue.c:1664 destroy_workqueue+0x85c/0x9e0 kernel/workqueue.c:5834 __bch2_fs_free fs/bcachefs/super.c:589 [inline] bch2_fs_release+0x58a/0x6d0 fs/bcachefs/super.c:608 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1ce/0x3a0 lib/kobject.c:737 bch2_fs_alloc+0x1048/0x1ec0 fs/bcachefs/super.c:959 bch2_fs_open+0x61e/0xbf0 fs/bcachefs/super.c:2115 bch2_fs_get_tree+0x6ad/0x1490 fs/bcachefs/fs.c:1933 vfs_get_tree+0x82/0x250 fs/super.c:1800 do_new_mount+0x21e/0x9b0 fs/namespace.c:3472 do_mount fs/namespace.c:3812 [inline] __do_sys_mount fs/namespace.c:4020 [inline] __se_sys_mount+0x22f/0x2c0 fs/namespace.c:3997 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2266f874ca Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2267d84e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f2267d84ef0 RCX: 00007f2266f874ca RDX: 0000000020000380 RSI: 0000000020000340 RDI: 00007f2267d84eb0 RBP: 0000000020000380 R08: 00007f2267d84ef0 R09: 0000000000800000 R10: 0000000000800000 R11: 0000000000000246 R12: 0000000020000340 R13: 00007f2267d84eb0 R14: 0000000000005919 R15: 00000000200001c0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0x69/0x2040 kernel/locking/lockdep.c:5007 Code: b6 04 30 84 c0 0f 85 87 16 00 00 45 31 f6 83 3d 38 3d 4b 07 00 0f 84 ac 13 00 00 89 54 24 54 89 5c 24 68 4c 89 f8 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 ff e8 b9 05 72 00 48 be 00 00 00 00 00 fc RSP: 0018:ffffc900012a6f70 EFLAGS: 00010802 RAX: 102e4677001ffff4 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 817233b800ffffa0 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff110e8f6 R12: ffff88810b741d00 R13: 0000000000000001 R14: 0000000000000000 R15: 817233b800ffffa0 FS: 00007f2267d856c0(0000) GS:ffff8881f5c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555648ca5c8 CR3: 000000017257c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: b6 04 mov $0x4,%dh 2: 30 84 c0 0f 85 87 16 xor %al,0x1687850f(%rax,%rax,8) 9: 00 00 add %al,(%rax) b: 45 31 f6 xor %r14d,%r14d e: 83 3d 38 3d 4b 07 00 cmpl $0x0,0x74b3d38(%rip) # 0x74b3d4d 15: 0f 84 ac 13 00 00 je 0x13c7 1b: 89 54 24 54 mov %edx,0x54(%rsp) 1f: 89 5c 24 68 mov %ebx,0x68(%rsp) 23: 4c 89 f8 mov %r15,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 30 00 cmpb $0x0,(%rax,%rsi,1) <-- trapping instruction 2e: 74 12 je 0x42 30: 4c 89 ff mov %r15,%rdi 33: e8 b9 05 72 00 call 0x7205f1 38: 48 rex.W 39: be 00 00 00 00 mov $0x0,%esi 3e: 00 fc add %bh,%ah