BUG: stack guard page was hit at ffffc90000d1fff8 (stack is ffffc90000d20000..ffffc90000d27fff) kernel stack overflow (double-fault): 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 11130 Comm: syz-executor.1 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:memset+0x6/0x40 mm/kasan/shadow.c:43 Code: 00 00 66 90 55 48 89 e5 89 f6 48 8b 4d 08 ba 01 00 00 00 e8 3c ed ff ff 5d c3 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 <41> 56 53 49 89 d7 41 89 f6 48 89 fb 48 8b 4d 08 48 89 d6 ba 01 00 RSP: 0018:ffffc90000d20000 EFLAGS: 00010246 RAX: ffff888116ace2c0 RBX: dffffc0000000000 RCX: ffffc90000d20130 RDX: 0000000000000060 RSI: 0000000000000000 RDI: ffffc90000d200a0 RBP: ffffc90000d20008 R08: dffffc0000000000 R09: ffffc90000d20180 R10: fffff520001a4033 R11: 0000000000000000 R12: ffff888116ace2c0 R13: ffffc90000d200a0 R14: ffff888116ace2c0 R15: 0000000000000000 FS: 00007f036a8af700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90000d1fff8 CR3: 000000011165d000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __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_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1238 do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f036b79c049 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:00007f036a8af168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f036b8af1d0 RCX: 00007f036b79c049 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: ffffffffffffff9c RBP: 00007f036b7f608d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd2052951f R14: 00007f036a8af300 R15: 0000000000022000 Modules linked in: ---[ end trace 9699c0b60c405141 ]--- RIP: 0010:memset+0x6/0x40 mm/kasan/shadow.c:43 Code: 00 00 66 90 55 48 89 e5 89 f6 48 8b 4d 08 ba 01 00 00 00 e8 3c ed ff ff 5d c3 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 <41> 56 53 49 89 d7 41 89 f6 48 89 fb 48 8b 4d 08 48 89 d6 ba 01 00 RSP: 0018:ffffc90000d20000 EFLAGS: 00010246 RAX: ffff888116ace2c0 RBX: dffffc0000000000 RCX: ffffc90000d20130 RDX: 0000000000000060 RSI: 0000000000000000 RDI: ffffc90000d200a0 RBP: ffffc90000d20008 R08: dffffc0000000000 R09: ffffc90000d20180 R10: fffff520001a4033 R11: 0000000000000000 R12: ffff888116ace2c0 R13: ffffc90000d200a0 R14: ffff888116ace2c0 R15: 0000000000000000 FS: 00007f036a8af700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90000d1fff8 CR3: 000000011165d000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 66 90 xchg %ax,%ax 4: 55 push %rbp 5: 48 89 e5 mov %rsp,%rbp 8: 89 f6 mov %esi,%esi a: 48 8b 4d 08 mov 0x8(%rbp),%rcx e: ba 01 00 00 00 mov $0x1,%edx 13: e8 3c ed ff ff callq 0xffffed54 18: 5d pop %rbp 19: c3 retq 1a: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 21: 00 00 00 24: 55 push %rbp 25: 48 89 e5 mov %rsp,%rbp 28: 41 57 push %r15 * 2a: 41 56 push %r14 <-- trapping instruction 2c: 53 push %rbx 2d: 49 89 d7 mov %rdx,%r15 30: 41 89 f6 mov %esi,%r14d 33: 48 89 fb mov %rdi,%rbx 36: 48 8b 4d 08 mov 0x8(%rbp),%rcx 3a: 48 89 d6 mov %rdx,%rsi 3d: ba .byte 0xba 3e: 01 00 add %eax,(%rax)