syzbot


BUG: sleeping function called from invalid context in __might_resched
Status: upstream: reported C repro on 2021/11/10 10:18
Reported-by: syzbot+5f47a8cea6a12b77a876@syzkaller.appspotmail.com
First crash: 25d, last: 17d

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: BUG: sleeping function called from invalid context in do_con_write (log)
Repro: C syz .config
Patch testing requests:
Created Duration User Patch Repo Result
2021/11/16 09:13 15m fmdefrancesco@gmail.com patch upstream OK
2021/11/16 09:03 16m fmdefrancesco@gmail.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git -- OK
2021/11/16 08:53 0m fmdefrancesco@gmail.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git --- error
2021/11/16 07:57 10m fmdefrancesco@gmail.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git -- report log

Sample crash report:

Crashes (9):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2021/11/13 20:12 linux-next f2e19fd15bd7 83f5c9b5 .config log report syz C BUG: sleeping function called from invalid context in __might_resched
ci-upstream-kasan-gce-root 2021/11/11 13:22 upstream debe436e77c7 75b04091 .config log report info BUG: sleeping function called from invalid context in __might_resched
ci-upstream-kasan-gce-root 2021/11/10 23:36 upstream 881007522c8f 75b04091 .config log report info BUG: sleeping function called from invalid context in __might_resched
ci-upstream-kasan-gce-selinux-root 2021/11/10 15:59 upstream cb690f5238d7 75b04091 .config log report info BUG: sleeping function called from invalid context in __might_resched
ci-upstream-kasan-gce 2021/11/08 20:51 upstream e851dfae4371 d29682f1 .config log report info BUG: sleeping function called from invalid context in __might_resched
ci-upstream-kasan-gce 2021/11/07 06:47 upstream 512b7931ad05 4c1be0be .config log report info BUG: sleeping function called from invalid context in __might_resched
ci-qemu-upstream-386 2021/11/11 20:37 upstream debe436e77c7 75b04091 .config log report info BUG: sleeping function called from invalid context in __might_resched
ci-upstream-linux-next-kasan-gce-root 2021/11/13 19:43 linux-next f2e19fd15bd7 83f5c9b5 .config log report info BUG: sleeping function called from invalid context in __might_resched
ci-upstream-linux-next-kasan-gce-root 2021/11/06 10:15 linux-next 6a37ebbe07bf 4c1be0be .config log report info BUG: sleeping function called from invalid context in __might_resched