==================================================================
BUG: KASAN: stack-out-of-bounds in user_mode arch/x86/include/asm/ptrace.h:133 [inline]
BUG: KASAN: stack-out-of-bounds in update_stack_state+0x30a/0x460 arch/x86/kernel/unwind_frame.c:238
Read of size 8 at addr ffffc90007617d70 by task syz-executor.3/6569
CPU: 0 PID: 6569 Comm: syz-executor.3 Not tainted 5.10.209-syzkaller-00422-g87a5e148c75b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118
print_address_description+0x81/0x3b0 mm/kasan/report.c:248
__kasan_report mm/kasan/report.c:435 [inline]
kasan_report+0x179/0x1c0 mm/kasan/report.c:452
__asan_report_load8_noabort+0x14/0x20 mm/kasan/report_generic.c:309
user_mode arch/x86/include/asm/ptrace.h:133 [inline]
update_stack_state+0x30a/0x460 arch/x86/kernel/unwind_frame.c:238
unwind_next_frame+0x3cb/0x700 arch/x86/kernel/unwind_frame.c:305
arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save_tsk+0x246/0x3c0 kernel/stacktrace.c:149
proc_pid_stack+0x12a/0x1f0 fs/proc/base.c:457
proc_single_show+0x100/0x190 fs/proc/base.c:776
seq_read_iter+0x430/0xd00 fs/seq_file.c:230
seq_read+0x44f/0x5c0 fs/seq_file.c:162
vfs_read+0x204/0xbb0 fs/read_write.c:494
ksys_read+0x199/0x2c0 fs/read_write.c:634
__do_sys_read fs/read_write.c:644 [inline]
__se_sys_read fs/read_write.c:642 [inline]
__x64_sys_read+0x7b/0x90 fs/read_write.c:642
do_syscall_64+0x34/0x70
entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7f76c1826da9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f76c05a80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007f76c1954f80 RCX: 00007f76c1826da9
RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007f76c187347a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f76c1954f80 R15: 00007ffef59a6ed8
Memory state around the buggy address:
ffffc90007617c00: 00 00 00 00 f1 f1 f1 f1 00 f2 f2 f2 00 00 f3 f3
ffffc90007617c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffffc90007617d00: f1 f1 f1 f1 00 00 00 00 00 00 00 00 00 00 f3 f3
^
ffffc90007617d80: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00
ffffc90007617e00: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1
==================================================================