syzbot


INFO: trying to register non-static key in io_cqring_ev_posted (3)
Status: upstream: reported C repro on 2020/05/17 04:30
Reported-by: syzbot+8c91f5d054e998721c57@syzkaller.appspotmail.com
Fix commit: 583863ed io_uring: initialize ctx->sqo_wait earlier
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 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], missing on: [ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci2-upstream-kcsan-gce ci2-upstream-usb]
First crash: 17d, last: 14d

Cause bisection: introduced by (bisect log):

commit b41e98524e424d104aa7851d54fd65820759875a
Author: Jens Axboe <axboe@kernel.dk>
Date: Mon Feb 17 16:52:41 2020 +0000

  io_uring: add per-task callback handler

Crash: INFO: trying to register non-static key in io_cqring_ev_posted (log)
Repro: C syz .config
similar bugs (2):
Kernel Title Repro Bisected Count Last Reported Patched Status
upstream INFO: trying to register non-static key in io_cqring_ev_posted (2) C cause 42 26d 63d 17/17 fixed on 2020/05/10 10:42
upstream INFO: trying to register non-static key in io_cqring_ev_posted C cause 6 188d 200d 16/17 fixed on 2019/12/13 00:31

Sample crash report:

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro Maintainers
ci-upstream-linux-next-kasan-gce-root 2020/05/16 17:32 linux-next ac935d22 37bccd4e .config log report syz C axboe@kernel.dk, io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk
ci-upstream-linux-next-kasan-gce-root 2020/05/19 18:53 linux-next ac935d22 6d882fd2 .config log report axboe@kernel.dk, io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk
ci-upstream-linux-next-kasan-gce-root 2020/05/16 16:54 linux-next ac935d22 37bccd4e .config log report axboe@kernel.dk, io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk