syzbot


WARNING: lock held when returning to user space in tcp_setsockopt

Status: auto-closed as invalid on 2021/11/06 22:39
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 447d, last: 447d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: lock held when returning to user space in tcp_setsockopt (2) C done done 6 339d 345d 22/24 fixed on 2022/03/08 16:11

Sample crash report:
================================================
WARNING: lock held when returning to user space!
5.14.0-next-20210907-syzkaller #0 Not tainted
------------------------------------------------
syz-executor.2/8799 is leaving the kernel with locks still held!
1 lock held by syz-executor.2/8799:
 #0: ffff888029fc3020 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1612 [inline]
 #0: ffff888029fc3020 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: do_tcp_setsockopt net/ipv4/tcp.c:3372 [inline]
 #0: ffff888029fc3020 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_setsockopt+0x5b8/0x2520 net/ipv4/tcp.c:3660

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2021/09/07 22:35 linux-next b2bb710d34d5 064c9eb7 .config log report info WARNING: lock held when returning to user space in tcp_setsockopt
* Struck through repros no longer work on HEAD.