syzbot


BUG: sleeping function called from invalid context in tpk_write
Status: upstream: reported C repro on 2019/12/07 17:25
Reported-by: syzbot+2eeef62ee31f9460ad65@syzkaller.appspotmail.com
Fix commit: 9a655c77 ttyprintk: fix a potential deadlock in interrupt context issue
Patched on: [ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu-upstream ci-qemu-upstream-386 ci-upstream-kmsan-gce]
First crash: 71d, last: 30d

Cause bisection: the bug happens on the oldest tested release
Crash: no output from test machine (log)
Repro: C syz .config
similar bugs (2):
Kernel Title Repro Bisected Count Last Reported Patched Status
linux-4.14 BUG: sleeping function called from invalid context in tpk_write C 10 11d 73d 0/1 upstream: reported C repro on 2019/12/05 19:45
linux-4.19 BUG: sleeping function called from invalid context in tpk_write C 30 11d 73d 0/1 upstream: reported C repro on 2019/12/05 15:25

Sample crash report:

Crashes (12):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro Maintainers
ci-upstream-kasan-gce-selinux-root 2019/12/07 23:36 upstream ad910e36 1508f453 .config log report syz C arnd@arndb.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2019/12/07 17:18 upstream eea2d5da 85f26751 .config log report syz C arnd@arndb.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2019/12/07 15:55 upstream eea2d5da 85f26751 .config log report syz C bp@alien8.de, hpa@zytor.com, john.wanghui@huawei.com, keescook@chromium.org, kernelfans@gmail.com, len.brown@intel.com, linux-kernel@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, tglx@linutronix.de, x86@kernel.org, zhangshaokun@hisilicon.com, zhenzhong.duan@oracle.com
ci-upstream-linux-next-kasan-gce-root 2019/12/20 02:05 linux-next 9f8535c5 36650b4b .config log report syz C arnd@arndb.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2019/12/19 21:47 linux-next 9f8535c5 36650b4b .config log report syz C bp@alien8.de, hpa@zytor.com, keescook@chromium.org, len.brown@intel.com, linux-kernel@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, tglx@linutronix.de, x86@kernel.org, zhangshaokun@hisilicon.com
ci-upstream-kasan-gce-selinux-root 2020/01/17 20:30 upstream ab7541c3 3de7aabb .config log report akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org
ci-upstream-kasan-gce-selinux-root 2020/01/12 04:25 upstream ac61145a 4c04afaa .config log report ajk@comnets.uni-bremen.de, davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org
ci-upstream-kasan-gce-root 2020/01/09 17:31 upstream b07f636f 4de4e9f0 .config log report arnd@arndb.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/01/07 02:05 upstream ec7b3f53 53430d97 .config log report arnd@arndb.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-selinux-root 2020/01/06 01:10 upstream c79f46a2 438e1227 .config log report jmorris@namei.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, penguin-kernel@I-love.SAKURA.ne.jp, serge@hallyn.com, takedakn@nttdata.co.jp
ci-upstream-kasan-gce-root 2020/01/03 03:01 upstream 7ca4ad5b 25a0186e .config log report arnd@arndb.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2020/01/11 04:19 linux-next 6c09d7db 4de4e9f0 .config log report a@unstable.cc, b.a.t.m.a.n@lists.open-mesh.org, davem@davemloft.net, linux-kernel@vger.kernel.org, mareklindner@neomailbox.ch, netdev@vger.kernel.org, sven@narfation.org, sw@simonwunderlich.de