panic: lock (rwlock) solock not locked Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *353673 75349 32767 0x10 0x4000000 0K syz-executor.3 115252 88017 0 0x14000 0x200 1 reaper db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82585177) at panic+0x177 sys/kern/subr_prf.c:198 witness_assert(fffffd80694abbd8,4) at witness_assert+0x3ef sys/kern/subr_witness.c:1950 somove(fffffd80694ab9d8,1) at somove+0x25d sbspace sys/sys/socketvar.h:209 [inline] somove(fffffd80694ab9d8,1) at somove+0x25d sys/kern/uipc_socket.c:1487 sosplice(fffffd80694ab9d8,5,0,0) at sosplice+0x50b sys/kern/uipc_socket.c:1346 sosetopt(fffffd80694ab9d8,ffff,1023,fffffd806657bc00) at sosetopt+0x7f4 sys_setsockopt(ffff8000ffff4540,ffff80002e4ce4e8,ffff80002e4ce530) at sys_setsockopt+0x1f6 sys/kern/uipc_syscalls.c:1233 syscall(ffff80002e4ce5b0) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002e4ce5b0) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5b28706ed00, count: 6 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: lock (rwlock) solock not locked ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82585177) at panic+0x177 sys/kern/subr_prf.c:198 witness_assert(fffffd80694abbd8,4) at witness_assert+0x3ef sys/kern/subr_witness.c:1950 somove(fffffd80694ab9d8,1) at somove+0x25d sbspace sys/sys/socketvar.h:209 [inline] somove(fffffd80694ab9d8,1) at somove+0x25d sys/kern/uipc_socket.c:1487 sosplice(fffffd80694ab9d8,5,0,0) at sosplice+0x50b sys/kern/uipc_socket.c:1346 sosetopt(fffffd80694ab9d8,ffff,1023,fffffd806657bc00) at sosetopt+0x7f4 sys_setsockopt(ffff8000ffff4540,ffff80002e4ce4e8,ffff80002e4ce530) at sys_setsockopt+0x1f6 sys/kern/uipc_syscalls.c:1233 syscall(ffff80002e4ce5b0) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002e4ce5b0) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5b28706ed00, count: -9 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e4ce1e0 rbx 0xffffffff829bab8f cpu_info_full_primary+0x2b8f rdx 0xffff800000bd61c0 rcx 0 rax 0xffff8000ffff4540 r8 0x101010101010101 r9 0x8080808080808080 r10 0xe9e529c012f9095d r11 0x7867d726616c932 r12 0xffffffff829ba990 cpu_info_full_primary+0x2990 r13 0 r14 0 r15 0x1 rip 0xffffffff81fd76c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e4ce1d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.3) pid=353673 stat=onproc flags process=10 proc=4000000 pri=32, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff80002479ed28,0xffffffff82b7cfd0 process=0xffff8000ffff2dd0 user=0xffff80002e4c9000, vmspace=0xfffffd80667ba188 estcpu=31, cpticks=0, pctcpu=0.1 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 75349 292930 31731 32767 2 0x10 syz-executor.3 *75349 353673 31731 32767 7 0x4000010 syz-executor.3 79477 474208 3282 32767 2 0x10 syz-executor.0 12083 151034 4907 32767 2 0x490 syz-executor.7 12083 93045 4907 32767 3 0x4000090 fsleep syz-executor.7 12083 467323 4907 32767 3 0x4000090 netio syz-executor.7 12083 125922 4907 32767 3 0x4000090 fsleep syz-executor.7 78002 418068 21164 32767 3 0x90 nanoslp syz-executor.2 21164 105414 47254 0 3 0x82 wait syz-executor.2 96444 15068 43836 32767 2 0x10 syz-executor.6 43836 276578 47254 0 3 0x82 wait syz-executor.6 39284 58725 55647 32767 2 0x10 syz-executor.4 55647 491521 47254 0 3 0x82 wait syz-executor.4 3282 447816 35682 32767 2 0x10 syz-executor.0 35682 287274 47254 0 3 0x82 wait syz-executor.0 18358 453160 0 0 3 0x14200 bored sosplice 4907 70243 51493 32767 3 0x90 nanoslp syz-executor.7 51493 32661 47254 0 3 0x82 wait syz-executor.7 31731 73167 15180 32767 3 0x90 nanoslp syz-executor.3 33289 202087 74554 32767 2 0x490 syz-executor.5 74554 145449 47254 0 3 0x82 wait syz-executor.5 15180 448329 47254 0 3 0x82 wait syz-executor.3 10768 503897 11670 32767 3 0x90 piperd syz-executor.1 11670 252783 47254 0 3 0x82 wait syz-executor.1 47254 517742 23981 0 3 0x82 wait syz-fuzzer 47254 402560 23981 0 3 0x4000082 nanoslp syz-fuzzer 47254 158609 23981 0 3 0x4000082 thrsleep syz-fuzzer 47254 3198 23981 0 3 0x4000082 wait syz-fuzzer 47254 273762 23981 0 3 0x4000082 thrsleep syz-fuzzer 47254 472041 23981 0 3 0x4000082 wait syz-fuzzer 47254 230976 23981 0 3 0x4000082 thrsleep syz-fuzzer 47254 146861 23981 0 3 0x4000082 wait syz-fuzzer 47254 479529 23981 0 3 0x4000082 thrsleep syz-fuzzer 47254 292523 23981 0 3 0x4000082 thrsleep syz-fuzzer 47254 251219 23981 0 3 0x4000082 thrsleep syz-fuzzer 47254 371545 23981 0 3 0x4000082 wait syz-fuzzer 47254 66898 23981 0 3 0x4000082 kqread syz-fuzzer 47254 427653 23981 0 3 0x4000082 wait syz-fuzzer 47254 127321 23981 0 3 0x4000082 wait syz-fuzzer 47254 202399 23981 0 3 0x4000082 wait syz-fuzzer 23981 92702 49648 0 3 0x10008a sigsusp ksh 49648 477181 83589 0 3 0x9a kqread sshd 65439 296302 1 0 3 0x100083 ttyin getty 83589 8031 1 0 3 0x88 kqread sshd 65996 288992 31967 73 3 0x1100090 kqread syslogd 31967 190677 1 0 3 0x100082 netio syslogd 38523 86014 1 0 3 0x100080 kqread resolvd 57953 334056 15332 77 3 0x100092 kqread dhcpleased 10764 50980 15332 77 3 0x100092 kqread dhcpleased 15332 137041 1 0 3 0x80 kqread dhcpleased 35774 327452 0 0 3 0x14200 bored smr 26380 306124 0 0 2 0x14200 zerothread 87233 100744 0 0 3 0x14200 aiodoned aiodoned 66544 12895 0 0 3 0x14200 syncer update 9001 298369 0 0 3 0x14200 cleaner cleaner 88017 115252 0 0 7 0x14200 reaper 69677 502876 0 0 3 0x14200 pgdaemon pagedaemon 92876 489100 0 0 3 0x14200 bored viomb 87352 64050 0 0 3 0x40014200 acpi0 acpi0 44777 378362 0 0 3 0x40014200 idle1 1434 467755 0 0 3 0x14200 bored softnet 50790 435138 0 0 3 0x14200 bored softnet 258 57425 0 0 3 0x14200 bored softnet 22125 399251 0 0 3 0x14200 bored softnet 64426 127446 0 0 3 0x14200 bored systqmp 51295 233136 0 0 3 0x14200 bored systq 25100 511524 0 0 2 0x40014200 softclock 50559 366356 0 0 3 0x40014200 idle0 1 160039 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 1: exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff829e5b10) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 uvm_pmr_freepageq+0xcc sys/uvm/uvm_pmemrange.c:1333 #4 amap_wipeout+0x1ff sys/uvm/uvm_amap.c:523 #5 uvm_unmap_detach+0x7d sys/uvm/uvm_map.c:1351 #6 uvm_map_teardown+0x262 sys/uvm/uvm_map.c:2541 #7 uvmspace_free+0xa6 sys/uvm/uvm_map.c:3436 #8 reaper+0x19a sys/kern/kern_exit.c:448 #9 proc_trampoline+0x1c Process 75349 (syz-executor.3) thread 0xffff8000ffff4540 (353673) exclusive rwlock netlock r = 0 (0xffffffff82971a40) #0 witness_lock+0x44d #1 sys_setsockopt+0x1de sys/kern/uipc_syscalls.c:1233 #2 syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] #2 syscall+0x435 sys/arch/amd64/amd64/trap.c:585 #3 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82a8d100) #0 witness_lock+0x44d #1 syscall+0x41d mi_syscall sys/sys/syscall_mi.h:100 [inline] #1 syscall+0x41d sys/arch/amd64/amd64/trap.c:585 #2 Xsyscall+0x128 Process 96444 (syz-executor.6) thread 0xffff800021258010 (15068) exclusive rrwlock inode r = 0 (0xfffffd8076abeb40) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1353 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1150 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3112 #10 syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] #10 syscall+0x435 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806e535920) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:412 #6 namei+0x36a sys/kern/vfs_lookup.c:244 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3097 #8 syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] #8 syscall+0x435 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 Process 39284 (syz-executor.4) thread 0xffff800026be3a40 (58725) exclusive rrwlock inode r = 0 (0xfffffd8076abe3d0) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1353 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1150 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3112 #10 syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] #10 syscall+0x435 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806999b2b8) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:412 #6 namei+0x36a sys/kern/vfs_lookup.c:244 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3097 #8 syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] #8 syscall+0x435 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 Process 88017 (reaper) thread 0xffff800021233a48 (115252) exclusive rwlock amaplk r = 0 (0xfffffd80669ea0b8) #0 witness_lock+0x44d #1 amap_unref+0x2b sys/uvm/uvm_amap.c:1363 #2 uvm_unmap_detach+0x7d sys/uvm/uvm_map.c:1351 #3 uvm_map_teardown+0x262 sys/uvm/uvm_map.c:2541 #4 uvmspace_free+0xa6 sys/uvm/uvm_map.c:3436 #5 reaper+0x19a sys/kern/kern_exit.c:448 #6 proc_trampoline+0x1c ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10223 6413K 6420K 78643K 11354 0 pcb 13 12K 14K 78643K 17 0 rtable 240 6K 7K 78643K 1238 0 ifaddr 82 17K 17K 78643K 177 0 sysctl 3 1K 1K 78643K 3 0 counters 56 35K 35K 78643K 82 0 ioctlops 0 0K 2K 78643K 88 0 iov 0 0K 28K 78643K 505 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1270 79K 79K 78643K 2473 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 36 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 651 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 21 77K 121K 78643K 4596 0 sigio 0 0K 0K 78643K 31 0 proc 56 78K 103K 78643K 1088 0 subproc 104 6K 6K 78643K 273 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 371 0 in_multi 99 6K 6K 78643K 292 0 ether_multi 1 0K 0K 78643K 28 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 283 1261K 1261K 78643K 283 0 exec 0 0K 2K 78643K 1335 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 275 82K 977K 78643K 29199 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 115 0 NDP 11 0K 2K 78643K 66 0 temp 124 4726K 4854K 78643K 14883 0 kqueue 12 18K 24K 78643K 507 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> 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 545 0 542 10 7 3 3 0 8 2 rtentry 112 262 0 149 4 0 4 4 0 8 0 unpcb 144 5961 0 5946 48 42 6 10 0 8 5 syncache 296 52 0 52 12 11 1 1 0 8 1 tcpqe 32 65 0 65 8 8 0 1 0 8 0 tcpcb 768 2976 0 2967 81 75 6 22 0 8 3 arp 120 45 0 27 1 0 1 1 0 8 0 ipq 40 12 0 12 3 3 0 1 0 8 0 ipqe 40 38 0 38 3 3 0 1 0 8 0 inpcb 368 5521 0 5507 67 62 5 17 0 8 3 nd6 48 70 0 43 1 0 1 1 0 8 0 kcovpl 48 21 0 13 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1049 0 583 31 1 30 30 0 8 0 art_table 32 1050 0 583 4 0 4 4 0 8 0 art_node 16 261 0 158 1 0 1 1 0 8 0 sysvmsgpl 40 22 0 18 1 0 1 1 0 8 0 semapl 112 644 0 634 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 7610 0 6173 92 1 91 91 0 8 0 ffsino 272 7610 0 6173 98 1 97 97 0 8 0 nchpl 144 14171 0 12532 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 48867 0 48865 5 4 1 2 0 8 0 percpumem 16 53 0 13 1 0 1 1 0 8 0 kstatmem 264 48 0 26 2 0 2 2 0 8 0 scxspl 216 46111 0 46111 23 22 1 8 0 8 1 plimitpl 152 975 0 953 3 2 1 2 0 8 0 sigapl 424 4861 0 4809 7 0 7 7 0 8 0 futexpl 64 41233 0 41231 4 3 1 1 0 8 0 knotepl 120 595 0 0 17 0 17 17 0 8 0 kqueuepl 216 5593 0 5585 42 41 1 10 0 8 0 pipepl 320 1721 0 1693 43 37 6 10 0 8 3 fdescpl 496 4843 0 4811 7 1 6 6 0 8 0 filepl 152 41813 0 41573 68 51 17 20 0 8 7 lockfpl 104 592 0 590 1 0 1 1 0 8 0 lockfspl 48 183 0 181 1 0 1 1 0 8 0 sessionpl 144 36 0 20 1 0 1 1 0 8 0 pgrppl 48 56 0 40 1 0 1 1 0 8 0 ucredpl 104 6139 0 6121 1 0 1 1 0 8 0 zombiepl 144 4811 0 4809 3 2 1 1 0 8 0 processpl 1064 4861 0 4809 5 1 4 5 0 8 0 procpl 672 13665 0 13594 12 4 8 9 0 8 0 sosppl 168 52 0 49 10 9 1 1 0 8 0 sockpl 488 12234 0 12202 261 233 28 34 0 8 24 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 25 0 0 4 1 3 3 0 8 0 mcl4k 4096 28 0 0 3 0 3 3 0 8 0 mcl2k2 2112 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 222 0 0 22 1 21 22 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 2493 0 0 147 0 147 147 0 8 0 bufpl 288 10170 0 3843 453 0 453 453 0 8 0 anonpl 24 936843 0 924419 177 83 94 104 0 186 0 amapchunkpl 152 483847 0 483232 6483 6323 160 4415 0 158 130 amappl16 200 12990 0 12600 85 59 26 34 0 8 0 amappl15 192 1376 0 1369 1 0 1 1 0 8 0 amappl14 184 740 0 733 1 0 1 1 0 8 0 amappl13 176 173 0 168 1 0 1 1 0 8 0 amappl12 168 16 0 14 1 0 1 1 0 8 0 amappl11 160 713 0 698 1 0 1 1 0 8 0 amappl10 152 562 0 557 1 0 1 1 0 8 0 amappl9 144 509 0 507 1 0 1 1 0 8 0 amappl8 136 2610 0 2513 5 1 4 4 0 8 0 amappl7 128 1857 0 1830 1 0 1 1 0 8 0 amappl6 120 333 0 320 2 1 1 2 0 8 0 amappl5 112 4028 0 4009 1 0 1 1 0 8 0 amappl4 104 2790 0 2751 2 0 2 2 0 8 0 amappl3 96 14179 0 14127 2 0 2 2 0 8 0 amappl2 88 806 0 770 2 1 1 2 0 8 0 amappl1 80 122273 0 121610 19 2 17 19 0 8 0 amappl 88 28357 0 28189 6 1 5 5 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 4843 0 4811 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4843 0 4811 1 0 1 1 0 8 0 vmmpekpl 168 45177 0 45108 4 0 4 4 0 8 0 vmmpepl 168 479786 0 477282 192 60 132 149 0 357 6 vmsppl 368 4842 0 4810 4 0 4 4 0 8 0 rwobjpl 56 124697 0 117262 112 3 109 110 0 8 1 pdppl 4096 9693 0 9620 270 189 81 93 0 8 8 pvpl 32 1901226 0 1883877 340 176 164 244 0 265 1 pmappl 248 4842 0 4810 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1209 0 262 28 0 28 28 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82585177) at panic+0x177 sys/kern/subr_prf.c:198 witness_assert(fffffd80694abbd8,4) at witness_assert+0x3ef sys/kern/subr_witness.c:1950 somove(fffffd80694ab9d8,1) at somove+0x25d sbspace sys/sys/socketvar.h:209 [inline] somove(fffffd80694ab9d8,1) at somove+0x25d sys/kern/uipc_socket.c:1487 sosplice(fffffd80694ab9d8,5,0,0) at sosplice+0x50b sys/kern/uipc_socket.c:1346 sosetopt(fffffd80694ab9d8,ffff,1023,fffffd806657bc00) at sosetopt+0x7f4 sys_setsockopt(ffff8000ffff4540,ffff80002e4ce4e8,ffff80002e4ce530) at sys_setsockopt+0x1f6 sys/kern/uipc_syscalls.c:1233 syscall(ffff80002e4ce5b0) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002e4ce5b0) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5b28706ed00, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020dd8ff0) 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 __mp_lock(ffffffff82a8cef8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a8cef8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 uvm_unmap_detach(ffff8000212399b0,1) at uvm_unmap_detach+0x113 sys/uvm/uvm_map.c:1367 uvm_map_teardown(fffffd80667bab98) at uvm_map_teardown+0x262 sys/uvm/uvm_map.c:2541 uvmspace_free(fffffd80667bab98) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3436 reaper(ffff800021233a48) at reaper+0x19a sys/kern/kern_exit.c:448 end trace frame: 0x0, count: 7 ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) 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 __mp_lock(ffffffff82a8cef8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a8cef8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 uvm_unmap_detach(ffff8000212399b0,1) at uvm_unmap_detach+0x113 sys/uvm/uvm_map.c:1367 uvm_map_teardown(fffffd80667bab98) at uvm_map_teardown+0x262 sys/uvm/uvm_map.c:2541 uvmspace_free(fffffd80667bab98) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3436 reaper(ffff800021233a48) at reaper+0x19a sys/kern/kern_exit.c:448 end trace frame: 0x0, count: -8