================================================================== BUG: KASAN: stack-out-of-bounds in iov_iter_revert+0x179/0xa30 lib/iov_iter.c:1093 Read of size 8 at addr ffffc9000cfbef58 by task syz-executor.5/14225 CPU: 0 PID: 14225 Comm: syz-executor.5 Not tainted 5.14.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1ae/0x29f lib/dump_stack.c:105 print_address_description+0x66/0x3b0 mm/kasan/report.c:233 __kasan_report mm/kasan/report.c:419 [inline] kasan_report+0x163/0x210 mm/kasan/report.c:436 iov_iter_revert+0x179/0xa30 lib/iov_iter.c:1093 io_write+0x8ba/0xb90 fs/io_uring.c:3459 io_issue_sqe+0xc34/0x9530 fs/io_uring.c:6181 __io_queue_sqe+0x1f9/0xf00 fs/io_uring.c:6464 io_submit_sqe fs/io_uring.c:6662 [inline] io_submit_sqes+0x1e49/0x7d40 fs/io_uring.c:6778 __do_sys_io_uring_enter fs/io_uring.c:9389 [inline] __se_sys_io_uring_enter+0x22b/0x1d30 fs/io_uring.c:9332 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f44ddecf188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 00000000000052fe RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd3c0d2def R14: 00007f44ddecf300 R15: 0000000000022000 addr ffffc9000cfbef58 is located in stack of task syz-executor.5/14225 at offset 24 in frame: io_write+0x0/0xb90 arch/x86/include/asm/atomic.h:29 this frame has 3 objects: [32, 160) 'inline_vecs' [192, 200) 'iovec' [224, 264) '__iter' Memory state around the buggy address: ffffc9000cfbee00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc9000cfbee80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc9000cfbef00: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 00 00 ^ ffffc9000cfbef80: 00 00 00 00 00 00 00 00 00 00 00 00 f2 f2 f2 f2 ffffc9000cfbf000: 00 f2 f2 f2 00 00 00 00 00 f3 f3 f3 f3 f3 f3 f3 ==================================================================