syzbot


witness: acquiring duplicate lock of same type: "&sc->sc_lock"
Status: fixed on 2019/02/20 21:58
Reported-by: syzbot+249e483406a1f7843915@syzkaller.appspotmail.com
Fix commit: 1f8a38b155bf When adding a wsmux device to an existing wsmux device using ioctl(WSMUXIO_ADD_DEVICE), two distinct locks of the same type are acquired. Thus, witness will emit warning. Since acquiring two different locks of the same type is harmless in this context, relax the witness check by flagging the locks as RWL_DUPOK.
First crash: 891d, last: 890d

Sample crash report:

Crashes (231):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-openbsd-multicore 2019/02/19 05:37 openbsd 644ac04beb28 59f36113 .config log report syz C
ci-openbsd-multicore 2019/02/20 21:46 openbsd a3a698175c42 c95f0707 .config log report
ci-openbsd-multicore 2019/02/20 20:44 openbsd a3a698175c42 c95f0707 .config log report
ci-openbsd-multicore 2019/02/20 19:41 openbsd a3a698175c42 c95f0707 .config log report
ci-openbsd-multicore 2019/02/20 18:22 openbsd a3a698175c42 c95f0707 .config log report
ci-openbsd-multicore 2019/02/20 17:58 openbsd a3a698175c42 c95f0707 .config log report
ci-openbsd-multicore 2019/02/20 16:55 openbsd a3a698175c42 c95f0707 .config log report
ci-openbsd-multicore 2019/02/20 15:58 openbsd a3a698175c42 c95f0707 .config log report
ci-openbsd-multicore 2019/02/20 14:31 openbsd a3a698175c42 c95f0707 .config log report
ci-openbsd-multicore 2019/02/20 13:10 openbsd a3a698175c42 c95f0707 .config log report
ci-openbsd-multicore 2019/02/20 12:08 openbsd a3a698175c42 c95f0707 .config log report
ci-openbsd-multicore 2019/02/20 10:59 openbsd a3a698175c42 c95f0707 .config log report
ci-openbsd-multicore 2019/02/20 09:30 openbsd a3a698175c42 c95f0707 .config log report
ci-openbsd-multicore 2019/02/20 08:25 openbsd a3a698175c42 4df543c9 .config log report
ci-openbsd-multicore 2019/02/20 07:48 openbsd a3a698175c42 4df543c9 .config log report
ci-openbsd-multicore 2019/02/20 06:47 openbsd a3a698175c42 4df543c9 .config log report
ci-openbsd-multicore 2019/02/20 05:32 openbsd a3a698175c42 4df543c9 .config log report
ci-openbsd-multicore 2019/02/20 04:37 openbsd a3a698175c42 4df543c9 .config log report
ci-openbsd-multicore 2019/02/20 03:28 openbsd 77a2d5665065 4df543c9 .config log report
ci-openbsd-multicore 2019/02/20 02:10 openbsd 77a2d5665065 4df543c9 .config log report
ci-openbsd-multicore 2019/02/20 00:54 openbsd 77a2d5665065 4df543c9 .config log report
ci-openbsd-multicore 2019/02/19 23:32 openbsd 77a2d5665065 4df543c9 .config log report
ci-openbsd-multicore 2019/02/19 23:27 openbsd 77a2d5665065 4df543c9 .config log report
ci-openbsd-multicore 2019/02/19 22:25 openbsd 77a2d5665065 4df543c9 .config log report
ci-openbsd-multicore 2019/02/19 21:13 openbsd 77a2d5665065 4df543c9 .config log report
ci-openbsd-multicore 2019/02/19 20:06 openbsd 77a2d5665065 4df543c9 .config log report
ci-openbsd-multicore 2019/02/19 18:54 openbsd 77a2d5665065 4df543c9 .config log report
ci-openbsd-multicore 2019/02/19 17:53 openbsd 77a2d5665065 4df543c9 .config log report
ci-openbsd-multicore 2019/02/19 17:26 openbsd 77a2d5665065 4df543c9 .config log report
ci-openbsd-multicore 2019/02/19 16:22 openbsd 77a2d5665065 4df543c9 .config log report
ci-openbsd-multicore 2019/02/19 15:22 openbsd 77a2d5665065 4df543c9 .config log report
ci-openbsd-multicore 2019/02/19 13:48 openbsd 644ac04beb28 59f36113 .config log report
ci-openbsd-multicore 2019/02/19 12:43 openbsd 644ac04beb28 59f36113 .config log report
ci-openbsd-multicore 2019/02/19 12:28 openbsd 644ac04beb28 59f36113 .config log report
ci-openbsd-multicore 2019/02/19 11:26 openbsd 644ac04beb28 59f36113 .config log report
ci-openbsd-multicore 2019/02/19 10:06 openbsd 644ac04beb28 59f36113 .config log report
ci-openbsd-multicore 2019/02/19 09:48 openbsd 644ac04beb28 59f36113 .config log report
ci-openbsd-multicore 2019/02/19 09:27 openbsd 644ac04beb28 59f36113 .config log report
ci-openbsd-multicore 2019/02/19 09:23 openbsd 644ac04beb28 59f36113 .config log report
ci-openbsd-multicore 2019/02/19 09:17 openbsd 644ac04beb28 59f36113 .config log report
ci-openbsd-multicore 2019/02/19 09:17 openbsd 644ac04beb28 59f36113 .config log report
ci-openbsd-multicore 2019/02/19 09:17 openbsd 644ac04beb28 59f36113 .config log report
ci-openbsd-multicore 2019/02/19 05:16 openbsd 644ac04beb28 59f36113 .config log report