syzbot


WARNING: locking bug in inet_autobind (2)

Status: auto-closed as invalid on 2020/08/15 18:15
Reported-by: syzbot+a0a17bee35a410c2afc8@syzkaller.appspotmail.com
First crash: 810d, last: 810d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: locking bug in inet_autobind syz done error 102 81d 1148d 0/22 upstream: reported syz repro on 2019/05/16 05:46
linux-4.14 WARNING: locking bug in inet_autobind 1 1098d 1098d 0/1 auto-closed as invalid on 2019/11/01 17:53
linux-4.19 WARNING: locking bug in inet_autobind C error 38 22d 602d 0/1 upstream: reported C repro on 2020/11/12 14:20

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 12098 at kernel/locking/lockdep.c:722 arch_local_save_flags arch/x86/include/asm/paravirt.h:774 [inline]
WARNING: CPU: 1 PID: 12098 at kernel/locking/lockdep.c:722 arch_local_save_flags arch/x86/include/asm/paravirt.h:772 [inline]
WARNING: CPU: 1 PID: 12098 at kernel/locking/lockdep.c:722 look_up_lock_class kernel/locking/lockdep.c:713 [inline]
WARNING: CPU: 1 PID: 12098 at kernel/locking/lockdep.c:722 register_lock_class+0xd7e/0x1600 kernel/locking/lockdep.c:756
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 12098 Comm: syz-executor.4 Not tainted 4.14.176-syzkaller #0
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+0x13e/0x194 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x2f/0x30 kernel/panic.c:547
 report_bug+0x20a/0x248 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:look_up_lock_class kernel/locking/lockdep.c:722 [inline]
RIP: 0010:register_lock_class+0xd7e/0x1600 kernel/locking/lockdep.c:756
RSP: 0018:ffff8880360dfa68 EFLAGS: 00010087
RAX: dffffc0000000000 RBX: ffffffff8a588b00 RCX: ffff88808eb4d8e0
RDX: 1ffff11011d69b1f RSI: 0000000000000000 RDI: ffff88808eb4d8f8
RBP: 1ffff11006c1bf57 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff8a0a1108 R11: 0000000000000000 R12: ffffffff8a114ee0
R13: ffffffff87381580 R14: 0000000000000000 R15: ffffffff8b0271b0
 __lock_acquire+0x147/0x4620 kernel/locking/lockdep.c:3374
 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3994
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
 _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:176
 spin_lock_bh include/linux/spinlock.h:322 [inline]
 lock_sock_nested+0x39/0x100 net/core/sock.c:2765
 lock_sock include/net/sock.h:1467 [inline]
 inet_autobind+0x1a/0x180 net/ipv4/af_inet.c:178
 inet_dgram_connect+0x134/0x1f0 net/ipv4/af_inet.c:538
 SYSC_connect+0x1c6/0x250 net/socket.c:1655
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x45c889
RSP: 002b:00007ff7fb1a6c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007ff7fb1a76d4 RCX: 000000000045c889
RDX: 000000000000001c RSI: 0000000020000040 RDI: 0000000000000006
RBP: 000000000076bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000084 R14: 00000000004c320f R15: 000000000076bfac
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2020/04/17 18:14 linux-4.14.y c10b57a567e4 18397578 .config log report