panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *374292 4310 0 0 0x4000000 1 syz-executor.3 376419 62760 0 0x2 0 0 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a2db5) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8078c84178) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8078c84178) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8078c84060) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002e40b268,ffff80002e40b274,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002e40b268,ffff80002e40b274,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002e40b268,ffff80002e40b274,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002e40b268,ffff80002e40b274,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd8066f48900) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd8066f48900,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd806c52dc00,fffffd8066f52e00,fffffd806f676f18,20,0,fffffd806f676ea0,82b4b3834833daba) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd806c52dc00,fffffd8066f52e00,fffffd806f676f18,20,0,fffffd806f676ea0,82b4b3834833daba) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd806c52dc00,fffffd807a334018,ffff80002e40b4c0,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 end trace frame: 0xffff80002e40b540, count: 0 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a2db5) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8078c84178) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8078c84178) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8078c84060) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002e40b268,ffff80002e40b274,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002e40b268,ffff80002e40b274,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002e40b268,ffff80002e40b274,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002e40b268,ffff80002e40b274,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd8066f48900) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd8066f48900,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd806c52dc00,fffffd8066f52e00,fffffd806f676f18,20,0,fffffd806f676ea0,82b4b3834833daba) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd806c52dc00,fffffd8066f52e00,fffffd806f676f18,20,0,fffffd806f676ea0,82b4b3834833daba) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd806c52dc00,fffffd807a334018,ffff80002e40b4c0,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 rip_usrreq(fffffd807a334018,9,fffffd806c52dc00,0,0,ffff800028efe010) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554 sosend(fffffd807a334018,0,ffff80002e40b6d8,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff800028efe010,3,ffff80002e40b6d8,0,ffff80002e40b7d0) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff800028efe010,ffff80002e40b778,ffff80002e40b7d0) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff80002e40b840) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e40b840) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xeb9dbaaf0a0, count: -20 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e40adf0 rbx 0xffff800020ce9bff rdx 0 rcx 0 rax 0xffff800028efe010 r8 0x101010101010101 r9 0x8080808080808080 r10 0x20e2666dc9c4ef04 r11 0xf0e3f0a588da7d2c r12 0xffff800020ce9a00 r13 0 r14 0 r15 0x1 rip 0xffffffff811e4c58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e40ade0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.3) pid=374292 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800028eff510,0xffff800028eff280 process=0xffff8000fffec020 user=0xffff80002e406000, vmspace=0xfffffd8068081188 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 17158 331960 53480 0 2 0 syz-executor.2 94038 399363 60001 0 2 0 syz-executor.5 94038 79840 60001 0 2 0x4000000 syz-executor.5 77878 457076 91425 0 3 0x80 nanoslp syz-executor.6 77878 240501 91425 0 3 0x4000080 fsleep syz-executor.6 84040 450587 67218 0 2 0 syz-executor.4 84040 203413 67218 0 3 0x4000080 fsleep syz-executor.4 24419 223242 89941 0 2 0 syz-executor.1 24419 267573 89941 0 3 0x4000080 fsleep syz-executor.1 4310 58095 81317 0 2 0 syz-executor.3 * 4310 374292 81317 0 7 0x4000000 syz-executor.3 4310 326915 81317 0 3 0x4000080 fsleep syz-executor.3 77997 155240 10749 0 2 0 syz-executor.7 60001 109278 12741 0 3 0x82 nanoslp syz-executor.5 67218 28862 12741 0 3 0x82 nanoslp syz-executor.4 68467 456330 0 0 3 0x14200 bored sosplice 51624 214196 0 0 3 0x14200 acct acct 36487 147873 0 0 3 0x14280 nfsidl nfsio 308 408374 0 0 3 0x14280 nfsidl nfsio 7111 43971 0 0 3 0x14280 nfsidl nfsio 76240 282127 0 0 3 0x14280 nfsidl nfsio 11373 159655 0 0 3 0x14280 nfsidl nfsio 64571 233579 0 0 3 0x14280 nfsidl nfsio 57814 264060 0 0 3 0x14280 nfsidl nfsio 95395 435747 0 0 3 0x14280 nfsidl nfsio 62927 446577 0 0 3 0x14280 nfsidl nfsio 20881 121125 0 0 3 0x14280 nfsidl nfsio 49910 68904 0 0 3 0x14280 nfsidl nfsio 12349 174721 0 0 3 0x14280 nfsidl nfsio 68829 450287 0 0 3 0x14280 nfsidl nfsio 64588 340585 0 0 3 0x14280 nfsidl nfsio 65050 231392 0 0 3 0x14280 nfsidl nfsio 84446 154941 0 0 3 0x14280 nfsidl nfsio 7108 200351 0 0 3 0x14280 nfsidl nfsio 31279 191751 0 0 3 0x14280 nfsidl nfsio 72138 268591 0 0 3 0x14280 nfsidl nfsio 12920 228460 0 0 3 0x14280 nfsidl nfsio 91425 136073 12741 0 3 0x82 nanoslp syz-executor.6 10749 489211 12741 0 3 0x82 nanoslp syz-executor.7 81317 26772 12741 0 3 0x82 nanoslp syz-executor.3 89941 467459 12741 0 3 0x82 nanoslp syz-executor.1 53480 86744 12741 0 3 0x82 nanoslp syz-executor.2 62760 376419 12741 0 7 0x2 syz-executor.0 12741 520845 81730 0 3 0x82 thrsleep syz-fuzzer 12741 172699 81730 0 3 0x4000082 nanoslp syz-fuzzer 12741 68506 81730 0 3 0x4000082 thrsleep syz-fuzzer 12741 131517 81730 0 3 0x4000082 thrsleep syz-fuzzer 12741 461374 81730 0 3 0x4000082 thrsleep syz-fuzzer 12741 88847 81730 0 3 0x4000082 nanoslp syz-fuzzer 12741 46501 81730 0 3 0x4000082 kqread syz-fuzzer 12741 393004 81730 0 3 0x4000082 thrsleep syz-fuzzer 12741 314696 81730 0 3 0x4000082 thrsleep syz-fuzzer 81730 273525 7344 0 3 0x10008a sigsusp ksh 7344 369141 14898 0 3 0x9a kqread sshd 66923 482426 1 0 3 0x100083 ttyopn getty 14898 97069 1 0 3 0x88 kqread sshd 64367 519690 48356 74 3 0x1100092 bpf pflogd 48356 120401 1 0 3 0x80 netio pflogd 77992 416754 49787 73 3 0x1100090 kqread syslogd 49787 333656 1 0 3 0x100082 netio syslogd 67308 75152 1 0 3 0x100080 kqread resolvd 38785 79812 63468 77 3 0x100092 kqread dhcpleased 45905 235437 63468 77 3 0x100092 kqread dhcpleased 63468 206658 1 0 3 0x80 kqread dhcpleased 91598 224519 0 0 3 0x14200 bored smr 52080 149588 0 0 2 0x14200 zerothread 3760 126445 0 0 3 0x14200 aiodoned aiodoned 46056 123985 0 0 3 0x14200 syncer update 90807 301859 0 0 3 0x14200 cleaner cleaner 66235 27490 0 0 3 0x14200 reaper reaper 12084 290408 0 0 3 0x14200 pgdaemon pagedaemon 46803 154110 0 0 3 0x14200 bored viomb 67661 82858 0 0 3 0x40014200 acpi0 acpi0 86050 430823 0 0 3 0x40014200 idle1 30333 309354 0 0 3 0x14200 bored softnet 23369 33392 0 0 3 0x14200 bored systqmp 69714 80850 0 0 3 0x14200 bored systq 17022 395176 0 0 3 0x40014200 bored softclock 80312 138038 0 0 3 0x40014200 idle0 1 395165 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &table->inpt_mtx r = 0 (0xffffffff82b03010) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 rip_input+0x135 #4 ip_deliver+0x322 sys/netinet/ip_input.c:657 #5 ip_ours+0x3ba sys/netinet/ip_input.c:616 #6 ip_input_if+0x2a1 #7 ipv4_input+0x48 sys/netinet/ip_input.c:242 #8 if_input_local+0x10e sys/net/if.c:774 #9 ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] #9 ip_output+0xb05 sys/netinet/ip_output.c:332 #10 rip_output+0x2cb sys/netinet/raw_ip.c:302 #11 rip_usrreq+0x49c sys/netinet/raw_ip.c:554 #12 sosend+0x632 sys/kern/uipc_socket.c:582 #13 dofilewritev+0x19c sys/kern/sys_generic.c:381 #14 sys_write+0x83 sys/kern/sys_generic.c:301 #15 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #15 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #16 Xsyscall+0x128 Process 17158 (syz-executor.2) thread 0xffff800024a9c7e8 (331960) exclusive rwlock amaplk r = 0 (0xfffffd8078c78b78) #0 witness_lock+0x44d #1 uvm_fault_check+0x3ca sys/uvm/uvm_fault.c:774 #2 uvm_fault+0x102 sys/uvm/uvm_fault.c:602 #3 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #4 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #5 recall_trap+0x8 shared rwlock vmmaplk r = 0 (0xfffffd8068081030) #0 witness_lock+0x44d #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1758 #2 uvm_fault_check+0x3a sys/uvm/uvm_fault.c:674 #3 uvm_fault+0x102 sys/uvm/uvm_fault.c:602 #4 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #5 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #6 recall_trap+0x8 Process 4310 (syz-executor.3) thread 0xffff800028efe010 (374292) exclusive rwlock netlock r = 0 (0xffffffff82904160) #0 witness_lock+0x44d #1 solock+0x86 sys/kern/uipc_socket2.c:295 #2 sosend+0x517 sys/kern/uipc_socket.c:570 #3 dofilewritev+0x19c sys/kern/sys_generic.c:381 #4 sys_write+0x83 sys/kern/sys_generic.c:301 #5 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #6 Xsyscall+0x128 exclusive mutex &table->inpt_mtx r = 0 (0xffffffff82b03010) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 rip_input+0x135 #4 ip_deliver+0x322 sys/netinet/ip_input.c:657 #5 ip_ours+0x3ba sys/netinet/ip_input.c:616 #6 ip_input_if+0x2a1 #7 ipv4_input+0x48 sys/netinet/ip_input.c:242 #8 if_input_local+0x10e sys/net/if.c:774 #9 ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] #9 ip_output+0xb05 sys/netinet/ip_output.c:332 #10 rip_output+0x2cb sys/netinet/raw_ip.c:302 #11 rip_usrreq+0x49c sys/netinet/raw_ip.c:554 #12 sosend+0x632 sys/kern/uipc_socket.c:582 #13 dofilewritev+0x19c sys/kern/sys_generic.c:381 #14 sys_write+0x83 sys/kern/sys_generic.c:301 #15 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #15 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #16 Xsyscall+0x128 Process 62760 (syz-executor.0) thread 0xffff8000ffff4540 (376419) exclusive rrwlock inode r = 0 (0xfffffd8067e2ae78) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1347 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3101 #10 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806a89b808) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3086 #8 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10341 6555K 6819K 78643K 12349 0 pcb 13 12K 14K 78643K 202 0 rtable 237 11K 12K 78643K 562 0 ifaddr 84 17K 20K 78643K 290 0 sysctl 2 0K 0K 78643K 2 0 counters 54 35K 35K 78643K 92 0 ioctlops 0 0K 6K 78643K 2154 0 iov 0 0K 16K 78643K 45 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1305 82K 82K 78643K 1593 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 29 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 185 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 93K 78643K 1230 0 sigio 0 0K 0K 78643K 39 0 proc 69 87K 136K 78643K 587 0 subproc 104 6K 6K 78643K 130 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 28 0 in_multi 84 5K 6K 78643K 141 0 ether_multi 1 0K 0K 78643K 1 0 mrt 0 0K 0K 78643K 9 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 235 1049K 1049K 78643K 235 0 exec 0 0K 2K 78643K 719 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 7 26K 26K 78643K 7 0 UVM amap 361 231K 231K 78643K 17291 0 UVM aobj 129 4K 4K 78643K 129 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 263 0 NDP 11 0K 2K 78643K 53 0 temp 128 4715K 4829K 78643K 14189 0 kqueue 12 18K 22K 78643K 92 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 72 0 69 1 0 1 1 0 8 0 rtentry 112 167 0 69 4 0 4 4 0 8 0 unpcb 136 2808 0 2793 25 22 3 9 0 8 2 syncache 296 14 0 14 3 3 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 304 0 300 10 9 1 8 0 8 0 arp 120 30 0 13 1 0 1 1 0 8 0 inpcb 312 1034 0 994 15 11 4 6 0 8 0 rttmr 72 3 0 3 1 1 0 1 0 8 0 nd6 48 35 0 14 1 0 1 1 0 8 0 pkpcb 40 35 0 35 1 1 0 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1248 3 0 3 1 1 0 1 0 8 0 pfstscr 40 3 0 3 1 1 0 1 0 8 0 pffrent 40 12 0 12 3 3 0 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 pfrktable 1344 18 0 9 1 0 1 1 0 8 0 pfstitem 24 23 0 17 1 0 1 1 0 8 0 pfstkey 112 25 0 19 1 0 1 1 0 8 0 pfstate 320 22 0 16 2 1 1 2 0 8 0 pfrule 1360 360 0 345 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 657 0 248 31 5 26 30 0 8 0 art_table 32 658 0 248 4 0 4 4 0 8 0 art_node 16 166 0 76 1 0 1 1 0 8 0 sysvmsgpl 40 29 0 10 1 0 1 1 0 8 0 semapl 112 183 0 173 1 0 1 1 0 8 0 shmpl 112 126 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2853 0 1412 91 0 91 91 0 8 0 ffsino 272 2853 0 1412 97 0 97 97 0 8 0 nchpl 144 4494 0 2864 63 0 63 63 0 8 0 uvmvnodes 80 3162 0 0 65 0 65 65 0 8 0 vnodes 224 3162 0 0 186 0 186 186 0 8 0 namei 1024 14907 0 14906 4 3 1 2 0 8 0 percpumem 16 58 0 19 1 0 1 1 0 8 0 vcpupl 2048 137 0 0 18 0 18 18 0 8 0 vmpool 560 137 0 0 10 0 10 10 0 8 0 pfiaddrpl 120 12 0 0 1 0 1 1 0 8 0 scxspl 216 13122 0 13122 11 10 1 8 0 8 1 plimitpl 152 65 0 50 1 0 1 1 0 8 0 sigapl 424 1550 0 1484 9 1 8 8 0 8 0 futexpl 64 9910 0 9906 1 0 1 1 0 8 0 knotepl 120 170 0 0 5 0 5 5 0 8 0 kqueuepl 216 170 0 162 3 2 1 3 0 8 0 pipepl 336 346 0 318 13 5 8 8 0 8 5 fdescpl 496 1514 0 1484 6 2 4 5 0 8 0 filepl 152 9325 0 9053 40 23 17 19 0 8 6 lockfpl 104 231 0 229 2 1 1 2 0 8 0 lockfspl 48 48 0 46 1 0 1 1 0 8 0 sessionpl 144 26 0 9 1 0 1 1 0 8 0 pgrppl 48 124 0 107 1 0 1 1 0 8 0 ucredpl 96 846 0 834 1 0 1 1 0 8 0 zombiepl 144 1484 0 1484 1 0 1 1 0 8 1 processpl 1064 1550 0 1484 5 0 5 5 0 8 0 procpl 672 3684 0 3604 9 1 8 8 0 8 0 srpgc 96 4 0 4 1 1 0 1 0 8 0 sosppl 168 10 0 10 3 2 1 1 0 8 1 sockpl 480 3949 0 3891 134 122 12 34 0 8 4 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 7 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 18 0 0 3 0 3 3 0 8 0 mcl4k 4096 15 0 0 2 0 2 2 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 168 0 0 20 0 20 20 0 8 0 mtagpl 96 114 0 0 3 0 3 3 0 8 0 mbufpl 256 344 0 0 20 0 20 20 0 8 0 bufpl 288 5114 0 151 355 0 355 355 0 8 0 anonpl 24 387318 0 369104 153 30 123 146 0 186 0 amapchunkpl 152 40704 0 39866 41 6 35 37 0 158 2 amappl16 200 3739 0 3140 48 16 32 45 0 8 0 amappl15 192 104 0 98 1 0 1 1 0 8 0 amappl14 184 3 0 2 2 1 1 1 0 8 0 amappl13 176 253 0 247 1 0 1 1 0 8 0 amappl12 168 123 0 123 2 2 0 1 0 8 0 amappl11 160 273 0 254 1 0 1 1 0 8 0 amappl10 152 498 0 487 1 0 1 1 0 8 0 amappl9 144 474 0 471 1 0 1 1 0 8 0 amappl8 136 798 0 736 3 0 3 3 0 8 0 amappl7 128 271 0 257 1 0 1 1 0 8 0 amappl6 120 210 0 187 2 1 1 2 0 8 0 amappl5 112 1516 0 1492 1 0 1 1 0 8 0 amappl4 104 1265 0 1235 3 2 1 2 0 8 0 amappl3 96 386 0 373 1 0 1 1 0 8 0 amappl2 88 888 0 837 3 1 2 3 0 8 0 amappl1 80 30521 0 29934 20 7 13 19 0 8 0 amappl 88 16753 0 16483 8 1 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 128 0 0 3 0 3 3 0 8 0 uaddrrnd 24 1651 0 1484 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1651 0 1484 2 0 2 2 0 8 0 vmmpekpl 168 15261 0 15188 4 0 4 4 0 8 0 vmmpepl 168 141778 0 138841 172 33 139 154 0 357 7 vmsppl 368 1650 0 1484 18 2 16 16 0 8 0 rwobjpl 56 38583 0 33699 70 1 69 69 0 8 0 pdppl 4096 3309 0 3105 298 92 206 207 0 8 2 pvpl 32 764509 0 741764 292 82 210 246 0 265 10 pmappl 248 1650 0 1484 11 0 11 11 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1007 0 130 26 0 26 26 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff8298cff0) at x86_ipi_db+0x1a 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+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 sys/dev/kcov.c:148 __mp_lock(ffffffff829f38d0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0x133 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff829f38d0,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:416 sleep_finish(ffff800021216150,1) at sleep_finish+0x198 sys/kern/kern_synch.c:437 tsleep(fffffd8064707498,11,ffffffff82602c8c,0) at tsleep+0x12c sys/kern/kern_synch.c:158 biowait(fffffd8064707498) at biowait+0x91 sys/kern/vfs_bio.c:1271 bwrite(fffffd8064707498) at bwrite+0x21b sys/kern/vfs_bio.c:772 VOP_BWRITE(fffffd8064707498) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:656 ufs_mkdir(ffff800021216450) at ufs_mkdir+0x6b4 sys/ufs/ufs/ufs_vnops.c:1248 VOP_MKDIR(fffffd806a897be0,ffff8000212165b0,ffff8000212165e0,ffff8000212164e0) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 end trace frame: 0xffff800021216680, count: 0 ddb{0}> trace x86_ipi_db(ffffffff8298cff0) at x86_ipi_db+0x1a 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+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 sys/dev/kcov.c:148 __mp_lock(ffffffff829f38d0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0x133 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff829f38d0,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:416 sleep_finish(ffff800021216150,1) at sleep_finish+0x198 sys/kern/kern_synch.c:437 tsleep(fffffd8064707498,11,ffffffff82602c8c,0) at tsleep+0x12c sys/kern/kern_synch.c:158 biowait(fffffd8064707498) at biowait+0x91 sys/kern/vfs_bio.c:1271 bwrite(fffffd8064707498) at bwrite+0x21b sys/kern/vfs_bio.c:772 VOP_BWRITE(fffffd8064707498) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:656 ufs_mkdir(ffff800021216450) at ufs_mkdir+0x6b4 sys/ufs/ufs/ufs_vnops.c:1248 VOP_MKDIR(fffffd806a897be0,ffff8000212165b0,ffff8000212165e0,ffff8000212164e0) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 domkdirat(ffff8000ffff4540,ffffff9c,7f7ffffc9ce0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3101 syscall(ffff800021216760) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021216760) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc9d50, count: -17 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a2db5) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8078c84178) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8078c84178) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8078c84060) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002e40b268,ffff80002e40b274,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002e40b268,ffff80002e40b274,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002e40b268,ffff80002e40b274,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002e40b268,ffff80002e40b274,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd8066f48900) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd8066f48900,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd806c52dc00,fffffd8066f52e00,fffffd806f676f18,20,0,fffffd806f676ea0,82b4b3834833daba) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd806c52dc00,fffffd8066f52e00,fffffd806f676f18,20,0,fffffd806f676ea0,82b4b3834833daba) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd806c52dc00,fffffd807a334018,ffff80002e40b4c0,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 end trace frame: 0xffff80002e40b540, count: 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff825a2db5) at panic+0x177 sys/kern/subr_prf.c:202 witness_checkorder(ffffffff829f3ad8,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833 __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff829f38d0) at __mp_lock+0xa1 sys/kern/kern_lock.c:142 selwakeup(fffffd8078c84178) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd8078c84178) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd8078c84060) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699 rip_input(ffff80002e40b268,ffff80002e40b274,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188 ip_deliver(ffff80002e40b268,ffff80002e40b274,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657 ip_ours(ffff80002e40b268,ffff80002e40b274,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616 ip_input_if(ffff80002e40b268,ffff80002e40b274,4,0,ffff800000689000) at ip_input_if+0x2a1 ipv4_input(ffff800000689000,fffffd8066f48900) at ipv4_input+0x48 sys/netinet/ip_input.c:242 if_input_local(ffff800000689000,fffffd8066f48900,2) at if_input_local+0x10e sys/net/if.c:774 ip_output(fffffd806c52dc00,fffffd8066f52e00,fffffd806f676f18,20,0,fffffd806f676ea0,82b4b3834833daba) at ip_output+0xb05 ip_mloopback sys/netinet/ip_output.c:1791 [inline] ip_output(fffffd806c52dc00,fffffd8066f52e00,fffffd806f676f18,20,0,fffffd806f676ea0,82b4b3834833daba) at ip_output+0xb05 sys/netinet/ip_output.c:332 rip_output(fffffd806c52dc00,fffffd807a334018,ffff80002e40b4c0,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302 rip_usrreq(fffffd807a334018,9,fffffd806c52dc00,0,0,ffff800028efe010) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554 sosend(fffffd807a334018,0,ffff80002e40b6d8,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582 dofilewritev(ffff800028efe010,3,ffff80002e40b6d8,0,ffff80002e40b7d0) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff800028efe010,ffff80002e40b778,ffff80002e40b7d0) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff80002e40b840) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e40b840) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xeb9dbaaf0a0, count: -20