bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 33 bcachefs (loop0): clean shutdown complete, journal seq 34 bcachefs (loop0): marking filesystem clean bcachefs (loop0): shutdown complete Oops: general protection fault, probably for non-canonical address 0xf312c5c62356adc5: 0000 [#1] SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0x98964e311ab56e28-0x98964e311ab56e2f] CPU: 0 UID: 0 PID: 5604 Comm: syz-executor Not tainted 6.15.0-rc1-syzkaller-00325-g7cdabafc0012 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:qlist_move_cache+0x6a/0x140 mm/kasan/quarantine.c:302 Code: 00 00 00 00 48 8d 47 08 48 89 44 24 18 48 8d 47 10 48 89 44 24 10 48 8d 46 08 48 89 44 24 08 48 8d 46 10 48 89 04 24 4c 89 eb <4d> 8b 6d 00 48 89 df e8 8a f3 41 ff 48 c1 e8 06 48 83 e0 c0 48 8b RSP: 0018:ffffc900025f7b88 EFLAGS: 00010086 RAX: 0000000000000550 RBX: f312c5c62356adc5 RCX: ffffffff9a7a7668 RDX: ffffffff9a7a7670 RSI: ffff888012196000 RDI: 0000000000000000 RBP: ffffea0000000000 R08: ffffffff816f977c R09: fffff520004bef58 R10: dffffc0000000000 R11: fffff520004bef58 R12: ffffffff9a7a7660 R13: f312c5c62356adc5 R14: ffffc900025f7be0 R15: ffff888049d53640 FS: 00005555691ec500(0000) GS:ffff88808c593000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c009a54000 CR3: 000000005416e000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kasan_quarantine_remove_cache+0x10b/0x180 mm/kasan/quarantine.c:370 kmem_cache_destroy+0x6e/0x160 mm/slab_common.c:521 bio_put_slab block/bio.c:155 [inline] bioset_exit+0x54c/0x650 block/bio.c:1664 bch2_fs_fs_io_direct_exit+0x19/0x30 fs/bcachefs/fs-io-direct.c:684 __bch2_fs_free fs/bcachefs/super.c:561 [inline] bch2_fs_release+0x1c3/0x7d0 fs/bcachefs/super.c:627 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x22f/0x480 lib/kobject.c:737 deactivate_locked_super+0xc4/0x130 fs/super.c:473 cleanup_mnt+0x422/0x4c0 fs/namespace.c:1435 task_work_run+0x251/0x310 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f155818e497 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffe7bc4ab88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f155820e08c RCX: 00007f155818e497 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe7bc4ac40 RBP: 00007ffe7bc4ac40 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe7bc4bcd0 R13: 00007f155820e08c R14: 0000000000021e19 R15: 00007ffe7bc4bd10 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:qlist_move_cache+0x6a/0x140 mm/kasan/quarantine.c:302 Code: 00 00 00 00 48 8d 47 08 48 89 44 24 18 48 8d 47 10 48 89 44 24 10 48 8d 46 08 48 89 44 24 08 48 8d 46 10 48 89 04 24 4c 89 eb <4d> 8b 6d 00 48 89 df e8 8a f3 41 ff 48 c1 e8 06 48 83 e0 c0 48 8b RSP: 0018:ffffc900025f7b88 EFLAGS: 00010086 RAX: 0000000000000550 RBX: f312c5c62356adc5 RCX: ffffffff9a7a7668 RDX: ffffffff9a7a7670 RSI: ffff888012196000 RDI: 0000000000000000 RBP: ffffea0000000000 R08: ffffffff816f977c R09: fffff520004bef58 R10: dffffc0000000000 R11: fffff520004bef58 R12: ffffffff9a7a7660 R13: f312c5c62356adc5 R14: ffffc900025f7be0 R15: ffff888049d53640 FS: 00005555691ec500(0000) GS:ffff88808c593000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c009a54000 CR3: 000000005416e000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 48 8d 47 08 lea 0x8(%rdi),%rax 8: 48 89 44 24 18 mov %rax,0x18(%rsp) d: 48 8d 47 10 lea 0x10(%rdi),%rax 11: 48 89 44 24 10 mov %rax,0x10(%rsp) 16: 48 8d 46 08 lea 0x8(%rsi),%rax 1a: 48 89 44 24 08 mov %rax,0x8(%rsp) 1f: 48 8d 46 10 lea 0x10(%rsi),%rax 23: 48 89 04 24 mov %rax,(%rsp) 27: 4c 89 eb mov %r13,%rbx * 2a: 4d 8b 6d 00 mov 0x0(%r13),%r13 <-- trapping instruction 2e: 48 89 df mov %rbx,%rdi 31: e8 8a f3 41 ff call 0xff41f3c0 36: 48 c1 e8 06 shr $0x6,%rax 3a: 48 83 e0 c0 and $0xffffffffffffffc0,%rax 3e: 48 rex.W 3f: 8b .byte 0x8b