================================================================== BUG: KASAN: stack-out-of-bounds in update_stack_state+0x5de/0x5f0 arch/x86/kernel/unwind_frame.c:267 Read of size 8 at addr ffff88809642fea6 by task syz-executor.3/17565 CPU: 0 PID: 17565 Comm: syz-executor.3 Not tainted 5.2.0-rc6 #33 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 print_address_description.cold+0x7c/0x20d mm/kasan/report.c:188 __kasan_report.cold+0x1b/0x40 mm/kasan/report.c:317 kasan_report+0x12/0x20 mm/kasan/common.c:614 __asan_report_load8_noabort+0x14/0x20 mm/kasan/generic_report.c:132 update_stack_state+0x5de/0x5f0 arch/x86/kernel/unwind_frame.c:267 unwind_next_frame.part.0+0x1a9/0xa20 arch/x86/kernel/unwind_frame.c:334 unwind_next_frame+0x3b/0x50 arch/x86/kernel/unwind_frame.c:288 arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save_tsk+0x108/0x170 kernel/stacktrace.c:150 proc_pid_stack+0x111/0x200 fs/proc/base.c:436 proc_single_show+0xf0/0x170 fs/proc/base.c:739 seq_read+0x4ca/0x1110 fs/seq_file.c:229 do_loop_readv_writev fs/read_write.c:714 [inline] do_loop_readv_writev fs/read_write.c:701 [inline] do_iter_read+0x4a4/0x660 fs/read_write.c:935 vfs_readv+0xf0/0x160 fs/read_write.c:997 do_readv+0x15b/0x330 fs/read_write.c:1034 __do_sys_readv fs/read_write.c:1125 [inline] __se_sys_readv fs/read_write.c:1122 [inline] __x64_sys_readv+0x75/0xb0 fs/read_write.c:1122 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459519 Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f4f8009bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000013 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459519 RDX: 00000000000003c1 RSI: 0000000020000580 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4f8009c6d4 R13: 00000000004c664d R14: 00000000004db780 R15: 00000000ffffffff The buggy address belongs to the page: page:ffffea0002590bc0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 flags: 0x1fffc0000000000() raw: 01fffc0000000000 0000000000000000 ffffffff00000101 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88809642fd80: 00 00 f1 f1 f1 f1 f1 f1 00 00 00 00 00 00 00 00 ffff88809642fe00: 00 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 >ffff88809642fe80: 00 f1 f1 f1 f1 00 00 f3 f3 00 00 00 00 00 00 00 ^ ffff88809642ff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88809642ff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================