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(deadbeefdeadc007,9,0) at witness_checkorder+0xb5 sys/kern/subr_witness.c:779 mtx_enter(deadbeefdeadbff7) at mtx_enter+0x95 sys/kern/kern_lock.c:406 prsignal(deadbeefdeadbeef,14) at prsignal+0x36 sys/kern/kern_sig.c:905 reaper(ffff800045ffd760) at reaper+0x2ec sys/kern/kern_exit.c:518 end trace frame: 0x0, count: -4 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a1f4060 rbx 0 rdx 0 rcx 0xffff800045ffd760 rax 0xffff80002999dffe r8 0x7f7fffffc000 r9 0x1 r10 0xfb742cef2ffcf600 r11 0x445330b0a2601f41 r12 0xdeadbeefdeadc0fe r13 0x9 r14 0xdeadbeefdeadc007 r15 0 rip 0xffffffff814685e5 witness_checkorder+0xb5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a1f3fc0 ss 0x10 witness_checkorder+0xb5: movl 0x20(%r14),%r15d ddb{1}> show proc PROC (reaper) tid=165006 pid=24088 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,0xffff800045ffc7e0 process=0xffff800045ffb548 user=0xffff80002a1ef000, vmspace=0xffffffff83ae8490 estcpu=0, cpticks=12, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 50918 344214 60415 32767 2 0x10 0 syz-executor 89384 131339 66360 32767 2 0x10 0 syz-executor 89384 334096 66360 32767 3 0x10 0x4000080 kqpoll syz-executor 24512 113016 69885 32767 2 0x10 0 syz-executor 24512 135191 69885 32767 2 0x10 0x4000000 syz-executor 35759 254333 45915 32767 2 0x10 0 syz-executor 35759 384037 45915 32767 7 0x10 0x4000000 syz-executor 48105 105329 87810 0 3 0x2 0x80 wait syz-executor 60415 366157 30875 32767 2 0x10 0xc80 syz-executor 30875 500625 87810 0 3 0x2 0x80 wait syz-executor 69885 179027 34308 32767 2 0x10 0xc80 syz-executor 34308 115899 87810 0 3 0x2 0x80 wait syz-executor 81830 238377 25412 32767 2 0x10 0xc80 syz-executor 25412 213051 87810 0 3 0x2 0x80 wait syz-executor 35929 16340 42237 32767 3 0x10 0x80 piperd syz-executor 42237 68526 87810 0 3 0x2 0x80 wait syz-executor 94490 227434 31418 32767 2 0x10 0 syz-executor 31418 511367 87810 0 3 0x2 0x80 wait syz-executor 45915 50797 9242 32767 2 0x10 0xc80 syz-executor 9242 297122 87810 0 3 0x2 0x80 wait syz-executor 66360 68654 98683 32767 3 0x10 0x80 nanoslp syz-executor 98683 49659 87810 0 3 0x2 0x80 wait syz-executor 87810 456668 76865 0 2 0x2 0 syz-executor 76865 120792 90934 0 3 0x100002 0x88 sigsusp ksh 90934 105796 54014 0 3 0x10 0x88 kqread sshd-session 54014 158854 85976 0 3 0x12 0x80 kqread sshd-session 76486 65976 1 0 3 0x100003 0x80 ttyin getty 85976 53662 1 0 3 0 0x88 kqread sshd 39229 247995 91610 73 3 0x1100010 0x80 kqread syslogd 91610 436390 1 0 3 0x100002 0x80 sbwait syslogd 73759 441194 1 0 3 0x100000 0x80 kqread resolvd 91036 109633 1719 77 3 0x100012 0x80 kqread dhcpleased 35230 290651 1719 77 3 0x100012 0x80 kqread dhcpleased 1719 50380 1 0 3 0 0x80 kqread dhcpleased 31168 267204 0 0 3 0x14000 0x200 bored smr 31171 480207 0 0 2 0x14000 0x200 zerothread 97215 236248 0 0 3 0x14000 0x200 aiodoned aiodoned 31276 324107 0 0 3 0x14000 0x200 syncer update 20671 420617 0 0 3 0x14000 0x200 cleaner cleaner *24088 165006 0 0 7 0x14000 0x200 reaper 69492 298800 0 0 3 0x14000 0x200 pgdaemon pagedaemon 97303 205006 0 0 3 0x14000 0x200 bored viomb 30890 131621 0 0 3 0x14000 0x40000200 acpi0 acpi0 9426 164138 0 0 3 0x14000 0x40000200 idle1 20538 175422 0 0 3 0x14000 0x200 bored softnet1 56646 382127 0 0 2 0x14000 0x200 softnet0 69849 164144 0 0 3 0x14000 0x200 bored systqmp 11689 70144 0 0 3 0x14000 0x200 bored systq 88242 329266 0 0 3 0x14000 0x200 tmoslp softclockmp 19413 339079 0 0 3 0x14000 0x40000200 tmoslp softclock 55537 334275 0 0 3 0x14000 0x40000200 idle0 1 369433 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 24088 (reaper) thread 0xffff800045ffd760 (165006) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a1e240) #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 11050 12016K 12034K 166960K 12174 0 pcb 17 12K 12K 166960K 17 0 rtable 215 6K 7K 166960K 651 0 pf 29 16K 16K 166960K 51 0 ifaddr 38 6K 7K 166960K 86 0 ifgroup 46 2K 2K 166960K 90 0 sysctl 3 1K 9K 166960K 9 0 counters 68 36K 37K 166960K 90 0 ioctlops 0 0K 4K 166960K 111 0 iov 0 0K 8K 166960K 9 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1288 81K 81K 166960K 1638 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 9 1K 1K 166960K 9 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 21 77K 121K 166960K 527 0 sigio 0 0K 0K 166960K 8 0 proc 58 99K 147K 166960K 792 0 subproc 72 4K 4K 166960K 342 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 38 0 in_multi 88 5K 6K 166960K 223 0 ether_multi 1 0K 0K 166960K 5 0 mrt 1 0K 0K 166960K 21 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 525 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 209 166K 192K 166960K 5351 0 UVM aobj 8 2K 2K 166960K 8 0 pinsyscall 42 84K 111K 166960K 1877 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 8 0 NDP 10 0K 2K 166960K 57 0 temp 38 9123K 9142K 166960K 5323 0 kqueue 15 20K 29K 166960K 51 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 65 0 62 1 0 1 1 0 8 0 rtentry 176 221 0 122 6 0 6 6 0 8 0 unpcb 144 187 0 172 2 1 1 2 0 8 0 syncache 336 7 0 7 1 1 0 1 0 8 0 tcpcb 736 73 0 67 1 0 1 1 0 8 0 arp 136 38 0 22 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 4 0 1 1 0 1 1 0 8 0 inpcb 328 257 0 247 2 0 2 2 0 8 1 nd6 152 54 0 33 1 0 1 1 0 8 0 kcovpl 48 38 0 30 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 895 0 484 31 5 26 31 0 8 0 art_table 40 896 0 484 6 1 5 6 0 8 0 art_node 32 221 0 131 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 3 2 1 1 1 0 8 1 semupl 112 2 0 1 1 0 1 1 0 8 0 semapl 72 7 0 0 1 0 1 1 0 8 0 shmpl 120 5 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1805 0 297 95 0 95 95 0 8 0 ffsino 296 1805 0 297 117 0 117 117 0 8 0 nchpl 144 2212 0 471 65 0 65 65 0 8 0 vnodes 216 2156 0 0 120 0 120 120 0 8 0 namei 1024 8769 0 8769 2 1 1 2 0 8 1 percpumem 16 61 0 11 1 0 1 1 0 8 0 kstatmem 264 45 0 22 2 0 2 2 0 8 0 scxspl 216 7794 0 7794 11 8 3 8 1 8 3 plimitpl 152 250 0 226 2 0 2 2 0 8 0 sigapl 424 760 0 708 7 0 7 7 0 8 0 knotepl 120 140 0 0 5 0 5 5 0 8 0 kqueuepl 224 60 0 48 1 0 1 1 0 8 0 pipepl 344 223 0 196 4 1 3 4 0 8 0 fdescpl 528 744 0 711 3 0 3 3 0 8 0 filepl 160 3014 0 2805 10 0 10 10 0 8 1 lockfpl 104 61 0 58 1 0 1 1 0 8 0 lockfspl 48 23 0 20 1 0 1 1 0 8 0 sessionpl 144 61 0 45 1 0 1 1 0 8 0 pgrppl 48 100 0 76 1 0 1 1 0 8 0 ucredpl 104 362 0 344 1 0 1 1 0 8 0 zombiepl 144 711 0 708 1 0 1 1 0 8 0 processpl 1240 760 0 708 5 0 5 5 0 8 0 procpl 664 1010 0 953 6 0 6 6 0 8 0 sockpl 752 512 0 484 7 2 5 7 0 8 2 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 129 0 0 17 0 17 17 0 8 0 mcl2k 2048 22 0 0 3 0 3 3 0 8 0 mextrefs 64 26 0 0 1 0 1 1 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 1203 0 0 75 0 75 75 0 8 0 bufpl 272 2501 0 102 160 0 160 160 0 8 0 anonpl 32 7208 0 0 59 0 59 59 0 247 0 amapchunkpl 152 15531 0 15103 29 3 26 28 0 158 4 amappl16 200 2258 0 2223 17 6 11 14 0 8 8 amappl14 184 540 0 539 1 0 1 1 0 8 0 amappl13 176 152 0 142 1 0 1 1 0 8 0 amappl12 168 1080 0 1049 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 60 0 50 1 0 1 1 0 8 0 amappl9 144 270 0 270 1 1 0 1 0 8 0 amappl8 136 132 0 131 1 0 1 1 0 8 0 amappl7 128 164 0 153 1 0 1 1 0 8 0 amappl6 120 275 0 274 1 0 1 1 0 8 0 amappl5 112 105 0 97 1 0 1 1 0 8 0 amappl4 104 303 0 285 1 0 1 1 0 8 0 amappl3 96 2696 0 2615 4 1 3 3 0 8 0 amappl2 88 836 0 765 2 0 2 2 0 8 0 amappl1 80 13099 0 12542 18 1 17 18 0 8 3 amappl 88 4437 0 4292 5 0 5 5 0 92 0 uvmvnodes 80 101 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 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 744 0 711 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 744 0 711 1 0 1 1 0 8 0 vmmpekpl 168 8412 0 8360 3 0 3 3 0 8 0 vmmpepl 168 57849 0 55990 93 0 93 93 0 357 7 vmsppl 488 743 0 708 7 1 6 6 0 8 1 rwobjpl 80 19386 0 18463 25 0 25 25 0 8 4 pdppl 4096 1495 0 1416 111 32 79 95 0 8 0 pvpl 32 13526 0 0 109 0 109 109 0 265 0 pmappl 256 743 0 708 4 1 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 509 0 42 14 0 14 14 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff83959ff0) 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(ffff80002a2b62c0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a2b62c0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf7d4cb47be0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at witness_checkorder+0xb5: movl 0x20(%r14),%r15d ddb{1}> trace witness_checkorder(deadbeefdeadc007,9,0) at witness_checkorder+0xb5 sys/kern/subr_witness.c:779 mtx_enter(deadbeefdeadbff7) at mtx_enter+0x95 sys/kern/kern_lock.c:406 prsignal(deadbeefdeadbeef,14) at prsignal+0x36 sys/kern/kern_sig.c:905 reaper(ffff800045ffd760) at reaper+0x2ec sys/kern/kern_exit.c:518 end trace frame: 0x0, count: -4