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(dead4110dead4228,9,0) at witness_checkorder+0xb5 sys/kern/subr_witness.c:779 mtx_enter(dead4110dead4218) at mtx_enter+0x95 sys/kern/kern_lock.c:406 prsignal(dead4110dead4110,14) at prsignal+0x36 sys/kern/kern_sig.c:905 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 0xffff80002a1f4930 rbx 0 rdx 0 rcx 0xffff800045ffdc90 rax 0xffff80002999dffe r8 0x7f7fffffc000 r9 0x1 r10 0xa77eb93b7fcdb3d4 r11 0x1558449a50e4ef92 r12 0xdead4110dead42fe r13 0x9 r14 0xdead4110dead4228 r15 0 rip 0xffffffff819e0f95 witness_checkorder+0xb5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a1f4890 ss 0x10 witness_checkorder+0xb5: movl 0x20(%r14),%r15d ddb{1}> show proc PROC (reaper) tid=312422 pid=99327 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=0xffff800045fff9f0,0xffff800045ffd240 process=0xffff800045ffb548 user=0xffff80002a1ef000, vmspace=0xffffffff83ac1778 estcpu=0, cpticks=11, pctcpu=0.1, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 11084 194989 42616 32767 2 0x10 0 syz-executor 11084 247849 42616 32767 7 0x10 0x4000000 syz-executor 11084 456407 42616 32767 3 0x10 0x4000080 fsleep syz-executor 83956 513298 69318 0 3 0x2 0x80 wait syz-executor 29833 478106 72496 32767 3 0x10 0x80 piperd syz-executor 56509 288388 66532 32767 3 0x10 0x80 piperd syz-executor 72496 109748 69318 0 3 0x2 0x80 wait syz-executor 66532 454361 69318 0 3 0x2 0x80 wait syz-executor 4418 145751 87974 32767 3 0x10 0x80 piperd syz-executor 87974 484750 69318 0 3 0x2 0x80 wait syz-executor 1940 443687 69318 0 3 0x2 0x80 wait syz-executor 25558 398828 56042 32767 3 0x10 0x80 nanoslp syz-executor 56042 227091 69318 0 3 0x2 0x80 wait syz-executor 6536 60280 39648 32767 3 0x10 0x80 wait syz-executor 39648 334491 69318 0 3 0x2 0x80 wait syz-executor 42616 142353 44398 32767 3 0x10 0x80 nanoslp syz-executor 44398 491545 69318 0 3 0x2 0x80 wait syz-executor 69318 518261 89928 0 2 0x2 0 syz-executor 89928 98611 11436 0 3 0x100002 0x88 sigsusp ksh 11436 157422 26767 0 3 0x10 0x88 kqread sshd-session 26767 356466 11741 0 3 0x12 0x80 kqread sshd-session 38122 448838 1 0 3 0x100003 0x80 ttyin getty 11741 314678 1 0 3 0 0x88 kqread sshd 88988 7306 68494 73 3 0x1100010 0x80 kqread syslogd 68494 344608 1 0 3 0x100002 0x80 sbwait syslogd 86585 459831 1 0 3 0x100000 0x80 kqread resolvd 94319 504683 11770 77 3 0x100012 0x80 kqread dhcpleased 20013 461887 11770 77 3 0x100012 0x80 kqread dhcpleased 11770 223377 1 0 3 0 0x80 kqread dhcpleased 75439 298676 0 0 3 0x14000 0x200 bored smr 65809 310160 0 0 2 0x14000 0x200 zerothread 74910 440906 0 0 3 0x14000 0x200 aiodoned aiodoned 29775 412573 0 0 3 0x14000 0x200 syncer update 57738 73665 0 0 3 0x14000 0x200 cleaner cleaner *99327 312422 0 0 7 0x14000 0x200 reaper 34581 42632 0 0 3 0x14000 0x200 pgdaemon pagedaemon 10397 221549 0 0 3 0x14000 0x200 bored viomb 81167 329082 0 0 3 0x14000 0x40000200 acpi0 acpi0 27514 46858 0 0 3 0x14000 0x40000200 idle1 74811 370112 0 0 3 0x14000 0x200 bored softnet1 30609 389034 0 0 3 0x14000 0x200 bored softnet0 575 392489 0 0 3 0x14000 0x200 bored systqmp 92027 225109 0 0 3 0x14000 0x200 bored systq 11749 38812 0 0 3 0x14000 0x200 tmoslp softclockmp 70041 132544 0 0 3 0x14000 0x40000200 tmoslp softclock 86127 376449 0 0 3 0x14000 0x40000200 idle0 1 362744 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 99327 (reaper) thread 0xffff800045ffdc90 (312422) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a6e480) #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 11051 12016K 12034K 166960K 12223 0 pcb 17 12K 12K 166960K 17 0 rtable 217 6K 7K 166960K 1174 0 pf 29 16K 16K 166960K 83 0 ifaddr 39 7K 7K 166960K 152 0 ifgroup 46 2K 2K 166960K 154 0 sysctl 3 1K 9K 166960K 8 0 counters 68 36K 37K 166960K 122 0 ioctlops 0 0K 4K 166960K 65 0 iov 0 0K 8K 166960K 71 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1287 81K 81K 166960K 1826 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 27 2K 2K 166960K 35 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 19 69K 121K 166960K 842 0 sigio 0 0K 0K 166960K 6 0 proc 58 99K 163K 166960K 1248 0 subproc 72 4K 4K 166960K 396 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 40 0 in_multi 88 5K 6K 166960K 401 0 ether_multi 1 0K 0K 166960K 8 0 mrt 1 0K 0K 166960K 19 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 880 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 210 175K 205K 166960K 7772 0 UVM aobj 18 2K 2K 166960K 19 0 pinsyscall 40 80K 113K 166960K 2641 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 6 0 NDP 14 0K 2K 166960K 105 0 temp 39 9123K 9187K 166960K 7621 0 kqueue 14 20K 28K 166960K 73 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 169 0 166 2 0 2 2 0 8 1 rtentry 176 399 0 299 6 0 6 6 0 8 0 unpcb 144 220 0 201 2 0 2 2 0 8 1 syncache 336 9 0 9 1 0 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 197 0 191 7 3 4 7 0 8 2 arp 136 71 0 55 1 0 1 1 0 8 0 inpcb 328 725 0 716 7 0 7 7 0 8 5 nd6 152 103 0 82 1 0 1 1 0 8 0 kcovpl 48 44 0 36 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1612 0 1198 33 3 30 30 0 8 4 art_table 40 1613 0 1198 5 0 5 5 0 8 0 art_node 32 399 0 309 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 3 1 0 1 1 0 8 0 semupl 112 4 0 4 1 0 1 1 0 8 1 semapl 72 31 0 6 1 0 1 1 0 8 0 shmpl 120 16 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2080 0 545 96 0 96 96 0 8 0 ffsino 296 2080 0 545 119 0 119 119 0 8 0 nchpl 144 2641 0 851 67 0 67 67 0 8 0 vnodes 216 2485 0 0 139 0 139 139 0 8 0 namei 1024 13334 0 13334 3 2 1 2 0 8 1 percpumem 16 77 0 27 1 0 1 1 0 8 0 kstatmem 264 77 0 54 2 0 2 2 0 8 0 scxspl 216 8429 0 8429 5 4 1 3 1 8 1 plimitpl 152 149 0 125 2 0 2 2 0 8 0 sigapl 424 1073 0 1024 7 0 7 7 0 8 0 knotepl 120 333 0 0 11 0 11 11 0 8 0 kqueuepl 224 102 0 92 1 0 1 1 0 8 0 pipepl 344 261 0 234 4 0 4 4 0 8 1 fdescpl 528 1057 0 1026 3 0 3 3 0 8 0 filepl 160 4966 0 4757 14 0 14 14 0 8 1 lockfpl 104 117 0 115 1 0 1 1 0 8 0 lockfspl 48 41 0 39 1 0 1 1 0 8 0 sessionpl 144 145 0 128 1 0 1 1 0 8 0 pgrppl 48 190 0 165 1 0 1 1 0 8 0 ucredpl 104 977 0 959 1 0 1 1 0 8 0 zombiepl 144 1028 0 1024 1 0 1 1 0 8 0 processpl 1240 1073 0 1024 5 0 5 5 0 8 0 procpl 664 1517 0 1465 7 0 7 7 0 8 1 sosppl 176 4 0 4 1 1 0 1 0 8 0 sockpl 752 1116 0 1085 11 0 11 11 0 8 7 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 124 0 0 16 0 16 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 24 0 0 3 0 3 3 0 8 0 mextrefs 64 18 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 2063 0 0 129 0 129 129 0 8 0 bufpl 272 2893 0 102 187 0 187 187 0 8 0 anonpl 32 7875 0 0 64 0 64 64 0 247 0 amapchunkpl 152 23003 0 22584 39 3 36 39 0 158 13 amappl16 200 2530 0 2508 17 7 10 15 0 8 8 amappl15 192 93 0 93 1 1 0 1 0 8 0 amappl14 184 731 0 730 1 0 1 1 0 8 0 amappl13 176 172 0 162 1 0 1 1 0 8 0 amappl12 168 1394 0 1364 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 64 0 54 1 0 1 1 0 8 0 amappl9 144 281 0 281 1 1 0 1 0 8 0 amappl8 136 197 0 196 1 0 1 1 0 8 0 amappl7 128 202 0 190 1 0 1 1 0 8 0 amappl6 120 407 0 406 1 0 1 1 0 8 0 amappl5 112 97 0 89 1 0 1 1 0 8 0 amappl4 104 413 0 398 1 0 1 1 0 8 0 amappl3 96 3946 0 3868 5 1 4 4 0 8 1 amappl2 88 1130 0 1057 3 0 3 3 0 8 0 amappl1 80 15566 0 15024 16 0 16 16 0 8 2 amappl 88 6547 0 6402 5 0 5 5 0 92 0 uvmvnodes 80 110 0 0 3 0 3 3 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 18 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1057 0 1026 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1057 0 1026 1 0 1 1 0 8 0 vmmpekpl 168 10062 0 9997 4 0 4 4 0 8 0 vmmpepl 168 77177 0 75431 114 0 114 114 0 357 25 vmsppl 488 1056 0 1024 7 1 6 6 0 8 1 rwobjpl 80 24313 0 23390 29 0 29 29 0 8 6 pdppl 4096 2121 0 2048 127 48 79 97 0 8 6 pvpl 32 15356 0 0 125 1 124 124 0 265 0 pmappl 256 1056 0 1024 4 1 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 615 0 59 16 0 16 16 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff839d6ff0) 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 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x68 copyout() at copyout+0x64 syscall(ffff80002a2de470) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2de470) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x816f32f9b00, count: -7 ddb{0}> machine ddbcpu 1 Stopped at witness_checkorder+0xb5: movl 0x20(%r14),%r15d ddb{1}> trace witness_checkorder(dead4110dead4228,9,0) at witness_checkorder+0xb5 sys/kern/subr_witness.c:779 mtx_enter(dead4110dead4218) at mtx_enter+0x95 sys/kern/kern_lock.c:406 prsignal(dead4110dead4110,14) at prsignal+0x36 sys/kern/kern_sig.c:905 reaper(ffff800045ffdc90) at reaper+0x2ec sys/kern/kern_exit.c:518 end trace frame: 0x0, count: -4