BUG: stack guard page was hit at ffffc90006e97ff8 (stack is ffffc90006e98000..ffffc90006e9ffff) kernel stack overflow (double-fault): 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 2629 Comm: syz-executor.4 Not tainted 5.10.102-syzkaller-00171-ge1b86e7f5cbb #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 9c 2c 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:ffffc90006e98000 EFLAGS: 00010246 RAX: ffff888117a913c0 RBX: ffffc90006e980c0 RCX: ffffffff813415a4 RDX: 0000000000000001 RSI: 0000000000000060 RDI: ffffc90006e980c0 RBP: ffffc90006e98000 R08: dffffc0000000000 R09: ffffc90006e981a0 R10: fffff52000dd3037 R11: 0000000000000000 R12: ffff888117a913c0 R13: ffffc90006e980c0 R14: 0000000000000000 R15: 0000000000000060 FS: 00007f1539663700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90006e97ff8 CR3: 000000011915a000 CR4: 00000000003506a0 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+0x11b/0x1e0 kernel/stacktrace.c:121 save_stack+0x96/0x1e0 mm/page_owner.c:146 __set_page_owner+0x3b/0x300 mm/page_owner.c:219 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2385 [inline] prep_new_page mm/page_alloc.c:2391 [inline] get_page_from_freelist+0xa74/0xa90 mm/page_alloc.c:4063 __alloc_pages_nodemask+0x3c8/0x820 mm/page_alloc.c:5107 alloc_slab_page mm/slub.c:1813 [inline] allocate_slab+0x6b/0x350 mm/slub.c:1815 new_slab mm/slub.c:1876 [inline] new_slab_objects mm/slub.c:2635 [inline] ___slab_alloc+0x143/0x2f0 mm/slub.c:2798 __slab_alloc mm/slub.c:2838 [inline] slab_alloc_node mm/slub.c:2920 [inline] slab_alloc mm/slub.c:2962 [inline] kmem_cache_alloc+0x26f/0x380 mm/slub.c:2967 kmem_cache_zalloc include/linux/slab.h:654 [inline] __alloc_file+0x29/0x3b0 fs/file_table.c:101 alloc_empty_file+0xac/0x1b0 fs/file_table.c:151 dentry_open+0x4e/0x100 fs/open.c:956 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open fs/open.c:942 [inline] dentry_open+0xb8/0x100 fs/open.c:958 file_open+0x2a3/0x650 fs/incfs/vfs.c:1427 do_dentry_open+0x7a5/0x1090 fs/open.c:819 vfs_open+0x73/0x80 fs/open.c:942 do_open fs/namei.c:3327 [inline] path_openat+0x264d/0x3500 fs/namei.c:3444 do_filp_open+0x200/0x440 fs/namei.c:3471 do_sys_openat2+0x13b/0x470 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_creat fs/open.c:1301 [inline] __se_sys_creat fs/open.c:1295 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1295 do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f153a52f049 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:00007f1539663168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f153a642100 RCX: 00007f153a52f049 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f153a58908d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7319c4ff R14: 00007f1539663300 R15: 0000000000022000 Modules linked in: ---[ end trace 0fe962190bdc84b6 ]--- RIP: 0010:kasan_check_range+0x4/0x2f0 mm/kasan/generic.c:185 Code: 01 c6 48 89 c7 e8 9c 2c 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:ffffc90006e98000 EFLAGS: 00010246 RAX: ffff888117a913c0 RBX: ffffc90006e980c0 RCX: ffffffff813415a4 RDX: 0000000000000001 RSI: 0000000000000060 RDI: ffffc90006e980c0 RBP: ffffc90006e98000 R08: dffffc0000000000 R09: ffffc90006e981a0 R10: fffff52000dd3037 R11: 0000000000000000 R12: ffff888117a913c0 R13: ffffc90006e980c0 R14: 0000000000000000 R15: 0000000000000060 FS: 00007f1539663700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90006e97ff8 CR3: 000000011915a000 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 9c 2c ef 02 callq 0x2ef2ca6 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