kernel: protection fault trap, code=0 Stopped at witness_checkorder+0xb5: movl 0x20(%r14),%r15d ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> show kasan No such command ddb{0}> 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{0}> show registers rdi 0 rsi 0 rbp 0xffff80002a1f4ab0 rbx 0 rdx 0 rcx 0xffff800045ffd760 rax 0xffffffff83927ffe cpu_info_full_primary+0x1ffe r8 0xffffffffffffffff r9 0 r10 0x6d0daf056337984e r11 0x21e983e0ee584f37 r12 0xdeadbeefdeadc0fe r13 0x9 r14 0xdeadbeefdeadc007 r15 0 rip 0xffffffff81a5ffa5 witness_checkorder+0xb5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a1f4a10 ss 0x10 witness_checkorder+0xb5: movl 0x20(%r14),%r15d ddb{0}> show proc PROC (reaper) tid=135189 pid=81410 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,0xffff800045ffcfa8 process=0xffff800045ffab50 user=0xffff80002a1ef000, vmspace=0xffffffff83a56680 estcpu=0, cpticks=9, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 86983 456406 25809 0 2 0 0 syz-executor 58798 410660 51185 0 7 0 0 syz-executor 58798 202304 51185 0 2 0 0x4000080 syz-executor 20272 469512 64321 0 2 0 0 syz-executor 20272 203416 64321 0 3 0 0x4000080 ttyretype syz-executor 42352 315533 27069 0 2 0 0 syz-executor 42352 518720 27069 0 2 0 0x4000000 syz-executor 23429 496377 2530 0 2 0x10 0 syz-executor 23429 307251 2530 0 3 0x10 0x4000080 fsleep syz-executor 38546 480642 82448 0 2 0x2 0 syz-executor 37276 15972 82448 0 2 0x2 0 syz-executor 61331 259411 79832 0 2 0 0 syz-executor 61331 192712 79832 0 3 0 0x4000080 ttyout syz-executor 61331 306248 79832 0 3 0 0x4000080 fsleep syz-executor 64321 22826 82448 0 3 0x2 0x80 nanoslp syz-executor 51185 406540 82448 0 3 0x2 0x80 nanoslp syz-executor 27069 45437 82448 0 3 0x2 0x80 nanoslp syz-executor 79832 97625 82448 0 3 0x2 0x80 nanoslp syz-executor 15894 22066 1 0 3 0x100003 0x80 ttyin getty 2530 356995 82448 0 3 0x2 0x80 nanoslp syz-executor 25809 370521 82448 0 3 0x2 0x80 nanoslp syz-executor 82448 339338 1 0 2 0x2 0 syz-executor 79941 465020 0 0 3 0x14000 0x200 bored smr 63293 249594 0 0 2 0x14000 0x200 zerothread 48813 72350 0 0 3 0x14000 0x200 aiodoned aiodoned 61236 187335 0 0 3 0x14000 0x200 syncer update 99922 235606 0 0 3 0x14000 0x200 cleaner cleaner *81410 135189 0 0 7 0x14000 0x200 reaper 242 232128 0 0 3 0x14000 0x200 pgdaemon pagedaemon 1815 226538 0 0 3 0x14000 0x200 bored viomb 15820 396927 0 0 3 0x14000 0x40000200 acpi0 acpi0 78365 497272 0 0 3 0x14000 0x40000200 idle1 62646 510683 0 0 3 0x14000 0x200 bored softnet1 15428 111279 0 0 3 0x14000 0x200 bored softnet0 75896 322867 0 0 3 0x14000 0x200 smrbar systqmp 42270 360209 0 0 3 0x14000 0x200 bored systq 10861 126850 0 0 3 0x14000 0x200 tmoslp softclockmp 50482 289267 0 0 3 0x14000 0x40000200 tmoslp softclock 75666 79770 0 0 3 0x14000 0x40000200 idle0 1 226295 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{0}> show all locks Process 81410 (reaper) thread 0xffff800045ffd760 (135189) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83ac9680) #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 Process 75896 (systqmp) thread 0xffff800045ffe530 (322867) shared rwlock systqmp r = 0 (0xffffffff839b6ff8) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11050 12078K 12289K 166960K 12385 0 pcb 17 12K 12K 166960K 40 0 rtable 227 8K 8K 166960K 694 0 pf 35 17K 23K 166960K 89 0 ifaddr 41 7K 7K 166960K 98 0 ifgroup 56 2K 2K 166960K 122 0 sysctl 1 1K 9K 166960K 6 0 counters 70 37K 37K 166960K 110 0 ioctlops 0 0K 4K 166960K 1539 0 iov 0 0K 16K 166960K 8 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1379 87K 87K 166960K 1621 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 4 0K 0K 166960K 7 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 57K 97K 166960K 405 0 proc 21 33K 180K 166960K 865 0 subproc 72 4K 4K 166960K 171 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 13 0 in_multi 88 5K 6K 166960K 216 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 13 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 535 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 114 82K 186K 166960K 5178 0 UVM aobj 5 2K 2K 166960K 6 0 pinsyscall 18 36K 104K 166960K 1869 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 4 0 NDP 16 0K 2K 166960K 66 0 temp 37 9122K 9186K 166960K 11509 0 kqueue 2 2K 24K 166960K 54 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> 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 63 0 63 1 0 1 1 0 8 1 rtentry 176 229 0 128 6 0 6 6 0 8 0 unpcb 144 102 0 100 1 0 1 1 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 26 0 23 1 0 1 1 0 8 0 arp 136 39 0 23 1 0 1 1 0 8 0 inpcb 328 257 0 249 4 0 4 4 0 8 3 nd6 152 54 0 33 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 19 0 11 1 0 1 1 0 8 0 ppxss 1192 6 0 6 1 0 1 1 0 8 1 pppxif 1576 2 0 2 1 1 0 1 0 8 0 pffrag 232 2 0 0 1 0 1 1 0 482 0 pffrnode 88 2 0 0 1 0 1 1 0 8 0 pffrent 40 34 0 32 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 24 0 0 1 0 1 1 0 8 0 pfstkey 128 24 0 0 1 0 1 1 0 8 0 pfstate 448 24 0 0 3 0 3 3 0 8 0 pfrule 1360 22 0 17 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 914 0 490 29 0 29 29 0 8 2 art_table 40 916 0 490 5 0 5 5 0 8 0 art_node 32 229 0 134 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semapl 72 4 0 2 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 1767 0 267 94 0 94 94 0 8 0 ffsino 296 1767 0 267 116 0 116 116 0 8 0 nchpl 144 2132 0 397 65 0 65 65 0 8 0 vnodes 216 2087 0 0 116 0 116 116 0 8 0 namei 1024 8657 0 8657 3 1 2 2 0 8 2 percpumem 16 71 0 20 1 0 1 1 0 8 0 kstatmem 264 63 0 36 4 1 3 3 0 8 1 scxspl 216 8754 0 8754 4 2 2 3 1 8 2 plimitpl 152 56 0 44 1 0 1 1 0 8 0 sigapl 424 713 0 679 7 1 6 7 0 8 0 knotepl 120 266 0 0 9 0 9 9 0 8 0 kqueuepl 224 99 0 97 3 0 3 3 0 8 2 pipepl 344 166 0 139 3 0 3 3 0 8 0 fdescpl 528 697 0 679 3 0 3 3 0 8 0 filepl 160 2701 0 2526 11 0 11 11 0 8 1 lockfpl 104 62 0 61 1 0 1 1 0 8 0 lockfspl 48 30 0 29 1 0 1 1 0 8 0 sessionpl 144 42 0 38 1 0 1 1 0 8 0 pgrppl 48 61 0 49 1 0 1 1 0 8 0 ucredpl 104 229 0 224 1 0 1 1 0 8 0 zombiepl 144 679 0 679 1 0 1 1 0 8 1 processpl 1232 713 0 679 5 0 5 5 0 8 1 procpl 664 941 0 901 6 0 6 6 0 8 1 sockpl 752 423 0 413 7 0 7 7 0 8 5 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 114 0 0 15 0 15 15 0 8 0 mcl2k 2048 17 0 0 3 0 3 3 0 8 0 mextrefs 64 12 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 134 0 0 9 0 9 9 0 8 0 bufpl 272 4138 0 105 269 0 269 269 0 8 0 anonpl 32 3775 0 0 31 0 31 31 0 247 0 amapchunkpl 152 14831 0 14529 20 0 20 20 0 158 4 amappl16 200 1822 0 1808 5 3 2 5 0 8 0 amappl15 192 15 0 15 1 1 0 1 0 8 0 amappl14 184 567 0 567 1 0 1 1 0 8 1 amappl13 176 163 0 162 1 0 1 1 0 8 0 amappl12 168 1001 0 984 2 0 2 2 0 8 0 amappl11 160 60 0 60 1 1 0 1 0 8 0 amappl10 152 70 0 70 1 0 1 1 0 8 1 amappl9 144 279 0 279 1 1 0 1 0 8 0 amappl8 136 183 0 183 1 0 1 1 0 8 1 amappl7 128 174 0 172 1 0 1 1 0 8 0 amappl6 120 255 0 255 1 0 1 1 0 8 1 amappl5 112 98 0 98 1 0 1 1 0 8 1 amappl4 104 360 0 358 1 0 1 1 0 8 0 amappl3 96 2578 0 2528 3 0 3 3 0 8 1 amappl2 88 789 0 766 2 0 2 2 0 8 0 amappl1 80 12314 0 12203 14 0 14 14 0 8 7 amappl 88 4172 0 4072 4 0 4 4 0 92 0 uvmvnodes 80 100 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 5 0 1 1 0 1 1 0 8 0 uaddrrnd 24 697 0 679 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 697 0 679 1 0 1 1 0 8 0 vmmpekpl 168 7546 0 7499 3 0 3 3 0 8 0 vmmpepl 168 54073 0 53312 87 0 87 87 0 357 50 vmsppl 488 696 0 679 5 0 5 5 0 8 1 rwobjpl 80 18288 0 17903 24 1 23 24 0 8 2 pdppl 4096 1401 0 1358 117 68 49 87 0 8 6 pvpl 32 9502 0 0 78 1 77 78 0 265 0 pmappl 256 696 0 679 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 559 0 73 15 0 15 15 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}>