BUG: stack guard page was hit at ffffc90006347ff8 (stack is ffffc90006348000..ffffc9000634ffff) kernel stack overflow (double-fault): 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 22940 Comm: syz-executor.4 Not tainted 5.10.112-syzkaller-00287-gde64d941a71a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/12/2022 RIP: 0010:sched_clock+0x0/0x40 arch/x86/kernel/tsc.c:251 Code: c0 48 f7 e7 48 89 d6 48 d3 ee 48 0f ad d0 f6 c1 40 48 0f 45 c6 4c 01 c0 5d c3 e8 9a b7 d4 ff eb de 66 0f 1f 84 00 00 00 00 00 <55> 48 89 e5 48 c7 c0 40 32 2c 86 48 c1 e8 03 48 b9 00 00 00 00 00 RSP: 0018:ffffc90006348000 EFLAGS: 00010092 RAX: 0000000000000000 RBX: ffffffff85c49680 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffffffff8543d240 RDI: 0000000000000000 RBP: ffffc90006348058 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8881f7027280 R14: ffff88810fdb62c0 R15: dffffc0000000000 FS: 00007facff667700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90006347ff8 CR3: 00000001521f1000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: irqtime_account_irq+0x76/0x270 kernel/sched/cputime.c:63 account_irq_enter_time include/linux/vtime.h:109 [inline] irq_enter_rcu+0x76/0xa0 kernel/softirq.c:374 sysvec_apic_timer_interrupt+0x19/0xe0 arch/x86/kernel/apic/apic.c:1095 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:48 [inline] RIP: 0010:update_stack_state+0x1ba/0x580 arch/x86/kernel/unwind_frame.c:218 Code: ff 80 3c 10 00 74 13 48 8b 7d 80 e8 40 47 73 00 48 ba 00 00 00 00 00 fc ff df 4d 8b 7d 10 48 8b 45 c8 0f b6 04 10 84 c0 75 66 <41> 83 7d 00 00 48 8b 45 c0 74 16 48 39 c3 77 11 49 39 c7 76 0c 48 RSP: 0018:ffffc900063481a8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90006348000 RCX: ffffc90006348ce0 RDX: dffffc0000000000 RSI: 1ffff92000c6905e RDI: ffffc900063482e0 RBP: ffffc90006348240 R08: ffffc900063483c8 R09: 000000000000000d R10: ffffc900063483d0 R11: 1ffff92000c6905c R12: ffffc900063482f8 R13: ffffc900063482e0 R14: ffffc900063482e8 R15: ffffc90006350000 unwind_next_frame+0x3b0/0x6b0 arch/x86/kernel/unwind_frame.c:305 arch_stack_walk+0x112/0x140 arch/x86/kernel/stacktrace.c:25 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 kmem_cache_zalloc include/linux/slab.h:654 [inline] __alloc_file+0x29/0x330 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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/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+0x7a2/0x1090 fs/open.c:819 vfs_open+0x73/0x80 fs/open.c:942 do_open fs/namei.c:3327 [inline] path_openat+0x2638/0x2fd0 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_open fs/open.c:1235 [inline] __se_sys_open fs/open.c:1231 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1231 do_syscall_64+0x34/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fad005120e9 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:00007facff667168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fad00625030 RCX: 00007fad005120e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007fad0056c08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdb2c05bcf R14: 00007facff667300 R15: 0000000000022000 Modules linked in: ---[ end trace 48666c488471734c ]--- RIP: 0010:sched_clock+0x0/0x40 arch/x86/kernel/tsc.c:251 Code: c0 48 f7 e7 48 89 d6 48 d3 ee 48 0f ad d0 f6 c1 40 48 0f 45 c6 4c 01 c0 5d c3 e8 9a b7 d4 ff eb de 66 0f 1f 84 00 00 00 00 00 <55> 48 89 e5 48 c7 c0 40 32 2c 86 48 c1 e8 03 48 b9 00 00 00 00 00 RSP: 0018:ffffc90006348000 EFLAGS: 00010092 RAX: 0000000000000000 RBX: ffffffff85c49680 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffffffff8543d240 RDI: 0000000000000000 RBP: ffffc90006348058 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8881f7027280 R14: ffff88810fdb62c0 R15: dffffc0000000000 FS: 00007facff667700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc90006347ff8 CR3: 00000001521f1000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c0 48 f7 e7 rorb $0xe7,-0x9(%rax) 4: 48 89 d6 mov %rdx,%rsi 7: 48 d3 ee shr %cl,%rsi a: 48 0f ad d0 shrd %cl,%rdx,%rax e: f6 c1 40 test $0x40,%cl 11: 48 0f 45 c6 cmovne %rsi,%rax 15: 4c 01 c0 add %r8,%rax 18: 5d pop %rbp 19: c3 retq 1a: e8 9a b7 d4 ff callq 0xffd4b7b9 1f: eb de jmp 0xffffffff 21: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 28: 00 00 * 2a: 55 push %rbp <-- trapping instruction 2b: 48 89 e5 mov %rsp,%rbp 2e: 48 c7 c0 40 32 2c 86 mov $0xffffffff862c3240,%rax 35: 48 c1 e8 03 shr $0x3,%rax 39: 48 rex.W 3a: b9 00 00 00 00 mov $0x0,%ecx