================================================================== BUG: KASAN: vmalloc-out-of-bounds in __bpf_trace_run kernel/trace/bpf_trace.c:2061 [inline] BUG: KASAN: vmalloc-out-of-bounds in bpf_trace_run3+0x3e0/0x3f0 kernel/trace/bpf_trace.c:2099 Read of size 8 at addr ffffc90000f0b030 by task syz-executor.0/13207 CPU: 1 PID: 13207 Comm: syz-executor.0 Not tainted 5.9.0-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:2061 [inline] bpf_trace_run3+0x3e0/0x3f0 kernel/trace/bpf_trace.c:2099 __bpf_trace_ext4_allocate_inode+0xe4/0x120 include/trace/events/ext4.h:190 trace_ext4_es_lookup_extent_exit include/trace/events/ext4.h:2441 [inline] ext4_es_lookup_extent+0xa1d/0xce0 fs/ext4/extents_status.c:985 ext4_map_blocks+0x1f1/0x1770 fs/ext4/inode.c:518 ext4_getblk+0x527/0x680 fs/ext4/inode.c:836 ext4_bread+0x29/0x210 fs/ext4/inode.c:888 __ext4_read_dirblock+0x34/0xc10 fs/ext4/namei.c:115 ext4_add_entry+0x759/0xe60 fs/ext4/namei.c:2241 ext4_add_nondir+0x90/0x290 fs/ext4/namei.c:2586 ext4_create+0x25d/0x4c0 fs/ext4/namei.c:2633 lookup_open.isra.0+0xf85/0x1350 fs/namei.c:3103 open_last_lookups fs/namei.c:3177 [inline] path_openat+0x96d/0x2730 fs/namei.c:3365 do_filp_open+0x17e/0x3c0 fs/namei.c:3395 do_sys_openat2+0x16d/0x420 fs/open.c:1168 do_sys_open fs/open.c:1184 [inline] __do_sys_openat fs/open.c:1200 [inline] __se_sys_openat fs/open.c:1195 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1195 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45deb9 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:00007ff0010c6c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000022940 RCX: 000000000045deb9 RDX: 00000000000026e1 RSI: 0000000020000240 RDI: ffffffffffffff9c RBP: 000000000118bf68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffe2e13a29f R14: 00007ff0010c79c0 R15: 000000000118bf2c Memory state around the buggy address: ffffc90000f0af00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90000f0af80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >ffffc90000f0b000: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc90000f0b080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90000f0b100: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================