================================================================== BUG: KASAN: vmalloc-out-of-bounds in bpf_jit_binary_free kernel/bpf/core.c:1078 [inline] BUG: KASAN: vmalloc-out-of-bounds in bpf_jit_free+0x26c/0x2b0 kernel/bpf/core.c:1203 Read of size 4 at addr ffffffffa0008000 by task syz-executor.1/3590 CPU: 0 PID: 3590 Comm: syz-executor.1 Not tainted 5.18.0-syzkaller-04967-gdafd0f870eae #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+0xcd/0x134 lib/dump_stack.c:106 print_address_description.constprop.0.cold+0xf/0x495 mm/kasan/report.c:313 print_report mm/kasan/report.c:429 [inline] kasan_report.cold+0xf4/0x1c6 mm/kasan/report.c:491 bpf_jit_binary_free kernel/bpf/core.c:1078 [inline] bpf_jit_free+0x26c/0x2b0 kernel/bpf/core.c:1203 jit_subprogs kernel/bpf/verifier.c:13683 [inline] fixup_call_args kernel/bpf/verifier.c:13712 [inline] bpf_check+0x71ab/0xbbc0 kernel/bpf/verifier.c:15063 bpf_prog_load+0xfb2/0x2250 kernel/bpf/syscall.c:2575 __sys_bpf+0x11a1/0x5700 kernel/bpf/syscall.c:4918 __do_sys_bpf kernel/bpf/syscall.c:5022 [inline] __se_sys_bpf kernel/bpf/syscall.c:5020 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:5020 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f3073689109 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f30747a0168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f307379bf60 RCX: 00007f3073689109 RDX: 0000000000000070 RSI: 0000000020000440 RDI: 0000000000000005 RBP: 00007f30747a01d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffdd7714c7f R14: 00007f30747a0300 R15: 0000000000022000 Memory state around the buggy address: ffffffffa0007f00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffffffa0007f80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >ffffffffa0008000: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffffffa0008080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffffffa0008100: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================