REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. overlayfs: upper fs needs to support d_type. overlayfs: upper fs does not support tmpfile. BUG: spinlock bad magic on CPU#0, syz-executor.0/6406 lock: copy_mc_fragile_key+0x1f7/0x1ff2c0, .magic: 00000000, .owner: /-1, .owner_cpu: 0 CPU: 0 PID: 6406 Comm: syz-executor.0 Not tainted 6.2.0-rc5-next-20230123-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 debug_spin_lock_before kernel/locking/spinlock_debug.c:85 [inline] do_raw_spin_lock+0x219/0x2b0 kernel/locking/spinlock_debug.c:114 spin_lock include/linux/spinlock.h:350 [inline] take_dentry_name_snapshot+0x2b/0x170 fs/dcache.c:315 ovl_check_rename_whiteout fs/overlayfs/super.c:1207 [inline] ovl_make_workdir fs/overlayfs/super.c:1329 [inline] ovl_get_workdir fs/overlayfs/super.c:1444 [inline] ovl_fill_super+0x1e29/0x6470 fs/overlayfs/super.c:2000 mount_nodev+0x64/0x120 fs/super.c:1405 legacy_get_tree+0x109/0x220 fs/fs_context.c:610 vfs_get_tree+0x8d/0x2f0 fs/super.c:1489 do_new_mount fs/namespace.c:3031 [inline] path_mount+0x132a/0x1e20 fs/namespace.c:3361 do_mount fs/namespace.c:3374 [inline] __do_sys_mount fs/namespace.c:3583 [inline] __se_sys_mount fs/namespace.c:3560 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3560 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f85f728c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f85f7f3f168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f85f73abf80 RCX: 00007f85f728c0c9 RDX: 0000000020000080 RSI: 00000000200000c0 RDI: 0000000000000000 RBP: 00007f85f72e7ae9 R08: 0000000020000480 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffd2f9122f R14: 00007f85f7f3f300 R15: 0000000000022000 BUG: unable to handle page fault for address: fffffffffffffff0 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD c572067 P4D c572067 PUD c574067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 0 PID: 6406 Comm: syz-executor.0 Not tainted 6.2.0-rc5-next-20230123-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:arch_atomic_inc arch/x86/include/asm/atomic.h:95 [inline] RIP: 0010:atomic_inc include/linux/atomic/atomic-instrumented.h:191 [inline] RIP: 0010:take_dentry_name_snapshot+0x134/0x170 fs/dcache.c:318 Code: e8 71 5c 9d ff 4c 89 ef 5b 41 5c 41 5d 41 5e 41 5f 5d e9 af 99 23 08 e8 5a 5c 9d ff 49 8d 7f f0 be 04 00 00 00 e8 3c 36 eb ff 41 ff 47 f0 eb cf e8 10 32 eb ff eb 91 e8 49 32 eb ff e9 1b ff RSP: 0018:ffffc90007047a58 EFLAGS: 00010246 RAX: 0000000000000001 RBX: ffffffff92000ea7 RCX: ffffffff81e491e4 RDX: fffffbffffffffff RSI: 0000000000000004 RDI: fffffffffffffff0 RBP: ffffc90007047a80 R08: 0000000000000001 R09: fffffffffffffff3 R10: fffffbfffffffffe R11: 3e4b5341542f3c20 R12: ffffc90007047c80 R13: ffffffff92000f37 R14: ffffffff92000f17 R15: 0000000000000000 FS: 00007f85f7f3f700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffff0 CR3: 000000006da7d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ovl_check_rename_whiteout fs/overlayfs/super.c:1207 [inline] ovl_make_workdir fs/overlayfs/super.c:1329 [inline] ovl_get_workdir fs/overlayfs/super.c:1444 [inline] ovl_fill_super+0x1e29/0x6470 fs/overlayfs/super.c:2000 mount_nodev+0x64/0x120 fs/super.c:1405 legacy_get_tree+0x109/0x220 fs/fs_context.c:610 vfs_get_tree+0x8d/0x2f0 fs/super.c:1489 do_new_mount fs/namespace.c:3031 [inline] path_mount+0x132a/0x1e20 fs/namespace.c:3361 do_mount fs/namespace.c:3374 [inline] __do_sys_mount fs/namespace.c:3583 [inline] __se_sys_mount fs/namespace.c:3560 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3560 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f85f728c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f85f7f3f168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f85f73abf80 RCX: 00007f85f728c0c9 RDX: 0000000020000080 RSI: 00000000200000c0 RDI: 0000000000000000 RBP: 00007f85f72e7ae9 R08: 0000000020000480 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffd2f9122f R14: 00007f85f7f3f300 R15: 0000000000022000 Modules linked in: CR2: fffffffffffffff0 ---[ end trace 0000000000000000 ]--- RIP: 0010:arch_atomic_inc arch/x86/include/asm/atomic.h:95 [inline] RIP: 0010:atomic_inc include/linux/atomic/atomic-instrumented.h:191 [inline] RIP: 0010:take_dentry_name_snapshot+0x134/0x170 fs/dcache.c:318 Code: e8 71 5c 9d ff 4c 89 ef 5b 41 5c 41 5d 41 5e 41 5f 5d e9 af 99 23 08 e8 5a 5c 9d ff 49 8d 7f f0 be 04 00 00 00 e8 3c 36 eb ff 41 ff 47 f0 eb cf e8 10 32 eb ff eb 91 e8 49 32 eb ff e9 1b ff RSP: 0018:ffffc90007047a58 EFLAGS: 00010246 RAX: 0000000000000001 RBX: ffffffff92000ea7 RCX: ffffffff81e491e4 RDX: fffffbffffffffff RSI: 0000000000000004 RDI: fffffffffffffff0 RBP: ffffc90007047a80 R08: 0000000000000001 R09: fffffffffffffff3 R10: fffffbfffffffffe R11: 3e4b5341542f3c20 R12: ffffc90007047c80 R13: ffffffff92000f37 R14: ffffffff92000f17 R15: 0000000000000000 FS: 00007f85f7f3f700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffff0 CR3: 000000006da7d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 71 5c 9d ff callq 0xff9d5c76 5: 4c 89 ef mov %r13,%rdi 8: 5b pop %rbx 9: 41 5c pop %r12 b: 41 5d pop %r13 d: 41 5e pop %r14 f: 41 5f pop %r15 11: 5d pop %rbp 12: e9 af 99 23 08 jmpq 0x82399c6 17: e8 5a 5c 9d ff callq 0xff9d5c76 1c: 49 8d 7f f0 lea -0x10(%r15),%rdi 20: be 04 00 00 00 mov $0x4,%esi 25: e8 3c 36 eb ff callq 0xffeb3666 * 2a: f0 41 ff 47 f0 lock incl -0x10(%r15) <-- trapping instruction 2f: eb cf jmp 0x0 31: e8 10 32 eb ff callq 0xffeb3246 36: eb 91 jmp 0xffffffc9 38: e8 49 32 eb ff callq 0xffeb3286 3d: e9 .byte 0xe9 3e: 1b ff sbb %edi,%edi