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(fffffd806f24d0e8,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f24d0d8) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff80002121b808,fffffd806f24d0d8,fffffd806f24d160,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff80002121b808,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff80002121b808) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff80002121b808,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff80002121b808,ffff80002e461110,ffff80002e461160) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e4611e0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e4611e0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x72e4939df630, count: -9 ddb{1}> show registers rdi 0 rsi 0x20000 acpi_pdirpa+0xbe63 rbp 0xffff80002e460eb0 rbx 0xe rdx 0 rcx 0xffff80002121b808 rax 0xffff800020d58ff0 r8 0x1 r9 0x1 r10 0xb402a03809042e50 r11 0x2d0ef2f983363f57 r12 0 r13 0xfffffd806f24d0e8 r14 0x3ff5555555555555 r15 0xffff80002121b808 rip 0xffffffff8146926c witness_checkorder+0x1ec cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e460e00 ss 0x10 witness_checkorder+0x1ec: movl 0x8(%r14),%ebx ddb{1}> show proc PROC (syz-executor.7) pid=277084 stat=onproc flags process=1018 proc=2000 pri=0, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000211f5d50,0xffff8000212c8018 process=0xffff80002121ee20 user=0xffff80002e45c000, vmspace=0xfffffd807eff9cb0 estcpu=32, cpticks=2, pctcpu=0.2 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 7552 45117 76080 32767 2 0x10 syz-executor.5 28598 25256 8768 32767 2 0x10 syz-executor.6 28598 358634 8768 32767 2 0x4000010 syz-executor.6 49755 39013 70615 32767 2 0x10 syz-executor.4 49755 350456 70615 32767 3 0x4000090 fsleep syz-executor.4 80051 184384 7323 32767 3 0x90 nanoslp syz-executor.2 80051 181389 7323 32767 3 0x4000090 fsleep syz-executor.2 80051 301707 7323 32767 3 0x4000090 fsleep syz-executor.2 80051 123326 7323 32767 3 0x4000090 fsleep syz-executor.2 22162 523439 19226 32767 3 0x90 nanoslp syz-executor.0 22162 510202 19226 32767 3 0x4000090 fsleep syz-executor.0 22162 84457 19226 32767 2 0x4000010 syz-executor.0 22162 146817 19226 32767 3 0x4000090 fsleep syz-executor.0 19226 480919 10965 32767 2 0x490 syz-executor.0 10965 310985 94240 0 3 0x82 wait syz-executor.0 76080 139264 95242 32767 2 0x490 syz-executor.5 95242 141413 94240 0 3 0x82 wait syz-executor.5 96367 129974 66368 32767 2 0x10 syz-executor.1 66368 225837 94240 0 3 0x82 wait syz-executor.1 26344 34328 0 0 3 0x14200 bored sosplice 44205 333397 9617 32767 3 0x90 nanoslp syz-executor.3 75323 183350 57486 32767 3 0x90 nanoslp syz-executor.7 8768 172546 4555 32767 3 0x90 nanoslp syz-executor.6 57486 478789 94240 0 3 0x82 wait syz-executor.7 4555 421166 94240 0 3 0x82 wait syz-executor.6 70615 380752 63097 32767 2 0x490 syz-executor.4 63097 417120 94240 0 3 0x82 wait syz-executor.4 7323 447752 97824 32767 3 0x90 nanoslp syz-executor.2 9617 225400 94240 0 3 0x82 wait syz-executor.3 97824 283611 94240 0 3 0x82 wait syz-executor.2 94240 167272 36451 0 3 0x2000082 wait syz-fuzzer 94240 512854 36451 0 3 0x6000082 thrsleep syz-fuzzer 94240 286572 36451 0 3 0x6000082 thrsleep syz-fuzzer 94240 358646 36451 0 3 0x6000082 wait syz-fuzzer 94240 132008 36451 0 3 0x6000082 kqread syz-fuzzer 94240 483014 36451 0 3 0x6000082 wait syz-fuzzer 94240 135680 36451 0 3 0x6000082 thrsleep syz-fuzzer 94240 308110 36451 0 3 0x6000082 wait syz-fuzzer 94240 47330 36451 0 3 0x6000082 wait syz-fuzzer 94240 308159 36451 0 3 0x6000082 thrsleep syz-fuzzer 94240 80651 36451 0 3 0x6000082 thrsleep syz-fuzzer 94240 348248 36451 0 3 0x6000082 wait syz-fuzzer 94240 308782 36451 0 3 0x6000082 wait syz-fuzzer 94240 465202 36451 0 3 0x6000082 wait syz-fuzzer 94240 240301 36451 0 3 0x6000082 thrsleep syz-fuzzer 94240 266198 36451 0 3 0x6000082 thrsleep syz-fuzzer 36451 120833 23101 0 3 0x10008a sigsusp ksh 23101 305147 48370 0 3 0x9a kqread sshd 69631 168107 1 0 3 0x100083 ttyin getty 48370 83074 1 0 3 0x88 kqread sshd 54781 353779 68865 73 3 0x1100090 kqread syslogd 68865 486063 1 0 3 0x100082 netio syslogd 72446 279578 1 0 3 0x100080 kqread resolvd 77543 327769 44103 77 3 0x100092 kqread dhcpleased 53272 500836 44103 77 3 0x100092 kqread dhcpleased 44103 175379 1 0 3 0x80 kqread dhcpleased 12094 213653 0 0 3 0x14200 bored smr 89799 571 0 0 2 0x14200 zerothread 65740 163813 0 0 3 0x14200 aiodoned aiodoned 30438 204982 0 0 3 0x14200 syncer update 49117 347406 0 0 3 0x14200 cleaner cleaner 89869 131373 0 0 2 0x14200 reaper 89463 131539 0 0 3 0x14200 pgdaemon pagedaemon 96752 90682 0 0 3 0x14200 bored viomb 95325 516648 0 0 3 0x40014200 acpi0 acpi0 19870 460778 0 0 3 0x40014200 idle1 28916 348675 0 0 3 0x14200 bored softnet3 33354 148079 0 0 3 0x14200 bored softnet2 53275 346208 0 0 3 0x14200 bored softnet1 83466 172359 0 0 3 0x14200 bored softnet0 63344 431918 0 0 3 0x14200 bored systqmp 36951 421588 0 0 3 0x14200 bored systq 45094 30061 0 0 7 0x40014200 softclock 86862 472125 0 0 3 0x40014200 idle0 1 212291 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 10217 6413K 6420K 78643K 11309 0 pcb 13 8K 8K 78643K 13 0 rtable 238 6K 7K 78643K 576 0 pf 29 8K 8K 78643K 37 0 ifaddr 44 15K 15K 78643K 62 0 ifgroup 50 2K 2K 78643K 66 0 sysctl 2 0K 0K 78643K 2 0 counters 60 35K 35K 78643K 68 0 ioctlops 0 0K 2K 78643K 40 0 iov 0 0K 16K 78643K 141 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1278 80K 80K 78643K 1699 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 31 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 501 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 24 89K 121K 78643K 3778 0 sigio 0 0K 0K 78643K 137 0 proc 56 78K 103K 78643K 694 0 subproc 104 6K 6K 78643K 156 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 4 0K 0K 78643K 1995 0 in_multi 99 7K 7K 78643K 155 0 ether_multi 1 0K 0K 78643K 1 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 241 1076K 1076K 78643K 241 0 exec 0 0K 1K 78643K 1364 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 379 90K 100K 78643K 37046 0 UVM aobj 128 3K 3K 78643K 140 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 29 0 NDP 11 0K 2K 78643K 39 0 temp 74 5920K 5986K 78643K 13050 0 kqueue 13 20K 28K 78643K 957 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 153 0 150 3 2 1 3 0 8 0 rtentry 112 159 0 47 4 0 4 4 0 8 0 unpcb 144 2969 0 2952 17 13 4 6 0 8 3 syncache 304 28 0 28 7 7 0 1 0 8 0 tcpqe 32 128 0 128 5 5 0 1 0 8 0 tcpcb 808 2455 0 2370 26 17 9 18 0 8 0 arp 120 26 0 8 1 0 1 1 0 8 0 ipq 40 2 0 2 2 2 0 1 0 8 0 ipqe 40 38 0 38 2 2 0 1 0 8 0 inpcb 368 4473 0 4382 20 11 9 9 0 8 0 nd6 136 40 0 14 1 0 1 1 0 8 0 kcovpl 48 12 0 4 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 657 0 190 30 0 30 30 0 8 0 art_table 32 658 0 190 4 0 4 4 0 8 0 art_node 16 158 0 56 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 0 1 0 1 1 0 8 0 semapl 112 495 0 485 1 0 1 1 0 8 0 shmpl 112 137 0 12 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6082 0 4643 91 0 91 91 0 8 0 ffsino 272 6082 0 4643 97 0 97 97 0 8 0 nchpl 144 11859 0 10215 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 33902 0 33902 2 1 1 2 0 8 1 percpumem 16 47 0 4 1 0 1 1 0 8 0 kstatmem 264 30 0 8 2 0 2 2 0 8 0 scxspl 216 31453 0 31453 13 12 1 8 1 8 1 plimitpl 152 220 0 197 1 0 1 1 0 8 0 sigapl 424 4066 0 4012 7 0 7 7 0 8 0 futexpl 64 51554 0 51548 1 0 1 1 0 8 0 knotepl 120 591 0 0 15 0 15 15 0 8 0 kqueuepl 216 1362 0 1353 19 18 1 5 0 8 0 pipepl 320 1518 0 1489 35 32 3 13 0 8 0 fdescpl 496 4048 0 4013 7 2 5 6 0 8 0 filepl 152 24809 0 24363 56 38 18 20 0 8 0 lockfpl 104 218 0 216 1 0 1 1 0 8 0 lockfspl 48 77 0 75 1 0 1 1 0 8 0 sessionpl 144 27 0 11 1 0 1 1 0 8 0 pgrppl 48 2147 0 2131 1 0 1 1 0 8 0 ucredpl 104 4131 0 4113 1 0 1 1 0 8 0 zombiepl 144 4014 0 4012 1 0 1 1 0 8 0 processpl 1072 4066 0 4012 5 1 4 5 0 8 0 procpl 680 9377 0 9299 9 2 7 8 0 8 0 sosppl 168 28 0 23 4 3 1 1 0 8 0 sockpl 488 8419 0 8308 74 60 14 30 0 8 0 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 25 0 0 4 1 3 3 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 41 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 265 0 0 33 1 32 33 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 385 0 0 18 0 18 18 0 8 0 bufpl 288 8414 0 2091 452 0 452 452 0 8 0 anonpl 24 499180 0 487853 148 73 75 93 0 186 0 amapchunkpl 152 117928 0 117006 65 26 39 46 0 158 1 amappl16 200 11686 0 11413 61 45 16 28 0 8 0 amappl15 192 16 0 14 1 0 1 1 0 8 0 amappl14 184 162 0 151 2 1 1 2 0 8 0 amappl13 176 22 0 20 1 0 1 1 0 8 0 amappl12 168 4743 0 4704 2 0 2 2 0 8 0 amappl11 160 49 0 39 1 0 1 1 0 8 0 amappl10 152 38 0 28 1 0 1 1 0 8 0 amappl9 144 321 0 321 5 4 1 1 0 8 1 amappl8 136 288 0 211 3 0 3 3 0 8 0 amappl7 128 101 0 87 2 0 2 2 0 8 0 amappl6 120 879 0 857 2 1 1 2 0 8 0 amappl5 112 228 0 220 1 0 1 1 0 8 0 amappl4 104 671 0 631 3 1 2 3 0 8 0 amappl3 96 23224 0 23127 3 0 3 3 0 8 0 amappl2 88 4328 0 4257 3 1 2 3 0 8 0 amappl1 80 22466 0 21935 22 9 13 22 0 8 0 amappl 88 36444 0 36187 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 139 0 12 3 0 3 3 0 8 0 uaddrrnd 24 4048 0 4013 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4048 0 4013 1 0 1 1 0 8 0 vmmpekpl 168 35853 0 35780 4 0 4 4 0 8 0 vmmpepl 168 247324 0 244973 168 60 108 116 0 357 1 vmsppl 464 4047 0 4013 7 2 5 6 0 8 0 rwobjpl 56 70613 0 63253 109 5 104 104 0 8 0 pdppl 4096 8104 0 8026 210 128 82 94 0 8 4 pvpl 32 1407139 0 1389501 382 226 156 360 0 265 8 pmappl 248 4047 0 4013 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1008 0 163 25 0 25 25 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82c1fff0) 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(ffffffff82c97058) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c97058) at __mp_lock+0x122 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82c97058,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x46b sys/kern/sched_bsd.c:470 sleep_finish(0,1) at sleep_finish+0x19b sys/kern/kern_synch.c:414 softclock_thread(ffff800021168ff0) at softclock_thread+0xd8 sys/kern/kern_timeout.c:758 end trace frame: 0x0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at witness_checkorder+0x1ec: movl 0x8(%r14),%ebx ddb{1}> trace witness_checkorder(fffffd806f24d0e8,9,0) at witness_checkorder+0x1ec sys/kern/subr_witness.c:794 mtx_enter(fffffd806f24d0d8) at mtx_enter+0x3e sys/kern/kern_lock.c:265 knote_remove(ffff80002121b808,fffffd806f24d0d8,fffffd806f24d160,3,0) at knote_remove+0x20d sys/kern/kern_event.c:1881 knote_fdclose(ffff80002121b808,3) at knote_fdclose+0xae sys/kern/kern_event.c:1934 fdfree(ffff80002121b808) at fdfree+0xdf sys/kern/kern_descrip.c:1196 exit1(ffff80002121b808,0,0,1) at exit1+0x3e4 sys/kern/kern_exit.c:206 sys_exit(ffff80002121b808,ffff80002e461110,ffff80002e461160) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002e4611e0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e4611e0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x72e4939df630, count: -9