Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 5852 Comm: syz-executor Not tainted 6.10.0-rc7-syzkaller-00141-g43db1e03c086 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:list_add_tail include/linux/list.h:183 [inline] RIP: 0010:list_lru_add+0x14b/0x400 mm/list_lru.c:97 Code: 00 49 83 c4 40 4c 89 64 24 08 e8 10 9f bd ff 49 8d 44 24 08 48 89 c2 48 89 44 24 18 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 31 02 00 00 4d 8b 7c 24 08 48 89 df 48 8b 54 24 RSP: 0018:ffffc900030afbb8 EFLAGS: 00010212 RAX: dffffc0000000000 RBX: ffff8880771c81b8 RCX: ffffc900030afa80 RDX: 0000000000000001 RSI: ffffffff81d18f10 RDI: ffff888064c14044 RBP: ffff8880608fc808 R08: 0000000000000000 R09: fffffbfff1fcab22 R10: ffffffff8fe55917 R11: 0000000000000003 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88801f5a3e00 R15: 0000000000000000 FS: 000055555cc86500(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8190ece2d8 CR3: 000000007c5fc000 CR4: 0000000000350ef0 Call Trace: __inode_add_lru.part.0+0x109/0x1d0 fs/inode.c:467 __inode_add_lru fs/inode.c:460 [inline] iput_final fs/inode.c:1718 [inline] iput.part.0+0x6f1/0x7f0 fs/inode.c:1767 iput+0x5c/0x80 fs/inode.c:1757 dentry_unlink_inode+0x29c/0x480 fs/dcache.c:404 __dentry_kill+0x1d0/0x600 fs/dcache.c:607 dput.part.0+0x4b1/0x9b0 fs/dcache.c:849 dput fs/dcache.c:839 [inline] do_one_tree fs/dcache.c:1545 [inline] shrink_dcache_for_umount+0x131/0x390 fs/dcache.c:1559 generic_shutdown_super+0x76/0x3d0 fs/super.c:620 bch2_kill_sb+0x3b/0x50 fs/bcachefs/fs.c:2052 deactivate_locked_super+0xc1/0x1a0 fs/super.c:473 deactivate_super+0xde/0x100 fs/super.c:506 cleanup_mnt+0x222/0x450 fs/namespace.c:1267 task_work_run+0x151/0x250 kernel/task_work.c:180 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:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x275/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0e19d76f07 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:00007fffa9e62ed8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f0e19d76f07 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffa9e62f90 RBP: 00007fffa9e62f90 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffa9e64050 R13: 00007f0e19de3515 R14: 000000000003806d R15: 000000000003806d Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:list_add_tail include/linux/list.h:183 [inline] RIP: 0010:list_lru_add+0x14b/0x400 mm/list_lru.c:97 Code: 00 49 83 c4 40 4c 89 64 24 08 e8 10 9f bd ff 49 8d 44 24 08 48 89 c2 48 89 44 24 18 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 31 02 00 00 4d 8b 7c 24 08 48 89 df 48 8b 54 24 RSP: 0018:ffffc900030afbb8 EFLAGS: 00010212 RAX: dffffc0000000000 RBX: ffff8880771c81b8 RCX: ffffc900030afa80 RDX: 0000000000000001 RSI: ffffffff81d18f10 RDI: ffff888064c14044 RBP: ffff8880608fc808 R08: 0000000000000000 R09: fffffbfff1fcab22 R10: ffffffff8fe55917 R11: 0000000000000003 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88801f5a3e00 R15: 0000000000000000 FS: 000055555cc86500(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8190ece2d8 CR3: 000000007c5fc000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 49 83 c4 40 add $0x40,%r12 4: 4c 89 64 24 08 mov %r12,0x8(%rsp) 9: e8 10 9f bd ff call 0xffbd9f1e e: 49 8d 44 24 08 lea 0x8(%r12),%rax 13: 48 89 c2 mov %rax,%rdx 16: 48 89 44 24 18 mov %rax,0x18(%rsp) 1b: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 22: fc ff df 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2d: 0f 85 31 02 00 00 jne 0x264 33: 4d 8b 7c 24 08 mov 0x8(%r12),%r15 38: 48 89 df mov %rbx,%rdi 3b: 48 rex.W 3c: 8b .byte 0x8b 3d: 54 push %rsp 3e: 24 .byte 0x24