===================================================== BUG: KMSAN: uninit-value in do_user_addr_fault+0x7ff/0x1f80 arch/x86/mm/fault.c:1333 do_user_addr_fault+0x7ff/0x1f80 arch/x86/mm/fault.c:1333 handle_page_fault arch/x86/mm/fault.c:1495 [inline] __exc_page_fault+0x92/0x1c0 arch/x86/mm/fault.c:1551 exc_page_fault+0x25/0x30 arch/x86/mm/fault.c:1507 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:605 Local variable ----regs@__bpf_prog_run32 created at: __bpf_prog_run32+0x84/0x180 kernel/bpf/core.c:1741 bpf_dispatcher_nop_func include/linux/bpf.h:684 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1780 [inline] bpf_trace_run2+0x123/0x370 kernel/trace/bpf_trace.c:1817 ===================================================== Kernel panic - not syncing: panic_on_kmsan set ... CPU: 0 PID: 12115 Comm: syz-executor.3 Tainted: G B W 5.13.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:79 [inline] dump_stack+0x25a/0x2f6 lib/dump_stack.c:120 panic+0x4c7/0xe98 kernel/panic.c:231 kmsan_report+0x2ee/0x300 mm/kmsan/report.c:179 __msan_warning+0xd7/0x150 mm/kmsan/instrumentation.c:208 do_user_addr_fault+0x7ff/0x1f80 arch/x86/mm/fault.c:1333 handle_page_fault arch/x86/mm/fault.c:1495 [inline] __exc_page_fault+0x92/0x1c0 arch/x86/mm/fault.c:1551 exc_page_fault+0x25/0x30 arch/x86/mm/fault.c:1507 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:605 RIP: 0023:0xf6ea113c Code: f2 ff ff 81 c2 eb 3e 12 00 56 89 c1 53 83 ec 04 8b 9a cc 22 f6 00 8b 82 c8 22 f6 00 8d b3 00 00 00 01 39 d8 72 15 39 f0 73 11 <89> 08 8d 48 04 89 8a c8 22 f6 00 83 c4 04 5b 5e c3 83 ec 0c 56 53 RSP: 002b:00000000ffe3e850 EFLAGS: 00010287 RAX: 0000000030420000 RBX: 0000000030420000 RCX: 0000000000000000 RDX: 00000000f6fc5000 RSI: 0000000031420000 RDI: 00000000f6fc5000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds.. ---------------- Code disassembly (best guess), 3 bytes skipped: 0: 81 c2 eb 3e 12 00 add $0x123eeb,%edx 6: 56 push %rsi 7: 89 c1 mov %eax,%ecx 9: 53 push %rbx a: 83 ec 04 sub $0x4,%esp d: 8b 9a cc 22 f6 00 mov 0xf622cc(%rdx),%ebx 13: 8b 82 c8 22 f6 00 mov 0xf622c8(%rdx),%eax 19: 8d b3 00 00 00 01 lea 0x1000000(%rbx),%esi 1f: 39 d8 cmp %ebx,%eax 21: 72 15 jb 0x38 23: 39 f0 cmp %esi,%eax 25: 73 11 jae 0x38 * 27: 89 08 mov %ecx,(%rax) <-- trapping instruction 29: 8d 48 04 lea 0x4(%rax),%ecx 2c: 89 8a c8 22 f6 00 mov %ecx,0xf622c8(%rdx) 32: 83 c4 04 add $0x4,%esp 35: 5b pop %rbx 36: 5e pop %rsi 37: c3 retq 38: 83 ec 0c sub $0xc,%esp 3b: 56 push %rsi 3c: 53 push %rbx