syzbot
WARNING: locking bug in ip6_datagram_connect
Status:
auto-obsoleted due to no activity on 2023/05/08 01:15
Subsystems:
net
[Documentation on labels]
Reported-by: syzbot+d3af95d2506e1511dcc1@syzkaller.appspotmail.com
First crash: 2240d, last: 1313d
▶
▼
Last patch testing requests (5)
▶
▼
Fix bisection attempts (6)
▶
▼
Cause bisection attempts (2)
Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 18778 at kernel/locking/lockdep.c:895 look_up_lock_class kernel/locking/lockdep.c:895 [inline]
WARNING: CPU: 0 PID: 18778 at kernel/locking/lockdep.c:895 register_lock_class+0x1fb/0x1180 kernel/locking/lockdep.c:1244
Modules linked in:
CPU: 0 PID: 18778 Comm: syz-executor.3 Not tainted 5.13.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:look_up_lock_class kernel/locking/lockdep.c:895 [inline]
RIP: 0010:register_lock_class+0x1fb/0x1180 kernel/locking/lockdep.c:1244
Code: 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 98 0c 00 00 4d 3b 67 18 74 0b 49 81 3f c0 93 42 8f 74 02 <0f> 0b 85 ed 0f 84 20 01 00 00 f6 44 24 04 01 0f 85 15 01 00 00 83
RSP: 0018:ffffc9000aa3fa48 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 1ffff92001547f50 RCX: ffffffff90773720
RDX: 1ffff11005992caf RSI: 0000000000000000 RDI: ffff88802cc96578
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 000000000000062b R12: ffffffff8a683660
R13: ffffffff90ae8800 R14: ffffffff9026fd00 R15: ffff88802cc96560
FS: 00007f4bf26fe700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000568000 CR3: 00000000153b4000 CR4: 0000000000350ef0
Call Trace:
__lock_acquire+0x102/0x5230 kernel/locking/lockdep.c:4781
lock_acquire kernel/locking/lockdep.c:5512 [inline]
lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5477
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
_raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:175
spin_lock_bh include/linux/spinlock.h:359 [inline]
lock_sock_nested+0x40/0x120 net/core/sock.c:3057
lock_sock include/net/sock.h:1610 [inline]
ip6_datagram_connect+0x1d/0x40 net/ipv6/datagram.c:271
inet_dgram_connect+0x154/0x2d0 net/ipv4/af_inet.c:580
__sys_connect_file+0x155/0x1a0 net/socket.c:1837
__sys_connect+0x161/0x190 net/socket.c:1854
__do_sys_connect net/socket.c:1864 [inline]
__se_sys_connect net/socket.c:1861 [inline]
__x64_sys_connect+0x6f/0xb0 net/socket.c:1861
do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665f9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4bf26fe188 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 00000000004665f9
RDX: 000000000000001c RSI: 0000000020000080 RDI: 0000000000000005
RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008
R13: 00007ffe4571146f R14: 00007f4bf26fe300 R15: 0000000000022000
* Struck through repros no longer work on HEAD.