syzbot


WARNING: locking bug in rxrpc_do_sendmsg

Status: auto-closed as invalid on 2022/05/15 10:23
Reported-by: syzbot+1943fcb08cd1de57ec0f@syzkaller.appspotmail.com
First crash: 831d, last: 831d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING: locking bug in rxrpc_do_sendmsg C error 2 831d 849d 0/1 upstream: reported C repro on 2021/12/28 12:28

Sample crash report:
audit: type=1800 audit(1642242141.815:25): pid=12022 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="bus" dev="sda1" ino=14022 res=0
qnx4: no qnx4 filesystem (no root dir).
DEBUG_LOCKS_WARN_ON(depth <= 0)
------------[ cut here ]------------
WARNING: CPU: 1 PID: 11960 at kernel/locking/lockdep.c:3760 __lock_release kernel/locking/lockdep.c:3760 [inline]
WARNING: CPU: 1 PID: 11960 at kernel/locking/lockdep.c:3760 lock_release.cold+0x13/0xbf kernel/locking/lockdep.c:4017
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 11960 Comm: syz-executor.0 Not tainted 4.14.262-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+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:183
 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:964
RIP: 0010:__lock_release kernel/locking/lockdep.c:3760 [inline]
RIP: 0010:lock_release.cold+0x13/0xbf kernel/locking/lockdep.c:4017
RSP: 0018:ffff8880532d7948 EFLAGS: 00010086
RAX: 000000000000001f RBX: 1ffff1100a65af2c RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffed100a65af1f
RBP: ffff888098206c88 R08: 000000000000001f R09: 0000000000000000
R10: 0000000000000001 R11: 0000003f1f7d9e87 R12: ffffffff867fd173
R13: ffffffff8bec9d40 R14: ffff888052b22380 R15: 0000000000000000
 __mutex_unlock_slowpath+0x75/0x770 kernel/locking/mutex.c:1018
 rxrpc_do_sendmsg+0x513/0xfb0 net/rxrpc/sendmsg.c:643
 rxrpc_sendmsg+0x3cf/0x5f0 net/rxrpc/af_rxrpc.c:543
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7fac02543fe9
RSP: 002b:00007fac00e56168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fac026571d0 RCX: 00007fac02543fe9
RDX: 0000000000000700 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 00007fac0259e08d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdc38b0e9f R14: 00007fac00e56300 R15: 0000000000022000
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
2022/01/15 10:22 linux-4.14.y 4ba8e26127c3 723cfaf0 .config console log report info ci2-linux-4-14 WARNING: locking bug in rxrpc_do_sendmsg
* Struck through repros no longer work on HEAD.