kernel: protection fault trap, code=0 Stopped at witness_checkorder+0xb5: movl 0x20(%r14),%r15d ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> show kasan No such command ddb{1}> trace witness_checkorder(deafbeaddeafbfc5,9,0) at witness_checkorder+0xb5 sys/kern/subr_witness.c:779 mtx_enter(deafbeaddeafbfb5) at mtx_enter+0x95 sys/kern/kern_lock.c:406 prsignal(deafbeaddeafbead,14) at prsignal+0x36 sys/kern/kern_sig.c:904 reaper(ffff800045ffdc90) at reaper+0x2ec sys/kern/kern_exit.c:518 end trace frame: 0x0, count: -4 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a1f4450 rbx 0 rdx 0 rcx 0xffff800045ffdc90 rax 0xffff80002999dffe r8 0xffffffffffffffff r9 0x1 r10 0xb02039bcc51de087 r11 0x234e55ab96e59f5f r12 0xdeafbeaddeafbffe r13 0x9 r14 0xdeafbeaddeafbfc5 r15 0 rip 0xffffffff827d5685 witness_checkorder+0xb5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a1f43b0 ss 0x10 witness_checkorder+0xb5: movl 0x20(%r14),%r15d ddb{1}> show proc PROC (reaper) tid=248110 pid=45913 tcnt=1 stat=onproc flags process=14000 proc=200 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800045fffc88,0xffff800045ffda08 process=0xffff800045ffb9c0 user=0xffff80002a1ef000, vmspace=0xffffffff83afcbb8 estcpu=0, cpticks=4, pctcpu=0.1, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 4715 17933 74144 32767 2 0x10 0 syz-executor 4715 191045 74144 32767 3 0x10 0x4000080 kqread syz-executor 37319 500118 21637 32767 2 0x10 0 syz-executor 37319 35912 21637 32767 3 0x10 0x4000080 sbwait syz-executor 30738 491652 83833 32767 2 0x10 0 syz-executor 30738 241363 83833 32767 3 0x10 0x4000080 fsleep syz-executor 30738 437706 83833 32767 3 0x10 0x4000080 fsleep syz-executor 30738 356131 83833 32767 3 0x10 0x4000080 fsleep syz-executor 63662 35174 29961 32767 3 0x10 0x80 nanoslp syz-executor 63662 353865 29961 32767 3 0x10 0x4000080 pipewr syz-executor 63662 108217 29961 32767 3 0x10 0x4000080 fsleep syz-executor 83778 58271 25563 32767 2 0x10 0xc80 syz-executor 83778 409697 25563 32767 3 0x10 0x4000080 fsleep syz-executor 83778 83791 25563 32767 3 0x10 0x4000080 ttyout syz-executor 83778 357497 25563 32767 3 0x10 0x4000080 fsleep syz-executor 25563 278013 556 32767 2 0x10 0 syz-executor 52993 107484 17623 32767 2 0x10 0xc80 syz-executor 74144 120766 45972 32767 3 0x10 0x80 nanoslp syz-executor 29961 365126 80547 32767 2 0x10 0xc80 syz-executor 83833 157056 92442 32767 2 0x10 0xc80 syz-executor 5526 292116 92852 32767 2 0x10 0xc80 syz-executor 19766 5973 97786 32767 7 0x10 0 syz-executor 21637 121887 69969 32767 2 0x10 0xc80 syz-executor 556 343603 66881 0 3 0x2 0x80 wait syz-executor 45972 33532 66881 0 3 0x2 0x80 wait syz-executor 17623 49718 66881 0 3 0x2 0x80 wait syz-executor 80547 265935 66881 0 3 0x2 0x80 wait syz-executor 92442 436942 66881 0 3 0x2 0x80 wait syz-executor 92852 146951 66881 0 3 0x2 0x80 wait syz-executor 69969 130499 66881 0 3 0x2 0x80 wait syz-executor 97786 287527 66881 0 3 0x2 0x80 wait syz-executor 66881 420443 38906 0 2 0x2 0x80 syz-executor 38906 225956 10509 0 3 0x100002 0x88 sigsusp ksh 10509 286672 63842 0 3 0x10 0x88 kqread sshd-session 63842 325282 96039 0 3 0x12 0x80 kqread sshd-session 16836 232377 1 0 3 0x100003 0x80 ttyin getty 96039 75271 1 0 3 0 0x88 kqread sshd 95847 294236 50286 73 3 0x1100010 0x80 kqread syslogd 50286 223336 1 0 3 0x100002 0x80 sbwait syslogd 6730 133004 1 0 3 0x100000 0x80 kqread resolvd 45884 277082 44794 77 3 0x100012 0x80 kqread dhcpleased 97139 301898 44794 77 3 0x100012 0x80 kqread dhcpleased 44794 357732 1 0 3 0 0x80 kqread dhcpleased 73310 276359 0 0 3 0x14000 0x200 bored smr 92049 499061 0 0 2 0x14000 0x200 zerothread 35984 486787 0 0 3 0x14000 0x200 aiodoned aiodoned 32619 359120 0 0 3 0x14000 0x200 syncer update 19949 516920 0 0 3 0x14000 0x200 cleaner cleaner *45913 248110 0 0 7 0x14000 0x200 reaper 43370 34262 0 0 3 0x14000 0x200 pgdaemon pagedaemon 69371 178051 0 0 3 0x14000 0x200 bored viomb 76014 294504 0 0 3 0x14000 0x40000200 acpi0 acpi0 25171 302738 0 0 3 0x14000 0x40000200 idle1 67393 335377 0 0 3 0x14000 0x200 bored softnet1 17746 210238 0 0 3 0x14000 0x200 bored softnet0 44179 249789 0 0 3 0x14000 0x200 bored systqmp 37832 57141 0 0 3 0x14000 0x200 bored systq 3791 54997 0 0 3 0x14000 0x200 tmoslp softclockmp 54166 412910 0 0 3 0x14000 0x40000200 tmoslp softclock 72839 218606 0 0 3 0x14000 0x40000200 idle0 1 61138 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 45913 (reaper) thread 0xffff800045ffdc90 (248110) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83ac5140) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 #2 sleep_finish+0x2d8 sys/kern/kern_synch.c:369 #3 rw_do_enter_write+0x1dc sys/kern/kern_rwlock.c:298 #4 knote_processexit+0x2b sys/kern/kern_event.c:2235 #5 reaper+0x26d sys/kern/kern_exit.c:515 #6 proc_trampoline+0x10 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11056 12019K 12034K 166960K 12147 0 pcb 17 12K 12K 166960K 17 0 rtable 237 6K 7K 166960K 353 0 pf 31 16K 16K 166960K 31 0 ifaddr 42 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 sysctl 1 1K 9K 166960K 5 0 counters 70 37K 37K 166960K 70 0 ioctlops 0 0K 4K 166960K 30 0 iov 0 0K 12K 166960K 4 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1288 81K 81K 166960K 1358 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 3 0K 0K 166960K 3 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 25 93K 129K 166960K 199 0 sigio 0 0K 0K 166960K 1 0 proc 58 99K 180K 166960K 503 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 4 0K 0K 166960K 8 0 in_multi 100 6K 6K 166960K 100 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 365 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 261 168K 185K 166960K 3553 0 UVM aobj 5 2K 2K 166960K 6 0 pinsyscall 46 92K 112K 166960K 1299 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 3 0 NDP 15 0K 2K 166960K 27 0 temp 37 9114K 9120K 166960K 3842 0 kqueue 14 20K 24K 166960K 35 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 28 0 0 1 0 1 1 0 8 0 rtpcb 120 40 0 37 1 0 1 1 0 8 0 rtentry 176 111 0 1 5 0 5 5 0 8 0 unpcb 144 76 0 57 1 0 1 1 0 8 0 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 736 61 0 56 4 0 4 4 0 8 3 arp 136 18 0 0 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 203 0 192 7 0 7 7 0 8 5 nd6 152 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 452 0 0 29 0 29 29 0 8 0 art_table 40 453 0 0 5 0 5 5 0 8 0 art_node 32 111 0 11 1 0 1 1 0 8 0 semapl 72 1 0 0 1 0 1 1 0 8 0 shmpl 112 3 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1634 0 165 92 0 92 92 0 8 0 ffsino 296 1634 0 165 114 0 114 114 0 8 0 nchpl 144 1906 0 210 63 0 63 63 0 8 0 vnodes 216 1715 0 0 96 0 96 96 0 8 0 namei 1024 5671 0 5671 1 0 1 1 0 8 1 percpumem 16 51 0 0 1 0 1 1 0 8 0 kstatmem 264 25 0 0 2 0 2 2 0 8 0 scxspl 216 6934 0 6934 7 2 5 5 1 8 5 plimitpl 152 44 0 18 2 0 2 2 0 8 1 sigapl 424 496 0 443 7 0 7 7 0 8 0 knotepl 120 304 0 0 10 0 10 10 0 8 0 kqueuepl 224 30 0 20 1 0 1 1 0 8 0 pipepl 344 127 0 99 3 0 3 3 0 8 0 fdescpl 528 480 0 443 4 0 4 4 0 8 0 filepl 160 1877 0 1646 12 0 12 12 0 8 1 lockfpl 104 23 0 21 1 0 1 1 0 8 0 lockfspl 48 10 0 8 1 0 1 1 0 8 0 sessionpl 144 28 0 12 1 0 1 1 0 8 0 pgrppl 48 38 0 14 1 0 1 1 0 8 0 ucredpl 104 194 0 175 1 0 1 1 0 8 0 zombiepl 144 445 0 443 1 0 1 1 0 8 0 processpl 1232 496 0 443 5 0 5 5 0 8 0 procpl 664 596 0 533 6 0 6 6 0 8 0 sockpl 752 320 0 287 10 0 10 10 0 8 6 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 137 0 0 18 0 18 18 0 8 0 mcl2k 2048 19 0 0 3 0 3 3 0 8 0 mextrefs 64 22 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 175 0 0 11 0 11 11 0 8 0 bufpl 272 2363 0 102 151 0 151 151 0 8 0 anonpl 32 5568 0 0 45 0 45 45 0 247 0 amapchunkpl 152 9975 0 9388 29 0 29 29 0 158 1 amappl16 200 1811 0 1773 5 0 5 5 0 8 2 amappl15 192 21 0 21 2 1 1 1 0 8 1 amappl14 184 409 0 408 1 0 1 1 0 8 0 amappl13 176 135 0 125 1 0 1 1 0 8 0 amappl12 168 734 0 698 2 0 2 2 0 8 0 amappl11 160 23 0 23 1 0 1 1 0 8 1 amappl10 152 57 0 47 1 0 1 1 0 8 0 amappl9 144 268 0 268 1 0 1 1 0 8 1 amappl8 136 94 0 92 1 0 1 1 0 8 0 amappl7 128 159 0 148 1 0 1 1 0 8 0 amappl6 120 154 0 152 1 0 1 1 0 8 0 amappl5 112 99 0 92 1 0 1 1 0 8 0 amappl4 104 262 0 244 1 0 1 1 0 8 0 amappl3 96 1801 0 1662 5 1 4 4 0 8 0 amappl2 88 528 0 476 2 0 2 2 0 8 0 amappl1 80 10765 0 10190 16 0 16 16 0 8 2 amappl 88 2853 0 2656 5 0 5 5 0 92 0 uvmvnodes 80 96 0 0 2 0 2 2 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 5 0 1 1 0 1 1 0 8 0 uaddrrnd 24 480 0 443 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 480 0 443 1 0 1 1 0 8 0 vmmpekpl 168 5951 0 5918 2 0 2 2 0 8 0 vmmpepl 168 40630 0 38554 103 0 103 103 0 357 6 vmsppl 488 479 0 443 7 1 6 6 0 8 0 rwobjpl 80 15048 0 14075 24 0 24 24 0 8 1 pdppl 4096 967 0 886 113 24 89 99 0 8 8 pvpl 32 12958 0 0 105 0 105 105 0 265 0 pmappl 256 479 0 443 4 1 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 437 0 27 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff83997ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83ac4940) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83ac4940) at __mp_lock+0x192 sys/kern/kern_lock.c:173 doopenat(ffff800045fef4d8,ffffff9c,7aebe4245cd0,30000,0,0,28f44b9a64ee51eb) at doopenat+0x340 sys/kern/vfs_syscalls.c:1163 sys_open(ffff800045fef4d8,ffff80002eb7c1a0,ffff80002eb7c0f0) at sys_open+0x59 sys/kern/vfs_syscalls.c:1065 syscall(ffff80002eb7c1a0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002eb7c1a0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7aebe42457d0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at witness_checkorder+0xb5: movl 0x20(%r14),%r15d ddb{1}> trace witness_checkorder(deafbeaddeafbfc5,9,0) at witness_checkorder+0xb5 sys/kern/subr_witness.c:779 mtx_enter(deafbeaddeafbfb5) at mtx_enter+0x95 sys/kern/kern_lock.c:406 prsignal(deafbeaddeafbead,14) at prsignal+0x36 sys/kern/kern_sig.c:904 reaper(ffff800045ffdc90) at reaper+0x2ec sys/kern/kern_exit.c:518 end trace frame: 0x0, count: -4