syzbot


KMSAN: uninit-value in bpf_convert_filter

Status: auto-closed as invalid on 2019/09/09 04:47
Subsystems: bpf net
[Documentation on labels]
First crash: 2210d, last: 2149d

Sample crash report:
==================================================================
BUG: KMSAN: uninit-value in bpf_convert_filter+0x2a33/0x5c50 net/core/filter.c:603
CPU: 0 PID: 12573 Comm: syz-executor.3 Not tainted 5.0.0+ #11
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:1897
 __do_sys_setsockopt net/socket.c:1912 [inline]
 __se_sys_setsockopt+0xdd/0x100 net/socket.c:1909
 __x64_sys_setsockopt+0x62/0x80 net/socket.c:1909
 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x457f29
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:00007fdb7c524c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000457f29
RDX: 000000000000001a RSI: 0000000000000001 RDI: 0000000000000006
RBP: 000000000073c040 R08: 0000000000000010 R09: 0000000000000000
R10: 000000002002eff0 R11: 0000000000000246 R12: 00007fdb7c5256d4
R13: 00000000004c594f R14: 00000000004d9b88 R15: 00000000ffffffff

Uninit was created at:
No stack
==================================================================

Crashes (242):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/03/12 19:14 https://github.com/google/kmsan.git master a695dc5e929e a71bfb62 .config console log report ci-upstream-kmsan-gce
2019/03/12 15:53 https://github.com/google/kmsan.git master a695dc5e929e a71bfb62 .config console log report ci-upstream-kmsan-gce
2019/03/12 10:22 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/11 19:40 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/11 13:53 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/11 06:13 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/10 04:21 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/09 15:36 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/09 10:06 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/09 06:28 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/08 19:33 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/08 12:23 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/07 15:19 https://github.com/google/kmsan.git master a695dc5e929e 8c085c5e .config console log report ci-upstream-kmsan-gce
2019/03/07 09:59 https://github.com/google/kmsan.git master a695dc5e929e 8c085c5e .config console log report ci-upstream-kmsan-gce
2019/03/07 03:13 https://github.com/google/kmsan.git master a695dc5e929e 18215b8d .config console log report ci-upstream-kmsan-gce
2019/03/06 22:11 https://github.com/google/kmsan.git master a695dc5e929e 18215b8d .config console log report ci-upstream-kmsan-gce
2019/03/06 14:10 https://github.com/google/kmsan.git master a695dc5e929e 05cf83bf .config console log report ci-upstream-kmsan-gce
2019/03/06 06:36 https://github.com/google/kmsan.git master 6c55aa96dcda 16559f86 .config console log report ci-upstream-kmsan-gce
2019/03/06 03:14 https://github.com/google/kmsan.git master 6c55aa96dcda 16559f86 .config console log report ci-upstream-kmsan-gce
2019/03/05 20:17 https://github.com/google/kmsan.git master 6c55aa96dcda 16559f86 .config console log report ci-upstream-kmsan-gce
2019/03/05 12:48 https://github.com/google/kmsan.git master fa1981bee40f bb91cf81 .config console log report ci-upstream-kmsan-gce
2019/03/05 11:24 https://github.com/google/kmsan.git master fa1981bee40f bb91cf81 .config console log report ci-upstream-kmsan-gce
2019/03/05 09:26 https://github.com/google/kmsan.git master fa1981bee40f bb91cf81 .config console log report ci-upstream-kmsan-gce
2019/03/04 12:15 https://github.com/google/kmsan.git master fa1981bee40f 7c693b52 .config console log report ci-upstream-kmsan-gce
2019/03/03 20:02 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/03 18:30 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/03 17:09 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/02 22:03 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/02 04:45 https://github.com/google/kmsan.git master fa1981bee40f 68d9e495 .config console log report ci-upstream-kmsan-gce
2019/03/02 02:11 https://github.com/google/kmsan.git master fa1981bee40f 68d9e495 .config console log report ci-upstream-kmsan-gce
2019/03/01 12:08 https://github.com/google/kmsan.git master fa1981bee40f 8a4b3a6b .config console log report ci-upstream-kmsan-gce
2019/03/01 02:45 https://github.com/google/kmsan.git master fa1981bee40f 09aeeba4 .config console log report ci-upstream-kmsan-gce
2019/03/01 01:02 https://github.com/google/kmsan.git master fa1981bee40f 09aeeba4 .config console log report ci-upstream-kmsan-gce
2019/02/28 13:49 https://github.com/google/kmsan.git master fa1981bee40f 09aeeba4 .config console log report ci-upstream-kmsan-gce
2019/02/27 15:01 https://github.com/google/kmsan.git master fa1981bee40f 083cfd0e .config console log report ci-upstream-kmsan-gce
2019/02/27 14:52 https://github.com/google/kmsan.git master fa1981bee40f 083cfd0e .config console log report ci-upstream-kmsan-gce
2019/02/27 13:25 https://github.com/google/kmsan.git master fa1981bee40f 083cfd0e .config console log report ci-upstream-kmsan-gce
2019/02/27 12:08 https://github.com/google/kmsan.git master fa1981bee40f 083cfd0e .config console log report ci-upstream-kmsan-gce
2019/02/27 09:34 https://github.com/google/kmsan.git master fa1981bee40f f2468c12 .config console log report ci-upstream-kmsan-gce
2019/02/27 06:06 https://github.com/google/kmsan.git master fa1981bee40f f2468c12 .config console log report ci-upstream-kmsan-gce
2019/02/27 00:23 https://github.com/google/kmsan.git master fa1981bee40f f2468c12 .config console log report ci-upstream-kmsan-gce
2019/02/22 13:10 https://github.com/google/kmsan.git master fa1981bee40f 6a5fcca4 .config console log report ci-upstream-kmsan-gce
2019/01/10 11:02 https://github.com/google/kmsan.git master 9945cd9f64dc 45c0c1b1 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.