kernel: protection fault trap, code=0 Stopped at witness_checkorder+0x1ec: movl 0x8(%r14),%ebx 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(fffffd806f0f3520,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f0f3510) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff8000211eeab0,fffffd806f0f3510,fffffd806f0f3598,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000211eeab0,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000211eeab0) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000211eeab0,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000211eeab0,ffff8000299b38c0,ffff8000299b3910) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000299b3990) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000299b3990) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x72f25577d970, count: -9 ddb{1}> show registers rdi 0 rsi 0x20000 acpi_pdirpa+0xbe63 rbp 0xffff8000299b3660 rbx 0xe rdx 0 rcx 0xffff8000211eeab0 rax 0xffff800020d58ff0 r8 0x1 r9 0x1 r10 0x66ba53f63c33e8cd r11 0x7d51c336bfa07cd4 r12 0 r13 0xfffffd806f0f3520 r14 0x436011ab436111ab r15 0xffff8000211eeab0 rip 0xffffffff8167002c witness_checkorder+0x1ec cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000299b35b0 ss 0x10 witness_checkorder+0x1ec: movl 0x8(%r14),%ebx ddb{1}> show proc PROC (syz-executor.6) pid=137312 stat=onproc flags process=1018 proc=2000 pri=0, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800021292558,0xffff800021293aa8 process=0xffff80002999ee28 user=0xffff8000299ae000, vmspace=0xfffffd8070953028 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 11253 344877 99321 32767 2 0x10 syz-executor.2 11253 54786 99321 32767 3 0x4000090 fsleep syz-executor.2 34889 433572 46379 32767 2 0x10 syz-executor.1 34889 76324 46379 32767 3 0x4000090 fsleep syz-executor.1 2665 216726 28030 32767 2 0x10 syz-executor.5 2665 55333 28030 32767 3 0x4000090 fsleep syz-executor.5 28030 476530 54962 32767 3 0x90 nanoslp syz-executor.5 54962 204781 50821 0 3 0x82 wait syz-executor.5 54624 301639 57700 32767 2 0x490 syz-executor.7 57700 457105 50821 0 3 0x82 wait syz-executor.7 99321 154333 1 32767 3 0x90 nanoslp syz-executor.2 46379 54238 16098 32767 3 0x90 nanoslp syz-executor.1 16098 313154 50821 0 3 0x82 wait syz-executor.1 51107 485805 77070 32767 7 0x10 syz-executor.4 77070 117583 50821 0 3 0x82 wait syz-executor.4 88771 89359 0 0 3 0x14200 bored sosplice 81952 402290 50527 32767 3 0x90 nanoslp syz-executor.6 50527 172252 50821 0 3 0x82 wait syz-executor.6 49941 81736 33966 32767 2 0x490 syz-executor.3 33966 110848 50821 0 3 0x82 wait syz-executor.3 66812 365641 96995 32767 2 0x10 syz-executor.0 96995 88746 50821 0 3 0x82 wait syz-executor.0 50821 233177 20371 0 3 0x2000082 wait syz-fuzzer 50821 103406 20371 0 2 0x6000082 syz-fuzzer 50821 429836 20371 0 3 0x6000082 thrsleep syz-fuzzer 50821 489552 20371 0 3 0x6000082 wait syz-fuzzer 50821 295462 20371 0 3 0x6000082 wait syz-fuzzer 50821 197713 20371 0 3 0x6000082 thrsleep syz-fuzzer 50821 117358 20371 0 3 0x6000082 wait syz-fuzzer 50821 300738 20371 0 3 0x6000082 thrsleep syz-fuzzer 50821 413421 20371 0 3 0x6000082 wait syz-fuzzer 50821 475312 20371 0 3 0x6000082 kqread syz-fuzzer 50821 126597 20371 0 3 0x6000082 thrsleep syz-fuzzer 50821 244834 20371 0 3 0x6000082 thrsleep syz-fuzzer 50821 147396 20371 0 2 0x6000082 syz-fuzzer 50821 85052 20371 0 3 0x6000082 wait syz-fuzzer 50821 59057 20371 0 3 0x6000082 thrsleep syz-fuzzer 50821 114653 20371 0 3 0x6000082 wait syz-fuzzer 20371 266511 87671 0 3 0x10008a sigsusp ksh 87671 405464 63936 0 2 0x9a sshd 78615 343596 1 0 3 0x100083 ttyin getty 63936 80533 1 0 3 0x88 kqread sshd 58354 341745 68700 73 3 0x1100090 kqread syslogd 68700 3139 1 0 3 0x100082 netio syslogd 71408 460779 1 0 3 0x100080 kqread resolvd 70886 26249 75517 77 3 0x100092 kqread dhcpleased 57198 47599 75517 77 3 0x100092 kqread dhcpleased 75517 100218 1 0 3 0x80 kqread dhcpleased 23069 251588 0 0 3 0x14200 bored smr 29490 486605 0 0 2 0x14200 zerothread 22269 341188 0 0 3 0x14200 aiodoned aiodoned 48121 209418 0 0 3 0x14200 syncer update 83593 42613 0 0 3 0x14200 cleaner cleaner 65547 363559 0 0 2 0x14200 reaper 27612 68570 0 0 3 0x14200 pgdaemon pagedaemon 84001 523859 0 0 3 0x14200 bored viomb 8844 105971 0 0 3 0x40014200 acpi0 acpi0 59001 254181 0 0 3 0x40014200 idle1 95432 101055 0 0 3 0x14200 bored softnet3 12411 6088 0 0 3 0x14200 bored softnet2 86889 106516 0 0 3 0x14200 bored softnet1 92905 7205 0 0 3 0x14200 bored softnet0 32512 343601 0 0 3 0x14200 bored systqmp 10918 229278 0 0 3 0x14200 bored systq 83320 484613 0 0 3 0x40014200 bored softclock 47762 407240 0 0 3 0x40014200 idle0 1 227231 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10215 6413K 6420K 78643K 11349 0 pcb 13 12K 14K 78643K 17 0 rtable 244 6K 7K 78643K 1681 0 pf 29 8K 8K 78643K 65 0 ifaddr 44 15K 15K 78643K 120 0 ifgroup 50 2K 2K 78643K 122 0 sysctl 2 0K 2K 78643K 5 0 counters 60 35K 35K 78643K 96 0 ioctlops 0 0K 2K 78643K 231 0 iov 0 0K 17K 78643K 1786 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1279 80K 80K 78643K 4167 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 162 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 3959 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 21 77K 121K 78643K 17347 0 sigio 0 0K 0K 78643K 485 0 proc 56 78K 103K 78643K 1898 0 subproc 104 6K 6K 78643K 338 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 706 0 in_multi 99 7K 7K 78643K 443 0 ether_multi 1 0K 0K 78643K 17 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 229 1023K 1023K 78643K 229 0 exec 0 0K 1K 78643K 2495 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 473 92K 106K 78643K 172714 0 UVM aobj 131 5K 5K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 372 0 NDP 11 0K 2K 78643K 81 0 temp 74 5920K 6048K 78643K 43693 0 kqueue 12 18K 52K 78643K 5827 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 535 0 532 5 4 1 3 0 8 0 rtentry 112 338 0 223 4 0 4 4 0 8 0 unpcb 144 9253 0 9240 101 98 3 10 0 8 2 syncache 304 180 0 180 28 27 1 1 0 8 1 tcpqe 32 439 0 439 23 22 1 2 0 8 1 tcpcb 808 6050 0 5969 178 169 9 17 0 8 0 arp 120 57 0 39 1 0 1 1 0 8 0 ipq 40 42 0 39 12 11 1 1 0 8 0 ipqe 40 344 0 341 12 11 1 1 0 8 0 inpcb 368 11766 0 11682 202 194 8 16 0 8 0 nd6 136 104 0 75 2 0 2 2 0 8 0 kcovpl 48 26 0 18 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1304 0 839 31 1 30 30 0 8 0 art_table 32 1305 0 839 4 0 4 4 0 8 0 art_node 16 337 0 232 1 0 1 1 0 8 0 sysvmsgpl 40 53 0 26 1 0 1 1 0 8 0 semupl 112 8 0 8 1 1 0 1 0 8 0 semapl 112 3883 0 3873 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 23624 0 22168 92 0 92 92 0 8 0 ffsino 272 23624 0 22168 98 0 98 98 0 8 0 nchpl 144 46617 0 44969 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 148737 0 148737 8 7 1 2 0 8 1 percpumem 16 61 0 18 1 0 1 1 0 8 0 kstatmem 264 58 0 36 2 0 2 2 0 8 0 scxspl 216 135015 0 135015 60 59 1 8 1 8 1 plimitpl 152 2006 0 1982 12 11 1 2 0 8 0 sigapl 424 17606 0 17553 7 0 7 7 0 8 0 futexpl 64 150954 0 150951 8 7 1 1 0 8 0 knotepl 120 1287 0 0 11 0 11 11 0 8 0 kqueuepl 216 8342 0 8333 55 53 2 9 0 8 1 pipepl 320 25849 0 25819 228 218 10 18 0 8 7 fdescpl 496 17588 0 17556 7 2 5 6 0 8 0 filepl 152 137493 0 137188 249 232 17 26 0 8 5 lockfpl 104 3030 0 3028 3 2 1 2 0 8 0 lockfspl 48 922 0 920 1 0 1 1 0 8 0 sessionpl 144 41 0 25 1 0 1 1 0 8 0 pgrppl 48 298 0 282 1 0 1 1 0 8 0 ucredpl 104 14124 0 14106 1 0 1 1 0 8 0 zombiepl 144 17557 0 17553 3 2 1 1 0 8 0 processpl 1072 17606 0 17553 5 1 4 5 0 8 0 procpl 680 48761 0 48689 36 28 8 9 0 8 1 sosppl 168 250 0 250 25 25 0 1 0 8 0 sockpl 488 22243 0 22143 405 392 13 38 0 8 0 mcl64k 65536 33 0 0 5 2 3 3 0 8 0 mcl16k 16384 33 0 0 3 0 3 3 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 41 0 0 3 1 2 2 0 8 0 mcl8k 8192 41 0 0 3 0 3 3 0 8 0 mcl4k 4096 122 0 0 10 7 3 10 0 8 0 mcl2k2 2112 10 0 0 1 0 1 1 0 8 0 mcl2k 2048 438 0 0 33 18 15 33 0 8 0 mtagpl 96 6 0 0 1 0 1 1 0 8 0 mbufpl 256 2598 0 0 105 0 105 105 0 8 0 bufpl 288 30621 0 24296 453 0 453 453 0 8 0 anonpl 24 1764917 0 1753530 225 130 95 106 0 186 0 amapchunkpl 152 545731 0 544886 149 112 37 51 0 158 0 amappl16 200 39394 0 39086 293 276 17 36 0 8 0 amappl15 192 11 0 10 1 0 1 1 0 8 0 amappl14 184 212 0 199 2 1 1 2 0 8 0 amappl13 176 35 0 35 5 5 0 1 0 8 0 amappl12 168 18511 0 18473 2 0 2 2 0 8 0 amappl11 160 72 0 61 1 0 1 1 0 8 0 amappl10 152 46 0 34 1 0 1 1 0 8 0 amappl9 144 304 0 303 1 0 1 1 0 8 0 amappl8 136 1210 0 986 8 0 8 8 0 8 0 amappl7 128 169 0 153 2 0 2 2 0 8 0 amappl6 120 543 0 523 2 1 1 2 0 8 0 amappl5 112 571 0 562 1 0 1 1 0 8 0 amappl4 104 1053 0 1009 3 1 2 3 0 8 0 amappl3 96 107260 0 107169 14 11 3 4 0 8 0 amappl2 88 18821 0 18744 3 1 2 3 0 8 0 amappl1 80 69946 0 69422 22 9 13 22 0 8 0 amappl 88 171327 0 171079 7 0 7 7 0 92 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 17588 0 17556 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 17588 0 17556 1 0 1 1 0 8 0 vmmpekpl 168 228447 0 228389 6 2 4 4 0 8 0 vmmpepl 168 1023266 0 1020835 287 168 119 128 0 357 0 vmsppl 464 17587 0 17556 7 2 5 6 0 8 0 rwobjpl 56 259236 0 251693 137 29 108 111 0 8 0 pdppl 4096 35184 0 35112 600 520 80 94 0 8 8 pvpl 32 4894438 0 4877040 573 405 168 357 0 265 0 pmappl 248 17587 0 17556 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1864 0 948 27 0 27 27 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82bafff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82c532e8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c532e8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 syscall(ffff800024703390) at syscall+0x5cd mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800024703390) at syscall+0x5cd sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d1c8b8c3760, count: -6 ddb{0}> machine ddbcpu 1 Stopped at witness_checkorder+0x1ec: movl 0x8(%r14),%ebx ddb{1}> trace witness_checkorder(fffffd806f0f3520,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f0f3510) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff8000211eeab0,fffffd806f0f3510,fffffd806f0f3598,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff8000211eeab0,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff8000211eeab0) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff8000211eeab0,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff8000211eeab0,ffff8000299b38c0,ffff8000299b3910) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000299b3990) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000299b3990) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x72f25577d970, count: -9