witness: userret: returning with the following locks held: exclusive rwlock solock r = 0 (0xfffffd806fdff420) #0 witness_lock+0x44d #1 unp_solock_peer+0xa6 sys/kern/uipc_usrreq.c:163 #2 uipc_usrreq+0x7c6 sys/kern/uipc_usrreq.c:350 #3 sosend+0x61b sys/kern/uipc_socket.c:657 #4 sendit+0x65d sys/kern/uipc_syscalls.c:682 #5 sys_sendmsg+0x198 sys/kern/uipc_syscalls.c:589 #6 syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] #6 syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 panic: witness_warn Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *442095 16778 0 0 0x4000000 1 syz-executor.2 359709 45392 0 0x2 0 0 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82593e80) at panic+0x177 sys/kern/subr_prf.c:202 witness_warn(2,0,ffffffff82620d13) at witness_warn+0x65e witness_debugger sys/kern/subr_witness.c:2505 [inline] witness_warn(2,0,ffffffff82620d13) at witness_warn+0x65e sys/kern/subr_witness.c:1473 userret(ffff800024d7c540) at userret+0x265 sys/kern/kern_sig.c:2012 syscall(ffff80002618a790) at syscall+0x57e mi_syscall_return sys/sys/syscall_mi.h:128 [inline] syscall(ffff80002618a790) at syscall+0x57e sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf291dcfe050, count: 9 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: witness_warn ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82593e80) at panic+0x177 sys/kern/subr_prf.c:202 witness_warn(2,0,ffffffff82620d13) at witness_warn+0x65e witness_debugger sys/kern/subr_witness.c:2505 [inline] witness_warn(2,0,ffffffff82620d13) at witness_warn+0x65e sys/kern/subr_witness.c:1473 userret(ffff800024d7c540) at userret+0x265 sys/kern/kern_sig.c:2012 syscall(ffff80002618a790) at syscall+0x57e mi_syscall_return sys/sys/syscall_mi.h:128 [inline] syscall(ffff80002618a790) at syscall+0x57e sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf291dcfe050, count: -6 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002618a4c0 rbx 0xffff800020dd9bb7 rdx 0xffff800000c80a00 rcx 0 rax 0xffff800024d7c540 r8 0x101010101010101 r9 0x8080808080808080 r10 0x2894292e0297131f r11 0x8e24cc66888ffa46 r12 0xffff800020dd99b8 r13 0 r14 0 r15 0x1 rip 0xffffffff81d03c18 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002618a4b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.2) pid=442095 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800024d7da40,0xffff800024d7c7f0 process=0xffff8000fffeb620 user=0xffff800026185000, vmspace=0xfffffd8067bb4b98 estcpu=36, cpticks=4, pctcpu=0.0 user=0, sys=4, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 49712 370548 45392 0 2 0 syz-executor.0 29683 348146 51891 0 2 0 syz-executor.7 29683 167670 51891 0 3 0x4000080 fsleep syz-executor.7 58359 221299 38072 0 2 0 syz-executor.1 16778 223716 1506 0 2 0 syz-executor.2 *16778 442095 1506 0 7 0x4000000 syz-executor.2 30622 317638 87076 0 2 0 syz-executor.4 30622 48286 87076 0 3 0x4000080 ttyin syz-executor.4 30622 381135 87076 0 3 0x4000080 fsleep syz-executor.4 23344 318113 76350 0 2 0 syz-executor.6 23344 315480 76350 0 3 0x4000080 fsleep syz-executor.6 15747 61405 54548 0 3 0x80 nanoslp syz-executor.5 15747 156480 54548 0 2 0x4000000 syz-executor.5 15747 209350 54548 0 2 0x4000000 syz-executor.5 15747 315537 54548 0 3 0x4000080 fsleep syz-executor.5 70617 176525 5093 0 2 0x2 syz-executor.3 54548 451731 5093 0 3 0x82 nanoslp syz-executor.5 45392 359709 5093 0 7 0x2 syz-executor.0 1506 514024 5093 0 3 0x82 nanoslp syz-executor.2 852 60952 0 0 3 0x14200 acct acct 77074 43341 0 0 3 0x14200 bored sosplice 52356 79886 0 0 3 0x14280 nfsidl nfsio 89529 161266 0 0 3 0x14280 nfsidl nfsio 37493 407483 0 0 3 0x14280 nfsidl nfsio 27599 454407 0 0 3 0x14280 nfsidl nfsio 83068 507920 0 0 3 0x14280 nfsidl nfsio 68693 247006 0 0 3 0x14280 nfsidl nfsio 67959 50387 0 0 3 0x14280 nfsidl nfsio 87478 51326 0 0 3 0x14280 nfsidl nfsio 7154 436618 0 0 3 0x14280 nfsidl nfsio 31153 516937 0 0 3 0x14280 nfsidl nfsio 59228 516719 0 0 3 0x14280 nfsidl nfsio 33443 376619 0 0 3 0x14280 nfsidl nfsio 91142 133600 0 0 3 0x14280 nfsidl nfsio 84537 199259 0 0 3 0x14280 nfsidl nfsio 25376 415669 0 0 3 0x14280 nfsidl nfsio 97658 116612 0 0 3 0x14280 nfsidl nfsio 88217 411326 0 0 3 0x14280 nfsidl nfsio 64552 150357 0 0 3 0x14280 nfsidl nfsio 71922 229035 0 0 3 0x14280 nfsidl nfsio 54064 328367 0 0 3 0x14280 nfsidl nfsio 51891 186463 5093 0 3 0x82 nanoslp syz-executor.7 76350 398412 5093 0 3 0x82 nanoslp syz-executor.6 87076 424480 5093 0 3 0x82 nanoslp syz-executor.4 38072 333535 5093 0 3 0x82 nanoslp syz-executor.1 5093 474249 11871 0 3 0x82 thrsleep syz-fuzzer 5093 276665 11871 0 3 0x4000082 thrsleep syz-fuzzer 5093 344026 11871 0 3 0x4000082 thrsleep syz-fuzzer 5093 361596 11871 0 3 0x4000082 thrsleep syz-fuzzer 5093 363241 11871 0 3 0x4000082 thrsleep syz-fuzzer 5093 291610 11871 0 3 0x4000082 kqread syz-fuzzer 5093 371754 11871 0 3 0x4000082 thrsleep syz-fuzzer 5093 226751 11871 0 3 0x4000082 thrsleep syz-fuzzer 5093 367753 11871 0 3 0x4000082 thrsleep syz-fuzzer 11871 290097 3303 0 3 0x10008a sigsusp ksh 3303 522603 35839 0 3 0x9a kqread sshd 39526 299336 1 0 3 0x100083 ttyopn getty 35839 338287 1 0 3 0x88 kqread sshd 23841 142503 4397 74 3 0x1100092 bpf pflogd 4397 331378 1 0 3 0x80 netio pflogd 23811 339027 56632 73 2 0x1100010 syslogd 56632 49541 1 0 3 0x100082 netio syslogd 67172 378939 1 0 3 0x100080 kqread resolvd 63840 249612 36449 77 3 0x100092 kqread dhcpleased 90830 430060 36449 77 3 0x100092 kqread dhcpleased 36449 374278 1 0 3 0x80 kqread dhcpleased 98945 456660 0 0 2 0x40014200 smr 67299 521938 0 0 2 0x14200 zerothread 48706 411745 0 0 3 0x14200 aiodoned aiodoned 78432 102052 0 0 3 0x14200 syncer update 24796 129841 0 0 3 0x14200 cleaner cleaner 40732 316985 0 0 3 0x14200 reaper reaper 64288 513558 0 0 3 0x14200 pgdaemon pagedaemon 91562 335483 0 0 3 0x14200 bored viomb 78767 513776 0 0 3 0x40014200 acpi0 acpi0 17872 293826 0 0 3 0x40014200 idle1 76100 142556 0 0 3 0x14200 bored softnet 59368 221453 0 0 3 0x14200 bored softnet 20984 451198 0 0 3 0x14200 bored softnet 2406 25883 0 0 3 0x14200 bored softnet 14318 420538 0 0 2 0x14200 systqmp 28174 232906 0 0 3 0x14200 bored systq 21306 335156 0 0 3 0x40014200 bored softclock 47965 169240 0 0 3 0x40014200 idle0 1 182798 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 16778 (syz-executor.2) thread 0xffff800024d7c540 (442095) exclusive rwlock solock r = 0 (0xfffffd806fdff420) #0 witness_lock+0x44d #1 unp_solock_peer+0xa6 sys/kern/uipc_usrreq.c:163 #2 uipc_usrreq+0x7c6 sys/kern/uipc_usrreq.c:350 #3 sosend+0x61b sys/kern/uipc_socket.c:657 #4 sendit+0x65d sys/kern/uipc_syscalls.c:682 #5 sys_sendmsg+0x198 sys/kern/uipc_syscalls.c:589 #6 syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] #6 syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 Process 45392 (syz-executor.0) thread 0xffff8000fffecd20 (359709) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82a57e08) #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 23811 (syslogd) thread 0xffff8000ffff7cf0 (339027) exclusive rrwlock inode r = 0 (0xfffffd806e7cf700) #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:567 #5 sys_fsync+0xf5 sys/kern/vfs_syscalls.c:2939 #6 syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] #6 syscall+0x435 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10344 6620K 7203K 78643K 19496 0 pcb 13 11K 13K 78643K 467 0 rtable 204 9K 10K 78643K 795 0 ifaddr 81 17K 18K 78643K 177 0 sysctl 2 0K 0K 78643K 2 0 counters 52 35K 35K 78643K 70 0 ioctlops 0 0K 4K 78643K 1827 0 iov 0 0K 16K 78643K 173 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1511 94K 95K 78643K 3872 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 12 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 217 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 85K 78643K 2090 0 sigio 0 0K 0K 78643K 10 0 proc 70 91K 127K 78643K 822 0 subproc 104 6K 6K 78643K 195 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 36 0 in_multi 77 5K 6K 78643K 260 0 ether_multi 1 0K 0K 78643K 10 0 mrt 1 0K 0K 78643K 11 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 163 731K 731K 78643K 163 0 exec 0 0K 2K 78643K 1164 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 265 165K 165K 78643K 13796 0 UVM aobj 55 2K 2K 78643K 55 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 51 0 NDP 11 0K 2K 78643K 61 0 temp 156 4782K 70316K 78643K 41463 0 kqueue 12 18K 22K 78643K 128 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 106 0 103 2 1 1 2 0 8 0 rtentry 112 228 0 141 4 0 4 4 0 8 0 unpcb 144 1174 0 1157 15 11 4 6 0 8 3 syncache 296 10 0 10 4 4 0 1 0 8 0 tcpqe 32 185 0 185 3 3 0 2 0 8 0 tcpcb 736 782 0 711 29 22 7 8 0 8 0 arp 120 32 0 18 1 0 1 1 0 8 0 inpcb 320 1875 0 1866 24 17 7 9 0 8 6 nd6 48 59 0 41 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 15 0 7 1 0 1 1 0 8 0 pfstscr 40 3 0 3 1 1 0 1 0 8 0 pffrag 232 5 0 4 2 1 1 1 0 482 0 pffrnode 88 5 0 4 2 1 1 1 0 8 0 pffrent 40 10 0 9 2 1 1 1 0 8 0 pfosfp 40 1433 0 1009 5 0 5 5 0 8 0 pfosfpen 112 1433 0 718 21 0 21 21 0 8 0 pfrktable 1344 50 0 44 2 1 1 1 0 8 0 pftag 88 7 0 4 1 0 1 1 0 8 0 pfstitem 24 47 0 41 1 0 1 1 0 8 0 pfstkey 120 51 0 45 2 1 1 2 0 8 0 pfstate 336 48 0 42 4 2 2 4 0 8 0 pfrule 1360 59 0 32 6 3 3 3 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1029 0 661 30 3 27 29 0 8 1 art_table 32 1030 0 661 4 0 4 4 0 8 0 art_node 16 227 0 147 1 0 1 1 0 8 0 sysvmsgpl 40 53 0 41 2 1 1 1 0 8 0 semapl 112 215 0 205 1 0 1 1 0 8 0 shmpl 112 52 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4040 0 2602 91 0 91 91 0 8 0 ffsino 272 4040 0 2602 97 0 97 97 0 8 0 nchpl 144 6891 0 5246 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 25999 0 25999 2 1 1 2 0 8 1 percpumem 16 47 0 9 1 0 1 1 0 8 0 vcpupl 2048 21 0 0 3 0 3 3 0 8 0 vmpool 568 88 0 67 2 0 2 2 0 8 0 pfiaddrpl 120 21 0 12 2 1 1 1 0 8 0 kstatmem 264 40 0 18 2 0 2 2 0 8 0 scxspl 216 19645 0 19645 9 8 1 8 0 8 1 plimitpl 152 254 0 238 1 0 1 1 0 8 0 sigapl 424 2406 0 2337 9 1 8 8 0 8 0 futexpl 64 16828 0 16824 1 0 1 1 0 8 0 knotepl 120 338 0 0 9 0 9 9 0 8 0 kqueuepl 224 369 0 361 7 6 1 5 0 8 0 pipepl 336 351 0 323 9 6 3 8 0 8 0 fdescpl 496 2367 0 2337 5 0 5 5 0 8 0 filepl 152 14588 0 14340 32 17 15 17 0 8 5 lockfpl 104 3051 0 3047 8 6 2 3 0 8 1 lockfspl 48 1503 0 1499 3 2 1 2 0 8 0 sessionpl 144 31 0 14 1 0 1 1 0 8 0 pgrppl 48 43 0 26 1 0 1 1 0 8 0 ucredpl 104 1694 0 1682 1 0 1 1 0 8 0 zombiepl 144 2337 0 2337 1 0 1 1 0 8 1 processpl 1064 2406 0 2337 5 0 5 5 0 8 0 procpl 672 6031 0 5946 13 4 9 9 0 8 1 srpgc 96 16 0 16 3 2 1 1 0 8 1 sosppl 168 26 0 26 4 3 1 1 0 8 1 sockpl 504 3158 0 3129 60 48 12 20 0 8 8 mcl64k 65536 15 0 0 2 0 2 2 0 8 0 mcl16k 16384 10 0 0 2 0 2 2 0 8 0 mcl12k 12288 12 0 0 2 0 2 2 0 8 0 mcl9k 9216 7 0 0 1 0 1 1 0 8 0 mcl8k 8192 18 0 0 3 0 3 3 0 8 0 mcl4k 4096 14 0 0 2 0 2 2 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 240 0 0 29 0 29 29 0 8 0 mtagpl 96 974 0 0 24 0 24 24 0 8 0 mbufpl 256 1220 0 0 74 0 74 74 0 8 0 bufpl 288 6478 0 254 445 0 445 445 0 8 0 anonpl 24 427490 0 410746 136 8 128 129 0 186 20 amapchunkpl 152 37741 0 37067 36 3 33 34 0 158 0 amappl16 200 5545 0 5017 40 3 37 40 0 8 8 amappl15 192 79 0 76 2 1 1 1 0 8 0 amappl14 184 148 0 146 1 0 1 1 0 8 0 amappl13 176 358 0 355 1 0 1 1 0 8 0 amappl12 168 223 0 219 2 1 1 1 0 8 0 amappl11 160 389 0 366 2 0 2 2 0 8 0 amappl10 152 722 0 714 1 0 1 1 0 8 0 amappl9 144 865 0 857 1 0 1 1 0 8 0 amappl8 136 710 0 653 2 0 2 2 0 8 0 amappl7 128 145 0 134 1 0 1 1 0 8 0 amappl6 120 638 0 616 2 1 1 2 0 8 0 amappl5 112 2294 0 2276 1 0 1 1 0 8 0 amappl4 104 1488 0 1458 2 0 2 2 0 8 0 amappl3 96 6452 0 6400 2 0 2 2 0 8 0 amappl2 88 3133 0 3072 3 1 2 3 0 8 0 amappl1 80 57528 0 56881 20 4 16 20 0 8 0 amappl 88 13193 0 13020 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 54 0 0 1 0 1 1 0 8 0 uaddrrnd 24 2455 0 2404 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2455 0 2404 1 0 1 1 0 8 0 vmmpekpl 168 22270 0 22212 3 0 3 3 0 8 0 vmmpepl 168 232276 0 229643 168 38 130 139 0 357 12 vmsppl 368 2454 0 2404 5 0 5 5 0 8 0 rwobjpl 56 62565 0 55030 111 1 110 110 0 8 3 pdppl 4096 4917 0 4829 221 132 89 89 0 8 1 pvpl 32 946322 0 925087 294 82 212 257 0 265 34 pmappl 248 2454 0 2404 4 0 4 4 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1121 0 219 26 0 26 26 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82936ff0) 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(ffffffff82a57c00) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a57c00) at __mp_lock+0x122 sys/kern/kern_lock.c:147 syscall(ffff800022d68780) at syscall+0x41d mi_syscall sys/sys/syscall_mi.h:100 [inline] syscall(ffff800022d68780) at syscall+0x41d sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffda500, count: 9 ddb{0}> trace x86_ipi_db(ffffffff82936ff0) 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(ffffffff82a57c00) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a57c00) at __mp_lock+0x122 sys/kern/kern_lock.c:147 syscall(ffff800022d68780) at syscall+0x41d mi_syscall sys/sys/syscall_mi.h:100 [inline] syscall(ffff800022d68780) at syscall+0x41d sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffda500, count: -6 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:437 panic(ffffffff82593e80) at panic+0x177 sys/kern/subr_prf.c:202 witness_warn(2,0,ffffffff82620d13) at witness_warn+0x65e witness_debugger sys/kern/subr_witness.c:2505 [inline] witness_warn(2,0,ffffffff82620d13) at witness_warn+0x65e sys/kern/subr_witness.c:1473 userret(ffff800024d7c540) at userret+0x265 sys/kern/kern_sig.c:2012 syscall(ffff80002618a790) at syscall+0x57e mi_syscall_return sys/sys/syscall_mi.h:128 [inline] syscall(ffff80002618a790) at syscall+0x57e sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf291dcfe050, count: 9 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82593e80) at panic+0x177 sys/kern/subr_prf.c:202 witness_warn(2,0,ffffffff82620d13) at witness_warn+0x65e witness_debugger sys/kern/subr_witness.c:2505 [inline] witness_warn(2,0,ffffffff82620d13) at witness_warn+0x65e sys/kern/subr_witness.c:1473 userret(ffff800024d7c540) at userret+0x265 sys/kern/kern_sig.c:2012 syscall(ffff80002618a790) at syscall+0x57e mi_syscall_return sys/sys/syscall_mi.h:128 [inline] syscall(ffff80002618a790) at syscall+0x57e sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf291dcfe050, count: -6