syzbot


WARNING: locking bug in udpv6_pre_connect

Status: auto-closed as invalid on 2020/01/23 04:37
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+65f10c5aadc049eb5ef5@syzkaller.appspotmail.com
First crash: 1804d, last: 1669d
Discussions (3)
Title Replies (including bot) Last reply
Reminder: 99 open syzbot bugs in net subsystem 14 (14) 2019/07/31 15:13
Reminder: 94 open syzbot bugs in net subsystem 1 (1) 2019/06/25 05:48
WARNING: locking bug in udpv6_pre_connect 0 (1) 2019/05/16 05:46

Sample crash report:
WARNING: CPU: 1 PID: 17496 at kernel/locking/lockdep.c:735 arch_local_save_flags arch/x86/include/asm/paravirt.h:762 [inline]
WARNING: CPU: 1 PID: 17496 at kernel/locking/lockdep.c:735 arch_local_save_flags arch/x86/include/asm/paravirt.h:760 [inline]
WARNING: CPU: 1 PID: 17496 at kernel/locking/lockdep.c:735 look_up_lock_class kernel/locking/lockdep.c:726 [inline]
WARNING: CPU: 1 PID: 17496 at kernel/locking/lockdep.c:735 register_lock_class+0xe10/0x1860 kernel/locking/lockdep.c:1079
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 17496 Comm: syz-executor.3 Not tainted 5.2.0-rc3+ #51
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+0x172/0x1f0 lib/dump_stack.c:113
 panic+0x2cb/0x744 kernel/panic.c:219
 __warn.cold+0x20/0x4d kernel/panic.c:576
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:986
RIP: 0010:look_up_lock_class kernel/locking/lockdep.c:735 [inline]
RIP: 0010:register_lock_class+0xe10/0x1860 kernel/locking/lockdep.c:1079
Code: 00 48 89 da 4d 8b 76 c0 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 23 07 00 00 4c 89 33 e9 e3 f4 ff ff 0f 0b <0f> 0b e9 ea f3 ff ff 44 89 e0 4c 8b 95 50 ff ff ff 83 c0 01 4c 8b
RSP: 0018:ffff8880787df9e8 EFLAGS: 00010087
RAX: dffffc0000000000 RBX: ffff888097fc3120 RCX: 0000000000000000
RDX: 1ffff11012ff8627 RSI: 0000000000000000 RDI: ffff888097fc3138
RBP: ffff8880787dfab0 R08: 1ffff1100f0fbf45 R09: ffffffff8a65ad40
R10: ffffffff8a2e4a90 R11: 0000000000000000 R12: ffffffff8a3243a0
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff88023aa0
 __lock_acquire+0x116/0x5490 kernel/locking/lockdep.c:3674
 lock_acquire+0x16f/0x3f0 kernel/locking/lockdep.c:4303
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
 _raw_spin_lock_bh+0x33/0x50 kernel/locking/spinlock.c:175
 spin_lock_bh include/linux/spinlock.h:343 [inline]
 lock_sock_nested+0x41/0x120 net/core/sock.c:2911
 lock_sock include/net/sock.h:1520 [inline]
 udpv6_pre_connect net/ipv6/udp.c:1064 [inline]
 udpv6_pre_connect+0xc4/0x170 net/ipv6/udp.c:1046
 inet_dgram_connect+0x1c4/0x2d0 net/ipv4/af_inet.c:564
 __sys_connect+0x264/0x330 net/socket.c:1834
 __do_sys_connect net/socket.c:1845 [inline]
 __se_sys_connect net/socket.c:1842 [inline]
 __x64_sys_connect+0x73/0xb0 net/socket.c:1842
 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4592c9
Code: fd b7 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 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007efe890f4c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004592c9
RDX: 000000000000001c RSI: 0000000020000000 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007efe890f56d4
R13: 00000000004bf7b5 R14: 00000000004d0f38 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/06/14 17:01 net-old 385097a36757 998ccc76 .config console log report ci-upstream-net-this-kasan-gce
2019/06/04 10:25 net-old 28e74a7cfd64 ce07a7ae .config console log report ci-upstream-net-this-kasan-gce
2019/05/25 15:23 net-old ce8d24f9a596 85c57315 .config console log report ci-upstream-net-this-kasan-gce
2019/05/23 03:44 net-old 54dee406374c 84b9d384 .config console log report ci-upstream-net-this-kasan-gce
2019/05/12 15:09 net-old 8f779443b440 c017728b .config console log report ci-upstream-net-this-kasan-gce
2019/09/25 04:36 net-next-old b41dae061bbd e38a6630 .config console log report ci-upstream-net-kasan-gce
2019/07/21 08:51 net-next-old 31cc088a4f5d 1656845f .config console log report ci-upstream-net-kasan-gce
2019/06/30 05:55 net-next-old f072218cca5b 7509bf36 .config console log report ci-upstream-net-kasan-gce
2019/06/27 12:28 net-next-old 8b89d8dad5df 7509bf36 .config console log report ci-upstream-net-kasan-gce
2019/06/20 18:18 net-next-old dca73a65a683 34bf9440 .config console log report ci-upstream-net-kasan-gce
2019/06/17 21:52 net-next-old 6a6b5c8bff89 442206d7 .config console log report ci-upstream-net-kasan-gce
2019/06/09 14:04 net-next-old 8d94a8733c94 0159583c .config console log report ci-upstream-net-kasan-gce
2019/06/08 13:29 net-next-old a6cdeeb16bff cf9c3a50 .config console log report ci-upstream-net-kasan-gce
2019/06/04 09:14 net-next-old b7034146756b ce07a7ae .config console log report ci-upstream-net-kasan-gce
2019/08/30 20:00 linux-next ed2393ca0910 fd37b39e .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.