syzbot
WARNING: lock held when returning to user space in sock_setsockopt
Status: fixed on 2021/11/10 00:50
Subsystems:
net
[Documentation on labels]
Fix commit:
271dbc318432
sock: unlock on error in sock_setsockopt()
First crash: 1860d, last: 1860d
Sample crash report:
================================================
WARNING: lock held when returning to user space!
5.13.0-syzkaller #0 Not tainted
------------------------------------------------
syz-executor.5/24852 is leaving the kernel with locks still held!
1 lock held by syz-executor.5/24852:
#0: ffff88807f934220 (sk_lock-AF_TIPC){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1613 [inline]
#0: ffff88807f934220 (sk_lock-AF_TIPC){+.+.}-{0:0}, at: sock_setsockopt+0x1e3/0x2490 net/core/sock.c:980
* Struck through repros no longer work on HEAD.