================================================================== BUG: KMSAN: uninit-value in bpf_convert_filter+0x2a33/0x5c50 net/core/filter.c:603 CPU: 0 PID: 13847 Comm: syz-executor.4 Not tainted 5.0.0-rc1+ #9 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+0x173/0x1d0 lib/dump_stack.c:113 kmsan_report+0x12e/0x2a0 mm/kmsan/kmsan.c:600 __msan_warning+0x82/0xf0 mm/kmsan/kmsan_instr.c:313 bpf_convert_filter+0x2a33/0x5c50 net/core/filter.c:603 bpf_migrate_filter net/core/filter.c:1245 [inline] bpf_prepare_filter+0x15e4/0x1c90 net/core/filter.c:1323 __get_filter+0x4f8/0x730 net/core/filter.c:1492 sk_attach_filter+0x72/0x2e0 net/core/filter.c:1507 sock_setsockopt+0x396f/0x4bb0 net/core/sock.c:895 __sys_setsockopt+0x336/0x540 net/socket.c:1898 __do_sys_setsockopt net/socket.c:1913 [inline] __se_sys_setsockopt+0xdd/0x100 net/socket.c:1910 __x64_sys_setsockopt+0x62/0x80 net/socket.c:1910 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x457e29 Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f52c6543c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000457e29 RDX: 000000000000001a RSI: 0000000000000001 RDI: 0000000000000006 RBP: 000000000073bfa0 R08: 0000000000000010 R09: 0000000000000000 R10: 000000002002eff0 R11: 0000000000000246 R12: 00007f52c65446d4 R13: 00000000004c584f R14: 00000000004d9a88 R15: 00000000ffffffff Uninit was created at: No stack ==================================================================