BUG: kernel NULL pointer dereference, address: 0000000000000008 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 800000010571e067 P4D 800000010571e067 PUD 0 Oops: Oops: 0000 [#1] PREEMPT SMP PTI CPU: 1 PID: 2847 Comm: syz-executor Not tainted 6.10.0-rc4-syzkaller #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+0xa5/0x130 mm/list_lru.c:97 Code: 8d 7f 20 e8 7d 0d 67 01 48 89 da 48 85 c0 48 8b 4c 24 10 48 8d 0c 49 48 8d 6c c8 10 48 0f 44 e8 eb 08 49 8b 07 4a 8d 6c 20 40 <4c> 8b 7d 08 48 89 d3 48 89 d7 4c 89 fe 48 89 ea e8 a6 fa 7c 00 48 RSP: 0018:ffffc900027efd60 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881778a01b8 RCX: 0000000000000000 RDX: ffff8881778a01b8 RSI: ffffffff8357d113 RDI: ffff888103310000 RBP: 0000000000000000 R08: 00000003fffffffc R09: 0000000000000402 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88810236dc80 R14: 0000000000000000 R15: ffff8881037eb7e0 FS: 000055557cc02500(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000008 CR3: 0000000104f02000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __inode_add_lru fs/inode.c:467 [inline] iput_final fs/inode.c:1718 [inline] iput+0x22b/0x260 fs/inode.c:1767 __dentry_kill+0xa2/0x1d0 fs/dcache.c:603 dput+0x75/0xe0 fs/dcache.c:845 shrink_dcache_for_umount+0x24/0x70 fs/dcache.c:1555 generic_shutdown_super+0x1d/0x110 fs/super.c:620 bch2_kill_sb+0x11/0x20 fs/bcachefs/fs.c:2050 deactivate_locked_super+0x33/0x150 fs/super.c:473 cleanup_mnt+0xdc/0x120 fs/namespace.c:1267 task_work_run+0x82/0xb0 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+0xb5/0x1c0 kernel/entry/common.c:218 do_syscall_64+0x9a/0x1a0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f14bc976f07 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:00007ffdf0de9038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f14bc976f07 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffdf0de90f0 RBP: 00007ffdf0de90f0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffdf0dea1b0 R13: 00007f14bc9e3515 R14: 000000000000e699 R15: 000000000000e699 Modules linked in: CR2: 0000000000000008 ---[ end trace 0000000000000000 ]--- RIP: 0010:list_add_tail include/linux/list.h:183 [inline] RIP: 0010:list_lru_add+0xa5/0x130 mm/list_lru.c:97 Code: 8d 7f 20 e8 7d 0d 67 01 48 89 da 48 85 c0 48 8b 4c 24 10 48 8d 0c 49 48 8d 6c c8 10 48 0f 44 e8 eb 08 49 8b 07 4a 8d 6c 20 40 <4c> 8b 7d 08 48 89 d3 48 89 d7 4c 89 fe 48 89 ea e8 a6 fa 7c 00 48 RSP: 0018:ffffc900027efd60 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8881778a01b8 RCX: 0000000000000000 RDX: ffff8881778a01b8 RSI: ffffffff8357d113 RDI: ffff888103310000 RBP: 0000000000000000 R08: 00000003fffffffc R09: 0000000000000402 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88810236dc80 R14: 0000000000000000 R15: ffff8881037eb7e0 FS: 000055557cc02500(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000008 CR3: 0000000104f02000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 8d 7f 20 lea 0x20(%rdi),%edi 3: e8 7d 0d 67 01 call 0x1670d85 8: 48 89 da mov %rbx,%rdx b: 48 85 c0 test %rax,%rax e: 48 8b 4c 24 10 mov 0x10(%rsp),%rcx 13: 48 8d 0c 49 lea (%rcx,%rcx,2),%rcx 17: 48 8d 6c c8 10 lea 0x10(%rax,%rcx,8),%rbp 1c: 48 0f 44 e8 cmove %rax,%rbp 20: eb 08 jmp 0x2a 22: 49 8b 07 mov (%r15),%rax 25: 4a 8d 6c 20 40 lea 0x40(%rax,%r12,1),%rbp * 2a: 4c 8b 7d 08 mov 0x8(%rbp),%r15 <-- trapping instruction 2e: 48 89 d3 mov %rdx,%rbx 31: 48 89 d7 mov %rdx,%rdi 34: 4c 89 fe mov %r15,%rsi 37: 48 89 ea mov %rbp,%rdx 3a: e8 a6 fa 7c 00 call 0x7cfae5 3f: 48 rex.W