syzbot


KMSAN: uninit-value in is_valid_bugaddr

Status: closed as invalid on 2018/06/27 15:18
Subsystems: net
[Documentation on labels]
First crash: 2485d, last: 2451d

Sample crash report:
==================================================================
BUG: KMSAN: uninit-value in is_valid_bugaddr+0x17f/0x1a0 arch/x86/kernel/traps.c:165
CPU: 0 PID: 4513 Comm: syz-executor630 Not tainted 4.16.0+ #87
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x185/0x1d0 lib/dump_stack.c:53
 kmsan_report+0x142/0x240 mm/kmsan/kmsan.c:1067
 __msan_warning_32+0x6c/0xb0 mm/kmsan/kmsan_instr.c:683
 is_valid_bugaddr+0x17f/0x1a0 arch/x86/kernel/traps.c:165
 report_bug+0x6f/0x880 lib/bug.c:149
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 do_error_trap+0x1aa/0x600 arch/x86/kernel/traps.c:297
 do_invalid_op+0x46/0x50 arch/x86/kernel/traps.c:316
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:986
RIP: 0010:tcp_mark_head_lost+0xeec/0xf70 net/ipv4/tcp_input.c:2194
RSP: 0018:ffff8801ca55f130 EFLAGS: 00010293
RAX: ffffffff88529a6c RBX: 0000000000000000 RCX: ffff8801985d1d80
RDX: 0000000000000000 RSI: aaaaaaaaaaaab000 RDI: ffffea0000000000
RBP: ffff8801ca55f208 R08: 0000000000000000 R09: 0000000000000002
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000007
R13: 0000000000000010 R14: 0000000000000000 R15: 0000000000000008
 tcp_update_scoreboard net/ipv4/tcp_input.c:2210 [inline]
 tcp_fastretrans_alert+0x4324/0x6f20 net/ipv4/tcp_input.c:2848
 tcp_ack+0x6235/0x8800 net/ipv4/tcp_input.c:3618
 tcp_rcv_established+0xfc1/0x2bb0 net/ipv4/tcp_input.c:5457
 tcp_v4_do_rcv+0x6cd/0xd90 net/ipv4/tcp_ipv4.c:1469
 sk_backlog_rcv include/net/sock.h:908 [inline]
 __release_sock+0x2d6/0x680 net/core/sock.c:2271
 release_sock+0x97/0x2a0 net/core/sock.c:2786
 tcp_sendmsg+0xd6/0x100 net/ipv4/tcp.c:1464
 inet_sendmsg+0x48d/0x740 net/ipv4/af_inet.c:764
 sock_sendmsg_nosec net/socket.c:630 [inline]
 sock_sendmsg net/socket.c:640 [inline]
 sock_write_iter+0x3b9/0x470 net/socket.c:909
 do_iter_readv_writev+0x84d/0xa00 include/linux/fs.h:1776
 do_iter_write+0x30d/0xd40 fs/read_write.c:932
 vfs_writev fs/read_write.c:977 [inline]
 do_writev+0x3c9/0x830 fs/read_write.c:1012
 SYSC_writev+0x9b/0xb0 fs/read_write.c:1085
 SyS_writev+0x56/0x80 fs/read_write.c:1082
 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x3d/0xa2
RIP: 0033:0x440219
RSP: 002b:00007ffca57c0f88 EFLAGS: 00000217 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440219
RDX: 0000000000000001 RSI: 00000000200006c0 RDI: 0000000000000003
RBP: 00000000006cb018 R08: 0000000000000010 R09: 0000000000000010
R10: 0000000000000008 R11: 0000000000000217 R12: 0000000000401b40
R13: 0000000000401bd0 R14: 0000000000000000 R15: 0000000000000000

Local variable description: ----flags.i.i.i@rcu_all_qs
Variable was created at:
 rcu_all_qs+0x32/0x1f0 kernel/rcu/tree.c:478
 _cond_resched+0x3c/0xd0 kernel/sched/core.c:4935
==================================================================

Crashes (98):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/05/04 12:11 https://github.com/google/kmsan.git master d2d741e5d189 9ce14f4b .config console log report syz C ci-upstream-kmsan-gce
2018/04/15 05:17 https://github.com/google/kmsan.git master 35ff515e4bda 7a67784c .config console log report syz C ci-upstream-kmsan-gce
2018/05/10 06:50 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report syz ci-upstream-kmsan-gce
2018/05/14 11:16 https://github.com/google/kmsan.git master 9bad779decc0 2407e740 .config console log report ci-upstream-kmsan-gce
2018/05/14 08:30 https://github.com/google/kmsan.git master 9bad779decc0 481f030c .config console log report ci-upstream-kmsan-gce
2018/05/14 07:10 https://github.com/google/kmsan.git master 9bad779decc0 481f030c .config console log report ci-upstream-kmsan-gce
2018/05/14 05:17 https://github.com/google/kmsan.git master 9bad779decc0 481f030c .config console log report ci-upstream-kmsan-gce
2018/05/14 03:48 https://github.com/google/kmsan.git master 9bad779decc0 481f030c .config console log report ci-upstream-kmsan-gce
2018/05/14 02:37 https://github.com/google/kmsan.git master 9bad779decc0 481f030c .config console log report ci-upstream-kmsan-gce
2018/05/14 00:04 https://github.com/google/kmsan.git master 9bad779decc0 481f030c .config console log report ci-upstream-kmsan-gce
2018/05/13 21:03 https://github.com/google/kmsan.git master 9bad779decc0 c05b619d .config console log report ci-upstream-kmsan-gce
2018/05/13 19:23 https://github.com/google/kmsan.git master 9bad779decc0 c05b619d .config console log report ci-upstream-kmsan-gce
2018/05/13 15:14 https://github.com/google/kmsan.git master 9bad779decc0 c05b619d .config console log report ci-upstream-kmsan-gce
2018/05/13 12:28 https://github.com/google/kmsan.git master 9bad779decc0 c05b619d .config console log report ci-upstream-kmsan-gce
2018/05/13 08:36 https://github.com/google/kmsan.git master 74ee2200b89f e726f42b .config console log report ci-upstream-kmsan-gce
2018/05/13 07:30 https://github.com/google/kmsan.git master 74ee2200b89f e726f42b .config console log report ci-upstream-kmsan-gce
2018/05/13 03:45 https://github.com/google/kmsan.git master 74ee2200b89f e726f42b .config console log report ci-upstream-kmsan-gce
2018/05/13 02:08 https://github.com/google/kmsan.git master 74ee2200b89f e726f42b .config console log report ci-upstream-kmsan-gce
2018/05/12 23:56 https://github.com/google/kmsan.git master 74ee2200b89f e726f42b .config console log report ci-upstream-kmsan-gce
2018/05/12 21:57 https://github.com/google/kmsan.git master 74ee2200b89f e726f42b .config console log report ci-upstream-kmsan-gce
2018/05/12 19:29 https://github.com/google/kmsan.git master 74ee2200b89f e726f42b .config console log report ci-upstream-kmsan-gce
2018/05/12 16:08 https://github.com/google/kmsan.git master 74ee2200b89f e726f42b .config console log report ci-upstream-kmsan-gce
2018/05/12 14:08 https://github.com/google/kmsan.git master 74ee2200b89f e726f42b .config console log report ci-upstream-kmsan-gce
2018/05/12 11:30 https://github.com/google/kmsan.git master 74ee2200b89f e726f42b .config console log report ci-upstream-kmsan-gce
2018/05/12 06:12 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/12 03:10 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/12 02:18 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/12 00:18 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 22:45 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 22:39 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 20:30 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 20:18 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 19:14 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 18:49 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 16:30 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 15:46 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 14:50 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 14:14 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 12:27 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 11:16 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 11:08 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 10:34 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 10:07 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 09:14 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 09:12 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 08:53 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/05/11 08:48 https://github.com/google/kmsan.git master 74ee2200b89f 12c7428a .config console log report ci-upstream-kmsan-gce
2018/04/10 01:32 https://github.com/google/kmsan.git master e2ab7e8abba4 b9f65507 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.