================================================================== BUG: KASAN: vmalloc-out-of-bounds in __bpf_trace_run kernel/trace/bpf_trace.c:2055 [inline] BUG: KASAN: vmalloc-out-of-bounds in bpf_trace_run1+0x3b0/0x3c0 kernel/trace/bpf_trace.c:2091 Read of size 8 at addr ffffc90002295030 by task syz-executor.1/30621 CPU: 0 PID: 30621 Comm: syz-executor.1 Not tainted 5.10.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:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 print_address_description.constprop.0.cold+0x5/0x4c8 mm/kasan/report.c:385 __kasan_report mm/kasan/report.c:545 [inline] kasan_report.cold+0x1f/0x37 mm/kasan/report.c:562 __bpf_trace_run kernel/trace/bpf_trace.c:2055 [inline] bpf_trace_run1+0x3b0/0x3c0 kernel/trace/bpf_trace.c:2091 __bpf_trace_block_plug+0x8b/0xc0 block/blk-core.c:716 trace_block_plug+0x138/0x280 include/trace/events/block.h:470 blk_mq_submit_bio+0xcf2/0x1770 block/blk-mq.c:2219 __submit_bio_noacct_mq block/blk-core.c:1026 [inline] submit_bio_noacct+0xa27/0xe30 block/blk-core.c:1059 submit_bio+0x263/0x5b0 block/blk-core.c:1129 ext4_io_submit+0x181/0x210 fs/ext4/page-io.c:382 ext4_writepages+0x1369/0x38a0 fs/ext4/inode.c:2812 do_writepages+0xec/0x290 mm/page-writeback.c:2352 __filemap_fdatawrite_range+0x2a1/0x380 mm/filemap.c:422 ext4_alloc_da_blocks+0x1ed/0x330 fs/ext4/inode.c:3156 ext4_release_file+0x183/0x370 fs/ext4/file.c:142 __fput+0x285/0x920 fs/file_table.c:281 task_work_run+0xdd/0x190 kernel/task_work.c:151 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:164 [inline] exit_to_user_mode_prepare+0x17e/0x1a0 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x38/0x260 kernel/entry/common.c:266 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e159 Code: 0d b4 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 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f73a3971c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 000000000045e159 RDX: 0000000020000040 RSI: 0000000040305829 RDI: 0000000000000004 RBP: 000000000119c068 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 R13: 00007fff943a666f R14: 00007f73a39729c0 R15: 000000000119c034 Memory state around the buggy address: ffffc90002294f00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90002294f80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >ffffc90002295000: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc90002295080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90002295100: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================