syzbot


protection_fault: witness_checkorder (2)

Status: auto-obsoleted due to no activity on 2023/12/28 01:55
Reported-by: syzbot+e665b698e1914d3b36dc@syzkaller.appspotmail.com
First crash: 495d, last: 379d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd protection_fault: witness_checkorder 1 815d 815d 0/3 auto-obsoleted due to no activity on 2022/11/27 19:38
openbsd protection_fault: witness_checkorder (4) 1 73d 73d 0/3 upstream: reported on 2024/09/09 12:11
openbsd protection_fault: witness_checkorder (3) 1 262d 262d 0/3 auto-obsoleted due to no activity on 2024/06/02 14:39
Last patch testing requests (7)
Created Duration User Patch Repo Result
2023/09/27 21:57 20m retest repro openbsd OK log
2023/09/27 21:57 50m retest repro openbsd OK log
2023/09/27 21:57 20m retest repro openbsd OK log
2023/09/27 21:57 20m retest repro openbsd OK log
2023/09/27 21:57 17m retest repro openbsd OK log
2023/09/27 21:14 20m retest repro openbsd OK log
2023/09/27 21:14 19m retest repro openbsd OK log

Sample crash report:
kernel: protection fault trap, code=0
Stopped at      witness_checkorder+0x4f5:       movl    0x10(%r14),%ecx
ddb{1}> 
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
the kernel did not panic
ddb{1}> trace
witness_checkorder(fffffd806f03da30,9,0) at witness_checkorder+0x4f5 witness_lock_order_check sys/kern/subr_witness.c:2442 [inline]
witness_checkorder(fffffd806f03da30,9,0) at witness_checkorder+0x4f5 sys/kern/subr_witness.c:890
mtx_enter(fffffd806f03da20) at mtx_enter+0x3e sys/kern/kern_lock.c:265
knote_remove(ffff80002120cac0,fffffd806f03da20,fffffd806f03daa8,0,0) at knote_remove+0x20d sys/kern/kern_event.c:1881
knote_fdclose(ffff80002120cac0,0) at knote_fdclose+0xae sys/kern/kern_event.c:1934
fdfree(ffff80002120cac0) at fdfree+0xdf sys/kern/kern_descrip.c:1196
exit1(ffff80002120cac0,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206
sys_exit(ffff80002120cac0,ffff800021287710,ffff800021287760) at sys_exit+0x1a sys/kern/kern_exit.c:89
syscall(ffff8000212877e0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff8000212877e0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x72f6daa09f10, count: -9
ddb{1}> show registers
rdi                       0xffffffff
rsi                       0xffffffff
rbp               0xffff8000212874b0
rbx                       0xffffffff
rdx                                0
rcx                              0xc
rax               0xfffffd80031ef000
r8                                 0
r9                               0x1
r10               0xffda7f917f8ca6e8
r11               0x6ef4201807290b66
r12               0xfffffd80031c7300
r13               0xfffffd806f03da30
r14               0xdeafbeaddeafbead
r15               0xfffffd80039b6468
rip               0xffffffff81f47f95    witness_checkorder+0x4f5
cs                               0x8
rflags                       0x10216    __ALIGN_SIZE+0xf216
rsp               0xffff800021287400
ss                              0x10
witness_checkorder+0x4f5:       movl    0x10(%r14),%ecx
ddb{1}> show proc
PROC (syz-executor1279309292) pid=193990 stat=onproc
    flags process=1008<EXITING,SINGLEEXIT> proc=2000<WEXIT>
    pri=0, usrpri=50, nice=20
    forw=0xffffffffffffffff, list=0xffff80002120c2c8,0xffff800021238568
    process=0xffff8000ffff50d8 user=0xffff800021282000, vmspace=0xfffffd8077bff588
    estcpu=0, cpticks=0, pctcpu=0.4
    user=0, sys=0, intr=0
ddb{1}> 

Crashes (311):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/13 16:41 openbsd b2fc71be2998 0b6a67ac .config console log report syz C ci-openbsd-multicore protection_fault: witness_checkorder
2023/09/13 12:19 openbsd b2fc71be2998 0b6a67ac .config console log report syz C ci-openbsd-multicore protection_fault: witness_checkorder
2023/09/12 18:43 openbsd b49820e16fba 59da8366 .config console log report syz C ci-openbsd-multicore protection_fault: witness_checkorder
2023/09/12 15:00 openbsd b49820e16fba 59da8366 .config console log report syz C [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/08 18:13 openbsd 13095e6dd073 6654cf89 .config console log report syz C ci-openbsd-multicore protection_fault: witness_checkorder
2023/09/05 14:22 openbsd b3774972aa78 0b6286dc .config console log report syz C ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/06 00:08 openbsd b3774972aa78 0b6286dc .config console log report syz [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: witness_checkorder
2023/11/08 01:54 openbsd d1ee0d19b86f 83211397 .config console log report ci-openbsd-multicore protection_fault: witness_checkorder
2023/10/22 01:37 openbsd 1687aac2caf8 361b23dc .config console log report ci-openbsd-multicore protection_fault: witness_checkorder
2023/09/13 20:29 openbsd b2fc71be2998 0b6a67ac .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/13 19:14 openbsd b2fc71be2998 0b6a67ac .config console log report ci-openbsd-multicore protection_fault: witness_checkorder
2023/09/13 17:14 openbsd b2fc71be2998 0b6a67ac .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/13 15:43 openbsd b2fc71be2998 0b6a67ac .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/13 14:37 openbsd b2fc71be2998 0b6a67ac .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/13 14:29 openbsd b2fc71be2998 0b6a67ac .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/13 13:22 openbsd b2fc71be2998 0b6a67ac .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/13 11:10 openbsd b2fc71be2998 0b6a67ac .config console log report ci-openbsd-multicore protection_fault: witness_checkorder
2023/09/13 10:05 openbsd b2fc71be2998 0b6a67ac .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/13 08:36 openbsd b2fc71be2998 0b6a67ac .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/13 07:22 openbsd b2fc71be2998 59da8366 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/13 05:47 openbsd b2fc71be2998 59da8366 .config console log report ci-openbsd-multicore protection_fault: witness_checkorder
2023/09/13 04:34 openbsd b2fc71be2998 59da8366 .config console log report ci-openbsd-multicore protection_fault: witness_checkorder
2023/09/13 02:54 openbsd b2fc71be2998 59da8366 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/13 02:43 openbsd b2fc71be2998 59da8366 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/13 01:15 openbsd b49820e16fba 59da8366 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/13 00:12 openbsd b49820e16fba 59da8366 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/12 23:09 openbsd b49820e16fba 59da8366 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/12 21:49 openbsd b49820e16fba 59da8366 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/12 20:42 openbsd b49820e16fba 59da8366 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/12 19:50 openbsd b49820e16fba 59da8366 .config console log report ci-openbsd-multicore protection_fault: witness_checkorder
2023/09/12 18:23 openbsd b49820e16fba 59da8366 .config console log report ci-openbsd-multicore protection_fault: witness_checkorder
2023/09/12 16:12 openbsd b49820e16fba 59da8366 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/12 15:00 openbsd b49820e16fba 59da8366 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/12 13:32 openbsd b49820e16fba 59da8366 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/12 11:15 openbsd 425ecdb789c9 59da8366 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/12 09:46 openbsd 425ecdb789c9 59da8366 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/12 08:03 openbsd 425ecdb789c9 59da8366 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/12 06:08 openbsd 425ecdb789c9 59da8366 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/12 04:58 openbsd 425ecdb789c9 59da8366 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/12 02:22 openbsd 425ecdb789c9 59da8366 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/12 01:14 openbsd 425ecdb789c9 59da8366 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/12 00:10 openbsd 425ecdb789c9 59da8366 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/11 07:02 openbsd 53e9b61ae4ba 6654cf89 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/11 05:46 openbsd 53e9b61ae4ba 6654cf89 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/11 04:14 openbsd 53e9b61ae4ba 6654cf89 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/11 03:36 openbsd 53e9b61ae4ba 6654cf89 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/11 02:34 openbsd 53e9b61ae4ba 6654cf89 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/11 01:19 openbsd 53e9b61ae4ba 6654cf89 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/11 00:12 openbsd 53e9b61ae4ba 6654cf89 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/09/10 23:01 openbsd 53e9b61ae4ba 6654cf89 .config console log report ci-openbsd-setuid protection_fault: witness_checkorder
2023/07/15 14:50 openbsd 5144f9456b75 35d9ecc5 .config console log report ci-openbsd-multicore protection_fault: witness_checkorder
* Struck through repros no longer work on HEAD.