panic: vrele: v_writecount != 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *496533 93162 0 0 0x4000000 1K syz-executor.0 148943 93162 0 0 0x4000000 0 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8245fb0e) at panic+0x15e sys/kern/subr_prf.c:218 vrele(fffffd806ed2a6b0) at vrele+0x197 sys/kern/vfs_subr.c:803 ptmioctl(5100,40287401,ffff8000242e13d0,3,ffff8000212882a0) at ptmioctl+0x5b9 sys/kern/tty_pty.c:1225 VOP_IOCTL(fffffd806e4c5ad8,40287401,ffff8000242e13d0,3,fffffd807f7b75a0,ffff8000212882a0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:297 vn_ioctl(fffffd806695db48,40287401,ffff8000242e13d0,ffff8000212882a0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000212882a0,ffff8000242e14e0,ffff8000242e1530) at sys_ioctl+0x4b0 syscall(ffff8000242e15b0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000242e15b0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x727a8167290, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic vrele: v_writecount != 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8245fb0e) at panic+0x15e sys/kern/subr_prf.c:218 vrele(fffffd806ed2a6b0) at vrele+0x197 sys/kern/vfs_subr.c:803 ptmioctl(5100,40287401,ffff8000242e13d0,3,ffff8000212882a0) at ptmioctl+0x5b9 sys/kern/tty_pty.c:1225 VOP_IOCTL(fffffd806e4c5ad8,40287401,ffff8000242e13d0,3,fffffd807f7b75a0,ffff8000212882a0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:297 vn_ioctl(fffffd806695db48,40287401,ffff8000242e13d0,ffff8000212882a0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000212882a0,ffff8000242e14e0,ffff8000242e1530) at sys_ioctl+0x4b0 syscall(ffff8000242e15b0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000242e15b0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x727a8167290, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000242e0e10 rbx 0xffff8000242e0e20 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81b81665 kprintf+0x145 r9 0x1 r10 0xbbe60e220a325041 r11 0x809394d0a1abc51d r12 0x3000000008 r13 0xffff8000242e0ec0 r14 0x100 r15 0x1 rip 0xffffffff81e4d228 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000242e0e00 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=496533 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=70, nice=20 forw=0xffffffffffffffff, list=0xffff800021288a80,0xffff800021288fd0 process=0xffff800021234448 user=0xffff8000242dc000, vmspace=0xfffffd807eff98a0 estcpu=36, cpticks=3, pctcpu=0.0 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 93162 183996 7665 0 2 0 syz-executor.0 *93162 496533 7665 0 7 0x4000000 syz-executor.0 93162 148943 7665 0 7 0x4000000 syz-executor.0 36067 383689 0 0 3 0x14200 bored sosplice 18771 78384 56092 0 3 0x2 biowait syz-executor.1 7665 424203 56092 0 3 0x82 nanoslp syz-executor.0 56092 400439 9091 0 3 0x82 thrsleep syz-fuzzer 56092 408758 9091 0 3 0x4000082 nanoslp syz-fuzzer 56092 113217 9091 0 3 0x4000082 kqread syz-fuzzer 56092 17070 9091 0 3 0x4000082 thrsleep syz-fuzzer 56092 331318 9091 0 3 0x4000082 thrsleep syz-fuzzer 56092 180807 9091 0 3 0x4000082 thrsleep syz-fuzzer 56092 395152 9091 0 3 0x4000082 thrsleep syz-fuzzer 56092 522604 9091 0 3 0x4000082 thrsleep syz-fuzzer 9091 142520 17334 0 3 0x10008a sigsusp ksh 17334 322234 44267 0 3 0x92 select sshd 12485 219419 1 0 3 0x100083 ttyin getty 44267 239511 1 0 3 0x80 select sshd 16419 15217 77681 74 3 0x100092 bpf pflogd 77681 215626 1 0 3 0x80 netio pflogd 78850 179090 8951 73 3 0x100090 kqread syslogd 8951 139295 1 0 3 0x100082 netio syslogd 247 323640 1 77 3 0x100090 poll dhclient 26962 352899 1 0 3 0x80 poll dhclient 16011 290539 0 0 3 0x14200 bored smr 40750 315184 0 0 3 0x14200 pgzero zerothread 83661 517971 0 0 3 0x14200 aiodoned aiodoned 91715 362235 0 0 3 0x14200 syncer update 66551 61859 0 0 3 0x14200 cleaner cleaner 34182 183308 0 0 3 0x14200 reaper reaper 28180 390956 0 0 3 0x14200 pgdaemon pagedaemon 52896 158350 0 0 3 0x14200 bored crynlk 83948 172400 0 0 3 0x14200 bored crypto 33541 456323 0 0 3 0x14200 bored viomb 39688 516117 0 0 3 0x40014200 acpi0 acpi0 72588 148557 0 0 3 0x40014200 idle1 89255 220024 0 0 3 0x14200 bored softnet 59219 160731 0 0 3 0x14200 bored systqmp 21970 2820 0 0 3 0x14200 bored systq 18465 378513 0 0 3 0x40014200 bored softclock 96765 219516 0 0 3 0x40014200 idle0 1 47566 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 93162 (syz-executor.0) thread 0xffff8000212882a0 (496533) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff828d4128) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 vn_ioctl+0x40 sys/kern/vfs_vnops.c:514 #2 sys_ioctl+0x4b0 #3 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #3 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #4 Xsyscall+0x128 Process 18771 (syz-executor.1) thread 0xffff800021289500 (78384) exclusive rrwlock inode r = 0 (0xfffffd806848e2c0) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 rw_enter+0x443 sys/kern/kern_rwlock.c:312 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:463 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:614 #4 vn_lock+0x6c sys/kern/vfs_vnops.c:575 #5 vget+0x1c6 sys/kern/vfs_subr.c:671 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x6b sys/ufs/ffs/ffs_vfsops.c:1321 #8 ufs_lookup+0x151d sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:90 #10 vfs_lookup+0x708 sys/kern/vfs_lookup.c:568 #11 namei+0x5f7 sys/kern/vfs_lookup.c:249 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1848 #13 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806848e700) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 rw_enter+0x443 sys/kern/kern_rwlock.c:312 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:463 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:614 #4 vn_lock+0x6c sys/kern/vfs_vnops.c:575 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x5f7 sys/kern/vfs_lookup.c:249 #7 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1848 #8 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9499 6422K 6745K 78643K 10771 0 pcb 13 8K 8K 78643K 27 0 rtable 105 3K 3K 78643K 233 0 ifaddr 53 11K 12K 78643K 74 0 counters 44 34K 34K 78643K 52 0 ioctlops 0 0K 4K 78643K 1469 0 iov 0 0K 12K 78643K 11 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1280 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 1K 1K 78643K 2 0 sem 8 0K 1K 78643K 12 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 207 0 proc 61 63K 83K 78643K 462 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 10 0 in_multi 33 2K 2K 78643K 37 0 ether_multi 1 0K 0K 78643K 2 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 2K 78643K 363 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 141 24K 24K 78643K 1251 0 UVM aobj 5 2K 2K 78643K 5 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 8 0K 0K 78643K 16 0 temp 74 3972K 4036K 78643K 2487 0 kqueue 3 4K 6K 78643K 4 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 arp 64 6 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 120 22 0 20 1 0 1 1 0 8 0 rtentry 112 46 0 2 2 0 2 2 0 8 0 unpcb 120 179 0 169 2 1 1 2 0 8 0 syncache 296 6 0 6 2 2 0 1 0 8 0 tcpqe 32 938 0 938 1 1 0 1 0 8 0 tcpcb 736 26 0 22 1 0 1 1 0 8 0 inpcb 304 77 0 70 2 1 1 2 0 8 0 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 6 0 0 1 0 1 1 0 8 0 kcovpl 48 2 0 0 1 0 1 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 pfstitem 24 12 0 2 1 0 1 1 0 8 0 pfstkey 112 12 0 2 1 0 1 1 0 8 0 pfstate 320 12 0 2 1 0 1 1 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 45 0 5 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 6 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1629 0 226 88 0 88 88 0 8 0 ffsino 272 1629 0 226 95 1 94 94 0 8 0 nchpl 144 2041 0 437 60 0 60 60 0 8 0 uvmvnodes 72 1721 0 0 32 0 32 32 0 8 0 vnodes 224 1721 0 0 102 0 102 102 0 8 0 namei 1024 5247 0 5247 2 1 1 1 0 8 1 percpumem 16 37 0 4 1 0 1 1 0 8 0 scxspl 216 6140 0 6139 9 7 2 8 0 8 1 plimitpl 152 23 0 13 1 0 1 1 0 8 0 sigapl 424 424 0 391 4 0 4 4 0 8 0 futexpl 56 1234 0 1234 1 0 1 1 0 8 1 knotepl 112 64 0 44 1 0 1 1 0 8 0 kqueuepl 168 109 0 107 1 0 1 1 0 8 0 pipepl 336 83 0 72 2 0 2 2 0 8 1 fdescpl 496 407 0 391 3 0 3 3 0 8 0 filepl 152 1722 0 1616 7 2 5 6 0 8 0 lockfpl 104 82 0 81 1 0 1 1 0 8 0 lockfspl 48 20 0 19 1 0 1 1 0 8 0 sessionpl 144 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 87 0 78 1 0 1 1 0 8 0 zombiepl 144 391 0 391 2 1 1 1 0 8 1 processpl 1080 424 0 391 3 0 3 3 0 8 0 procpl 672 681 0 639 5 0 5 5 0 8 1 sosppl 168 2 0 2 1 0 1 1 0 8 1 sockpl 432 278 0 259 6 2 4 6 0 8 1 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 250 0 0 31 0 31 31 0 8 0 mtagpl 96 10 0 0 1 0 1 1 0 8 0 mbufpl 256 257 0 0 16 0 16 16 0 8 0 bufpl 280 3581 0 178 244 0 244 244 0 8 0 anonpl 24 48602 0 33182 95 1 94 94 0 186 0 amapchunkpl 152 1981 0 1613 17 0 17 17 0 158 1 amappl16 200 1208 0 591 33 0 33 33 0 8 0 amappl15 192 5 0 1 1 0 1 1 0 8 0 amappl14 184 23 0 19 1 0 1 1 0 8 0 amappl13 176 119 0 114 1 0 1 1 0 8 0 amappl12 168 13 0 11 1 0 1 1 0 8 0 amappl11 160 57 0 40 1 0 1 1 0 8 0 amappl10 152 17 0 13 1 0 1 1 0 8 0 amappl9 144 251 0 251 1 1 0 1 0 8 0 amappl8 136 324 0 290 2 0 2 2 0 8 0 amappl7 128 246 0 237 1 0 1 1 0 8 0 amappl6 120 71 0 59 1 0 1 1 0 8 0 amappl5 112 529 0 512 1 0 1 1 0 8 0 amappl4 104 283 0 254 2 1 1 2 0 8 0 amappl3 96 292 0 281 1 0 1 1 0 8 0 amappl2 88 2369 0 2298 3 1 2 3 0 8 0 amappl1 80 20672 0 20190 28 16 12 21 0 8 2 amappl 88 968 0 886 3 0 3 3 0 92 1 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 64 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 407 0 391 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 407 0 391 1 0 1 1 0 8 0 vmmpekpl 168 6635 0 6600 2 0 2 2 0 8 0 vmmpepl 168 58606 0 56754 120 15 105 107 0 357 21 vmsppl 368 406 0 391 2 0 2 2 0 8 0 rwobjpl 56 14607 0 13270 27 7 20 21 0 8 1 pdppl 4096 821 0 782 63 20 43 45 0 8 4 pvpl 32 201914 0 182810 155 0 155 155 0 265 0 pmappl 232 406 0 391 2 1 1 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 323 0 25 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff826d1ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 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(ffffffff828d3f20) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828d3f20) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff800022ec1570,ffff800000255c80) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge19_untramp() at Xintr_ioapic_edge19_untramp+0x18f __mp_lock(ffffffff828d3f20) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828d3f20) at __mp_lock+0x129 sys/kern/kern_lock.c:147 vn_closefile(fffffd806695d7b8,ffff800021288fc0) at vn_closefile+0x34 sys/kern/vfs_vnops.c:607 fdrop(fffffd806695d7b8,ffff800021288fc0) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd806695d7b8,ffff800021288fc0) at closef+0x11c sys/kern/kern_descrip.c:1263 syscall(ffff800022ec1840) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022ec1840) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x727b9e7e940, count: 3 ddb{0}> trace x86_ipi_db(ffffffff826d1ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 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(ffffffff828d3f20) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828d3f20) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff800022ec1570,ffff800000255c80) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge19_untramp() at Xintr_ioapic_edge19_untramp+0x18f __mp_lock(ffffffff828d3f20) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828d3f20) at __mp_lock+0x129 sys/kern/kern_lock.c:147 vn_closefile(fffffd806695d7b8,ffff800021288fc0) at vn_closefile+0x34 sys/kern/vfs_vnops.c:607 fdrop(fffffd806695d7b8,ffff800021288fc0) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd806695d7b8,ffff800021288fc0) at closef+0x11c sys/kern/kern_descrip.c:1263 syscall(ffff800022ec1840) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022ec1840) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x727b9e7e940, count: -12 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:398 panic(ffffffff8245fb0e) at panic+0x15e sys/kern/subr_prf.c:218 vrele(fffffd806ed2a6b0) at vrele+0x197 sys/kern/vfs_subr.c:803 ptmioctl(5100,40287401,ffff8000242e13d0,3,ffff8000212882a0) at ptmioctl+0x5b9 sys/kern/tty_pty.c:1225 VOP_IOCTL(fffffd806e4c5ad8,40287401,ffff8000242e13d0,3,fffffd807f7b75a0,ffff8000212882a0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:297 vn_ioctl(fffffd806695db48,40287401,ffff8000242e13d0,ffff8000212882a0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000212882a0,ffff8000242e14e0,ffff8000242e1530) at sys_ioctl+0x4b0 syscall(ffff8000242e15b0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000242e15b0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x727a8167290, count: 6 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8245fb0e) at panic+0x15e sys/kern/subr_prf.c:218 vrele(fffffd806ed2a6b0) at vrele+0x197 sys/kern/vfs_subr.c:803 ptmioctl(5100,40287401,ffff8000242e13d0,3,ffff8000212882a0) at ptmioctl+0x5b9 sys/kern/tty_pty.c:1225 VOP_IOCTL(fffffd806e4c5ad8,40287401,ffff8000242e13d0,3,fffffd807f7b75a0,ffff8000212882a0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:297 vn_ioctl(fffffd806695db48,40287401,ffff8000242e13d0,ffff8000212882a0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000212882a0,ffff8000242e14e0,ffff8000242e1530) at sys_ioctl+0x4b0 syscall(ffff8000242e15b0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000242e15b0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x727a8167290, count: -9