syzbot


INFO: task hung in lock_sock_nested (4)
Status: fixed on 2021/03/10 01:48
Reported-by: syzbot+@syzkaller.appspotmail.com
Fix commit: 05e3ecea4a63 mptcp: avoid potential infinite loop in mptcp_recvmsg()
First crash: 372d, last: 325d

Cause bisection: introduced by (bisect log) :
commit b6df8c81412190fbd5eaa3cec7f642142d9c16cd
Author: Petr Malat <oss@malat.biz>
Date: Fri Oct 30 13:26:33 2020 +0000

  sctp: Fix COMM_LOST/CANT_STR_ASSOC err reporting on big-endian platforms

Crash: BUG: sleeping function called from invalid context in sta_info_move_state (log)
Repro: C syz .config
similar bugs (12):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in lock_sock_nested (2) C done 418 642d 655d 17/22 fixed on 2020/04/15 17:19
upstream INFO: task hung in lock_sock_nested C 2593 659d 1459d 0/22 closed as dup on 2017/12/23 20:15
android-44 INFO: task hung in lock_sock_nested (2) 4 742d 837d 0/2 auto-closed as invalid on 2020/03/27 01:37
upstream INFO: task hung in lock_sock_nested (3) C done 5 431d 432d 17/22 fixed on 2020/11/16 12:12
android-49 INFO: task hung in lock_sock_nested (2) 2 820d 939d 0/3 auto-closed as invalid on 2020/01/08 15:18
linux-4.14 INFO: task hung in lock_sock_nested 1 762d 762d 0/1 auto-closed as invalid on 2020/03/06 15:38
linux-4.14 INFO: task hung in lock_sock_nested (2) 1 500d 500d 0/1 auto-closed as invalid on 2020/11/24 03:07
android-44 INFO: task hung in lock_sock_nested C 82 1379d 1381d 0/2 closed as invalid on 2019/03/08 00:11
upstream INFO: task can't die in __lock_sock C done 870 9d05h 115d 0/22 upstream: reported C repro on 2021/08/15 16:47
android-49 INFO: task hung in lock_sock_nested C 101 1019d 1381d 0/3 closed as invalid on 2019/03/08 00:11
android-414 INFO: task hung in lock_sock_nested 65 786d 971d 0/1 auto-closed as invalid on 2020/02/12 04:11
linux-4.19 INFO: task hung in lock_sock_nested 1 579d 579d 0/1 auto-closed as invalid on 2020/09/05 19:53

Sample crash report:

Crashes (6):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-kasan-gce 2020/12/01 21:35 net-next cb7fb043e69a 07bfe8a5 .config log report syz C
ci-upstream-kasan-gce-root 2021/01/17 18:50 upstream 0da0a8a0a0e1 813be542 .config log report info INFO: task hung in lock_sock_nested
ci-upstream-net-kasan-gce 2020/12/02 03:33 net-next 87f75e5860e0 c42a35e9 .config log report info
ci-upstream-net-kasan-gce 2020/12/01 18:46 net-next cb7fb043e69a 07bfe8a5 .config log report info
ci-upstream-net-kasan-gce 2020/12/01 14:13 net-next cb7fb043e69a 07bfe8a5 .config log report info
ci-upstream-net-kasan-gce 2020/12/01 13:51 net-next cb7fb043e69a 07bfe8a5 .config log report info