witness: acquiring duplicate lock of same type: "&sc->sc_lock" 1st wsmuxlk @ /syzkaller/managers/multicore/kernel/sys/dev/wscons/wsmux.c:626 2nd wsmuxlk @ /syzkaller/managers/multicore/kernel/sys/dev/wscons/wsmux.c:242 Starting stack trace... witness_checkorder(ffff80000198bcd0,1,ffffffff81f354ca,f2,0) at witness_checkorder+0xe14 witness_debugger sys/kern/subr_witness.c:2650 [inline] witness_checkorder(ffff80000198bcd0,1,ffffffff81f354ca,f2,0) at witness_checkorder+0xe14 sys/kern/subr_witness.c:926 _rw_enter_read(ffff80000198bcc0,ffffffff81f354ca,f2) at _rw_enter_read+0x80 sys/kern/kern_rwlock.c:102 wsmux_mux_open(ffff80000198bc00,ffff800002b48e50) at wsmux_mux_open+0x82 wsmux_do_open sys/dev/wscons/wsmux.c:243 [inline] wsmux_mux_open(ffff80000198bc00,ffff800002b48e50) at wsmux_mux_open+0x82 sys/dev/wscons/wsmux.c:225 wsmux_attach_sc(ffff800002b48e00,ffff80000198bc00) at wsmux_attach_sc+0x180 sys/dev/wscons/wsmux.c:667 VOP_IOCTL(fffffd80695fb248,80085761,ffff800020c593f0,f,fffffd807f7c7a20,ffff800020b432d8) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:290 vn_ioctl(fffffd80693390b0,80085761,ffff800020c593f0,ffff800020b432d8) at vn_ioctl+0xc9 sys/kern/vfs_vnops.c:512 sys_ioctl(ffff800020b432d8,ffff800020c59538,ffff800020c59520) at sys_ioctl+0x646 syscall(ffff800020c595d0) at syscall+0x5ac mi_syscall sys/sys/syscall_mi.h:99 [inline] syscall(ffff800020c595d0) at syscall+0x5ac sys/arch/amd64/amd64/trap.c:574 Xsyscall(6,0,ffffffffffffff86,0,3,16c15057010) at Xsyscall+0x128 end of kernel end trace frame: 0x16e1f5a5a10, count: 248 End of stack trace. Stopped at db_enter+0x18: addq $0x8,%rsp