syzbot


WARNING: locking bug in inet_dgram_connect

Status: auto-closed as invalid on 2020/01/26 13:01
Reported-by: syzbot+21dc52745c289e0f2d79@syzkaller.appspotmail.com
First crash: 978d, last: 978d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: locking bug in inet_dgram_connect (2) syz done error 8 237d 796d 0/22 upstream: reported syz repro on 2020/04/27 09:08

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 15106 at kernel/locking/lockdep.c:841 look_up_lock_class+0x1ac/0x2a0 kernel/locking/lockdep.c:840
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 15106 Comm: syz-executor.2 Not tainted 5.4.0-rc5 #0
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+0x1d8/0x2f8 lib/dump_stack.c:113
 panic+0x264/0x7a9 kernel/panic.c:221
 __warn+0x20e/0x210 kernel/panic.c:582
 report_bug+0x1b6/0x2f0 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 do_error_trap+0xd7/0x440 arch/x86/kernel/traps.c:272
 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:291
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1028
RIP: 0010:look_up_lock_class+0x1ac/0x2a0 kernel/locking/lockdep.c:840
Code: 53 00 4c 3b 33 74 7d 48 8b 45 c8 42 80 3c 28 00 48 8b 5d d0 74 08 48 89 df e8 e0 4a 53 00 48 c7 c0 70 e4 fa 88 48 39 03 74 5a <0f> 0b eb 56 e8 bb 22 e9 01 45 31 e4 48 c7 c7 a3 09 38 88 44 89 fe
RSP: 0018:ffff8880429a7a98 EFLAGS: 00010002
RAX: ffffffff88fae470 RBX: ffff888091d0e8a0 RCX: ffff888091d0e8a0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888091d0e8a0
RBP: ffff8880429a7ad0 R08: 0000000000000001 R09: 0000000000000000
R10: fffffbfff117cc15 R11: 0000000000000000 R12: ffffffff89205fd0
R13: dffffc0000000000 R14: ffffffff88530053 R15: 0000000000000000
 register_lock_class+0x99/0xea0 kernel/locking/lockdep.c:1185
 __lock_acquire+0x116/0x1be0 kernel/locking/lockdep.c:3837
 lock_acquire+0x158/0x250 kernel/locking/lockdep.c:4487
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
 _raw_spin_lock_bh+0x34/0x50 kernel/locking/spinlock.c:175
 spin_lock_bh include/linux/spinlock.h:343 [inline]
 lock_sock_nested+0x45/0x120 net/core/sock.c:2938
 lock_sock include/net/sock.h:1527 [inline]
 inet_autobind net/ipv4/af_inet.c:179 [inline]
 inet_dgram_connect+0x1d7/0x3d0 net/ipv4/af_inet.c:569
 __sys_connect+0x316/0x420 net/socket.c:1828
 __do_sys_connect net/socket.c:1839 [inline]
 __se_sys_connect net/socket.c:1836 [inline]
 __x64_sys_connect+0x7a/0x90 net/socket.c:1836
 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459f39
Code: ad b6 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 b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fc0addc9c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459f39
RDX: 000000000000001c RSI: 0000000020000080 RDI: 0000000000000003
RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc0addca6d4
R13: 00000000004c0651 R14: 00000000004d2be8 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2019/10/28 13:00 upstream d6d5df1db6e9 25bb509e .config log report