syzbot


WARNING: locking bug in reacquire_held_locks

Status: closed as invalid on 2019/06/04 02:31
Subsystems: net
[Documentation on labels]
First crash: 1814d, last: 1814d

Sample crash report:
WARNING: CPU: 0 PID: 4073 at kernel/locking/lockdep.c:734 arch_local_save_flags arch/x86/include/asm/paravirt.h:762 [inline]
WARNING: CPU: 0 PID: 4073 at kernel/locking/lockdep.c:734 arch_local_save_flags arch/x86/include/asm/paravirt.h:760 [inline]
WARNING: CPU: 0 PID: 4073 at kernel/locking/lockdep.c:734 look_up_lock_class kernel/locking/lockdep.c:725 [inline]
WARNING: CPU: 0 PID: 4073 at kernel/locking/lockdep.c:734 register_lock_class+0xe10/0x1860 kernel/locking/lockdep.c:1078
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 4073 Comm: syz-executor.2 Not tainted 5.1.0+ #3
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/0x65c kernel/panic.c:214
 __warn.cold+0x20/0x45 kernel/panic.c:566
 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:972
RIP: 0010:look_up_lock_class kernel/locking/lockdep.c:734 [inline]
RIP: 0010:register_lock_class+0xe10/0x1860 kernel/locking/lockdep.c:1078
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:ffff888071ed7928 EFLAGS: 00010083
RAX: dffffc0000000000 RBX: ffff888086953820 RCX: 0000000000000000
RDX: 1ffff11010d2a707 RSI: 0000000000000000 RDI: ffff888086953838
RBP: ffff888071ed79f0 R08: 1ffff1100e3daf2d R09: ffffffff8a445c80
R10: ffffffff8a0cf488 R11: 0000000000000000 R12: ffffffff8a10ecb0
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff87fd7c20
 __lock_acquire+0x116/0x5490 kernel/locking/lockdep.c:3673
 reacquire_held_locks+0xfa/0x520 kernel/locking/lockdep.c:3931
 __lock_release kernel/locking/lockdep.c:4096 [inline]
 lock_release+0x3b9/0xa00 kernel/locking/lockdep.c:4321
 sock_release_ownership include/net/sock.h:1490 [inline]
 release_sock+0x183/0x1c0 net/core/sock.c:2942
 inet_autobind+0x145/0x1a0 net/ipv4/af_inet.c:192
 inet_dgram_connect+0x252/0x2e0 net/ipv4/af_inet.c:573
 __sys_connect+0x266/0x330 net/socket.c:1840
 __do_sys_connect net/socket.c:1851 [inline]
 __se_sys_connect net/socket.c:1848 [inline]
 __ia32_sys_connect+0x72/0xb0 net/socket.c:1848
 do_syscall_32_irqs_on arch/x86/entry/common.c:334 [inline]
 do_fast_syscall_32+0x281/0xd54 arch/x86/entry/common.c:405
 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139
RIP: 0023:0xf7fd4849
Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 14 24 c3 8b 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 002b:00000000f5dd00cc EFLAGS: 00000296 ORIG_RAX: 000000000000016a
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000100
RDX: 000000000000001c RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/05/08 19:32 upstream 80f232121b69 a7383bfa .config console log report ci-upstream-kasan-gce-386
* Struck through repros no longer work on HEAD.