BUG: stack guard page was hit at ffffc900063cfff8 (stack is ffffc900063d0000..ffffc900063d7fff) kernel stack overflow (double-fault): 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 3373 Comm: syz-executor.3 Not tainted 5.10.112-syzkaller-00287-gde64d941a71a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kasan_check_range+0x4/0x2e0 mm/kasan/generic.c:185 Code: 01 c6 48 89 c7 e8 dc 55 ea 02 31 c0 5d c3 0f 0b eb 02 0f 0b b8 ea ff ff ff 5d c3 cc cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 <41> 57 41 56 41 54 53 b0 01 48 85 f6 0f 84 e8 01 00 00 48 89 fb 48 RSP: 0018:ffffc900063d0000 EFLAGS: 00010246 RAX: ffff88810e464f00 RBX: ffffc900063d00c0 RCX: ffffffff81333b04 RDX: 0000000000000001 RSI: 0000000000000060 RDI: ffffc900063d00c0 RBP: ffffc900063d0000 R08: dffffc0000000000 R09: ffffc900063d0250 R10: 0000000000000002 R11: 0000000000000000 R12: ffff88810e464f00 R13: ffffc900063d00c0 R14: 0000000000000000 R15: 0000000000000060 FS: 00007f735488d700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc900063cfff8 CR3: 000000011524b000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: memset+0x23/0x40 mm/kasan/shadow.c:44 __unwind_start+0x34/0x420 arch/x86/kernel/unwind_frame.c:368 unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0xdc/0x140 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x12d/0x1f0 kernel/stacktrace.c:121 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:428 [inline] __kasan_slab_alloc+0xb2/0xe0 mm/kasan/common.c:461 kasan_slab_alloc include/linux/kasan.h:259 [inline] slab_post_alloc_hook mm/slab.h:583 [inline] slab_alloc_node mm/slub.c:2956 [inline] slab_alloc mm/slub.c:2964 [inline] kmem_cache_alloc+0x16c/0x300 mm/slub.c:2969 __d_alloc+0x2d/0x6b0 fs/dcache.c:1709 d_alloc fs/dcache.c:1788 [inline] d_alloc_parallel+0xe6/0x1330 fs/dcache.c:2540 __lookup_slow+0x14e/0x400 fs/namei.c:1613 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_slow+0x2b3/0x400 fs/namei.c:1628 lookup_one_len+0x43d/0x6a0 fs/namei.c:2642 incfs_lookup_dentry+0x5f/0xb0 fs/incfs/data_mgmt.c:211 dir_lookup+0x3b8/0x6e0 fs/incfs/vfs.c:967 __lookup_hash+0x141/0x290 fs/namei.c:1529 filename_create+0x207/0x770 fs/namei.c:3543 user_path_create fs/namei.c:3600 [inline] do_mkdirat+0xcf/0x2d0 fs/namei.c:3740 __do_sys_mkdir fs/namei.c:3764 [inline] __se_sys_mkdir fs/namei.c:3762 [inline] __x64_sys_mkdir+0x60/0x70 fs/namei.c:3762 do_syscall_64+0x34/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f735577a0e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007f735488d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f735588d1d0 RCX: 00007f735577a0e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f73557d408d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffd3278b2f R14: 00007f735488d300 R15: 0000000000022000 Modules linked in: ---[ end trace f1e2a3e1a1937128 ]--- RIP: 0010:kasan_check_range+0x4/0x2e0 mm/kasan/generic.c:185 Code: 01 c6 48 89 c7 e8 dc 55 ea 02 31 c0 5d c3 0f 0b eb 02 0f 0b b8 ea ff ff ff 5d c3 cc cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 <41> 57 41 56 41 54 53 b0 01 48 85 f6 0f 84 e8 01 00 00 48 89 fb 48 RSP: 0018:ffffc900063d0000 EFLAGS: 00010246 RAX: ffff88810e464f00 RBX: ffffc900063d00c0 RCX: ffffffff81333b04 RDX: 0000000000000001 RSI: 0000000000000060 RDI: ffffc900063d00c0 RBP: ffffc900063d0000 R08: dffffc0000000000 R09: ffffc900063d0250 R10: 0000000000000002 R11: 0000000000000000 R12: ffff88810e464f00 R13: ffffc900063d00c0 R14: 0000000000000000 R15: 0000000000000060 FS: 00007f735488d700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc900063cfff8 CR3: 000000011524b000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 01 c6 add %eax,%esi 2: 48 89 c7 mov %rax,%rdi 5: e8 dc 55 ea 02 callq 0x2ea55e6 a: 31 c0 xor %eax,%eax c: 5d pop %rbp d: c3 retq e: 0f 0b ud2 10: eb 02 jmp 0x14 12: 0f 0b ud2 14: b8 ea ff ff ff mov $0xffffffea,%eax 19: 5d pop %rbp 1a: c3 retq 1b: cc int3 1c: cc int3 1d: cc int3 1e: cc int3 1f: cc int3 20: cc int3 21: cc int3 22: cc int3 23: cc int3 24: cc int3 25: cc int3 26: 55 push %rbp 27: 48 89 e5 mov %rsp,%rbp * 2a: 41 57 push %r15 <-- trapping instruction 2c: 41 56 push %r14 2e: 41 54 push %r12 30: 53 push %rbx 31: b0 01 mov $0x1,%al 33: 48 85 f6 test %rsi,%rsi 36: 0f 84 e8 01 00 00 je 0x224 3c: 48 89 fb mov %rdi,%rbx 3f: 48 rex.W