BUG: stack guard page was hit at ffffc900073a7ff8 (stack is ffffc900073a8000..ffffc900073affff) kernel stack overflow (double-fault): 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5720 Comm: syz-executor.4 Not tainted 5.10.108-syzkaller-00653-gab2d1d40a128 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kasan_check_range+0x4/0x2f0 mm/kasan/generic.c:185 Code: 01 c6 48 89 c7 e8 5c 64 ef 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 55 41 54 53 b0 01 48 85 f6 0f 84 09 02 00 00 48 89 RSP: 0018:ffffc900073a8000 EFLAGS: 00010246 RAX: 1ffff11029f03e04 RBX: dffffc0000000000 RCX: ffffffff824becea RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc900073a8060 RBP: ffffc900073a8000 R08: ffffffff81b4a2f5 R09: ffffed1029f03ed8 R10: ffffed1029f03ed8 R11: 0000000000000000 R12: ffff88814f81f6b8 R13: 0000000300000000 R14: 1ffff92000e7500c R15: 1ffff92000e75008 FS: 00007f6d87e35700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc900073a7ff8 CR3: 000000011936b000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __kasan_check_read+0x11/0x20 mm/kasan/shadow.c:31 instrument_atomic_read include/linux/instrumented.h:71 [inline] atomic_read include/asm-generic/atomic-instrumented.h:27 [inline] queued_spin_value_unlocked include/asm-generic/qspinlock.h:44 [inline] lockref_put_or_lock+0xaa/0x340 lib/lockref.c:166 fast_dput fs/dcache.c:747 [inline] dput+0x1de/0x600 fs/dcache.c:865 path_put+0x39/0x60 fs/namei.c:499 dentry_revalidate+0x2c4/0x350 fs/incfs/vfs.c:1531 dentry_revalidate+0x2b5/0x350 fs/incfs/vfs.c:1525 dentry_revalidate+0x2b5/0x350 fs/incfs/vfs.c:1525 dentry_revalidate+0x2b5/0x350 fs/incfs/vfs.c:1525 dentry_revalidate+0x2b5/0x350 fs/incfs/vfs.c:1525 dentry_revalidate+0x2b5/0x350 fs/incfs/vfs.c:1525 dentry_revalidate+0x2b5/0x350 fs/incfs/vfs.c:1525 dentry_revalidate+0x2b5/0x350 fs/incfs/vfs.c:1525 dentry_revalidate+0x2b5/0x350 fs/incfs/vfs.c:1525 dentry_revalidate+0x2b5/0x350 fs/incfs/vfs.c:1525 dentry_revalidate+0x2b5/0x350 fs/incfs/vfs.c:1525 dentry_revalidate+0x2b5/0x350 fs/incfs/vfs.c:1525 d_revalidate fs/namei.c:771 [inline] lookup_dcache fs/namei.c:1493 [inline] lookup_one_len+0x214/0x2c0 fs/namei.c:2641 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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+0x17f/0x2c0 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_slow fs/namei.c:1645 [inline] walk_component+0x516/0x790 fs/namei.c:1940 lookup_last fs/namei.c:2389 [inline] path_lookupat+0x19d/0x6c0 fs/namei.c:2413 filename_lookup+0x23f/0x6c0 fs/namei.c:2446 user_path_at_empty+0x40/0x50 fs/namei.c:2726 user_path_at include/linux/namei.h:59 [inline] do_fchmodat fs/open.c:620 [inline] __do_sys_chmod fs/open.c:640 [inline] __se_sys_chmod fs/open.c:638 [inline] __x64_sys_chmod+0xda/0x1c0 fs/open.c:638 do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f6d88ce0049 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:00007f6d87e35168 EFLAGS: 00000246 ORIG_RAX: 000000000000005a RAX: ffffffffffffffda RBX: 00007f6d88df3030 RCX: 00007f6d88ce0049 RDX: 0000000000000000 RSI: 0000000000000113 RDI: 0000000020000240 RBP: 00007f6d88d3a08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe8b2d3fcf R14: 00007f6d87e35300 R15: 0000000000022000 Modules linked in: ---[ end trace 2ac3e84b7eed9120 ]--- RIP: 0010:kasan_check_range+0x4/0x2f0 mm/kasan/generic.c:185 Code: 01 c6 48 89 c7 e8 5c 64 ef 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 55 41 54 53 b0 01 48 85 f6 0f 84 09 02 00 00 48 89 RSP: 0018:ffffc900073a8000 EFLAGS: 00010246 RAX: 1ffff11029f03e04 RBX: dffffc0000000000 RCX: ffffffff824becea RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc900073a8060 RBP: ffffc900073a8000 R08: ffffffff81b4a2f5 R09: ffffed1029f03ed8 R10: ffffed1029f03ed8 R11: 0000000000000000 R12: ffff88814f81f6b8 R13: 0000000300000000 R14: 1ffff92000e7500c R15: 1ffff92000e75008 FS: 00007f6d87e35700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc900073a7ff8 CR3: 000000011936b000 CR4: 00000000003506a0 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 5c 64 ef 02 callq 0x2ef6466 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 55 push %r13 30: 41 54 push %r12 32: 53 push %rbx 33: b0 01 mov $0x1,%al 35: 48 85 f6 test %rsi,%rsi 38: 0f 84 09 02 00 00 je 0x247 3e: 48 rex.W 3f: 89 .byte 0x89