syzbot


WARNING: lock held when returning to user space in tcp_setsockopt

Status: auto-closed as invalid on 2021/11/06 22:39
Subsystems: net
[Documentation on labels]
First crash: 959d, last: 959d
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) net C done done 6 851d 857d 20/26 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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/09/07 22:35 linux-next b2bb710d34d5 064c9eb7 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING: lock held when returning to user space in tcp_setsockopt
* Struck through repros no longer work on HEAD.