witness: lock order reversal: 1st 0xffffffff829aa070 pf_lock (pf_lock) 2nd 0xffffffff829450f0 netlock (netlock) lock order "netlock"(rwlock) -> "pf_lock"(rwlock) first seen at: #0 rw_enter_write+0x5b sys/kern/kern_rwlock.c:128 #1 pfioctl+0x417c sys/net/pf_ioctl.c:2964 #2 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 #3 vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 #4 sys_ioctl+0x4a2 #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 lock order "pf_lock"(rwlock) -> "netlock"(rwlock) first seen at: #0 rw_enter_write+0x5b sys/kern/kern_rwlock.c:128 #1 uvn_io+0x418 sys/uvm/uvm_vnode.c:1245 #2 uvn_get+0x1df sys/uvm/uvm_vnode.c:1078 #3 uvm_fault_lower+0x36c sys/uvm/uvm_fault.c:1275 #4 uvm_fault+0x248 #5 kpageflttrap+0x209 #6 kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 #7 alltraps_kern_meltdown+0x7b #8 copyout+0x53 #9 pfioctl+0x4516 sys/net/pf_ioctl.c:2932 #10 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 #11 vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 #12 sys_ioctl+0x4a2 #13 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 Stopped at db_enter+0x18: addq $0x8,%rsp ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 witness_checkorder(ffffffff829450f0,9,0) at witness_checkorder+0x10b7 witness_debugger sys/kern/subr_witness.c:2502 [inline] witness_checkorder(ffffffff829450f0,9,0) at witness_checkorder+0x10b7 sys/kern/subr_witness.c:1105 rw_enter_write(ffffffff829450e0) at rw_enter_write+0x5b sys/kern/kern_rwlock.c:128 uvn_io(fffffd806be63578,ffff80002e3eed48,1,202,0) at uvn_io+0x418 sys/uvm/uvm_vnode.c:1245 uvn_get(fffffd806be63578,0,ffff80002e3eee08,ffff80002e3eedd8,0,0,ce8bc4105215e2e2,1) at uvn_get+0x1df sys/uvm/uvm_vnode.c:1078 uvm_fault_lower(ffff80002e3eef70,ffff80002e3eefa8,ffff80002e3eeef0,0) at uvm_fault_lower+0x36c sys/uvm/uvm_fault.c:1275 uvm_fault(fffffd805bcc98d0,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff80002e3ef100,20001000) at kpageflttrap+0x209 kerntrap(ffff80002e3ef100) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 pfioctl(4900,c0284457,ffff80002e3ef570,1,ffff8000ffff5a40) at pfioctl+0x4516 sys/net/pf_ioctl.c:2932 VOP_IOCTL(fffffd806f67f9c8,c0284457,ffff80002e3ef570,1,fffffd807f7d73c0,ffff8000ffff5a40) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80677e6570,c0284457,ffff80002e3ef570,ffff8000ffff5a40) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000ffff5a40,ffff80002e3ef688,ffff80002e3ef6e0) at sys_ioctl+0x4a2 syscall(ffff80002e3ef750) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e3ef750) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6caad2defd0, count: -17 ddb{0}> show registers rdi 0x3 rsi 0x40000 acpi_pdirpa+0x2be68 rbp 0xffff80002e3eeb10 rbx 0x3 rdx 0xffff800000bf5800 rcx 0 rax 0x3ffff acpi_pdirpa+0x2be67 r8 0xffff80002e3eea80 r9 0x8080808080808080 r10 0xda2a9a957ef5819c r11 0xe363f0e8adec45d5 r12 0xffffffff82b8cf20 w_lodata+0x525f0 r13 0 r14 0xffffffff82b795a0 w_lodata+0x3ec70 r15 0xfffffd8002f7a840 rip 0xffffffff814371d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e3eeb00 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.2) pid=268776 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff4fc0,0xffff8000ffff22b8 process=0xffff8000ffffa148 user=0xffff80002e3ea000, vmspace=0xfffffd805bcc98d0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 24766 15246 50434 0 2 0 syz-executor.2 *24766 268776 50434 0 7 0x4000000 syz-executor.2 86320 351442 35496 0 2 0x10 syz-executor.5 86320 136270 35496 0 3 0x4000090 fsleep syz-executor.5 15737 157270 56569 0 2 0 syz-executor.7 92843 415913 32559 0 3 0x80 nanoslp syz-executor.6 92843 228445 32559 0 3 0x4000080 fsleep syz-executor.6 92843 386857 32559 0 2 0x4000000 syz-executor.6 92843 31738 32559 0 3 0x4000080 fsleep syz-executor.6 23054 321465 46661 0 2 0 syz-executor.4 23054 413159 46661 0 3 0x4000080 fsleep syz-executor.4 23054 396301 46661 0 2 0x4000000 syz-executor.4 80815 130394 45832 0 2 0 syz-executor.0 80815 439391 45832 0 3 0x4000080 fsleep syz-executor.0 56569 518254 70719 0 3 0x82 nanoslp syz-executor.7 46661 36036 70719 0 3 0x82 nanoslp syz-executor.4 35496 219950 70719 0 3 0x82 nanoslp syz-executor.5 76606 494715 70719 0 2 0x2 syz-executor.3 45832 467502 70719 0 3 0x82 nanoslp syz-executor.0 32559 519053 70719 0 3 0x82 nanoslp syz-executor.6 40897 347749 70719 0 2 0x2 syz-executor.1 98540 190200 1 0 3 0x100083 ttyopn getty 50434 433673 70719 0 3 0x82 nanoslp syz-executor.2 80755 487187 0 0 3 0x14200 bored sosplice 70719 461654 74545 0 3 0x82 thrsleep syz-fuzzer 70719 384470 74545 0 3 0x4000082 thrsleep syz-fuzzer 70719 324167 74545 0 3 0x4000082 thrsleep syz-fuzzer 70719 42227 74545 0 3 0x4000082 thrsleep syz-fuzzer 70719 145639 74545 0 3 0x4000082 thrsleep syz-fuzzer 70719 23069 74545 0 3 0x4000082 thrsleep syz-fuzzer 70719 203230 74545 0 3 0x4000082 thrsleep syz-fuzzer 70719 358203 74545 0 3 0x4000082 kqread syz-fuzzer 70719 207164 74545 0 3 0x4000082 thrsleep syz-fuzzer 74545 436057 12643 0 3 0x10008a sigsusp ksh 12643 455571 47943 0 3 0x9a kqread sshd 47943 463179 1 0 3 0x88 kqread sshd 5033 23178 40431 74 3 0x1100092 bpf pflogd 40431 422330 1 0 3 0x80 netio pflogd 51220 449242 18612 73 3 0x1100090 kqread syslogd 18612 157351 1 0 3 0x100082 netio syslogd 92806 404887 1 0 3 0x100080 kqread resolvd 20682 371402 75493 77 3 0x100092 kqread dhcpleased 89078 344131 75493 77 3 0x100092 kqread dhcpleased 75493 18038 1 0 3 0x80 kqread dhcpleased 15602 279856 0 0 3 0x14200 bored smr 63894 351739 0 0 2 0x14200 zerothread 58968 425860 0 0 3 0x14200 aiodoned aiodoned 4919 75595 0 0 3 0x14200 syncer update 12251 341170 0 0 3 0x14200 cleaner cleaner 50558 269718 0 0 3 0x14200 reaper reaper 95743 123988 0 0 3 0x14200 pgdaemon pagedaemon 56877 485062 0 0 3 0x14200 bored viomb 12712 36106 0 0 3 0x40014200 acpi0 acpi0 602 31460 0 0 7 0x40014200 idle1 79800 176976 0 0 3 0x14200 bored softnet 58502 205644 0 0 3 0x14200 bored systqmp 50889 281954 0 0 3 0x14200 bored systq 52138 239395 0 0 3 0x40014200 bored softclock 4963 311814 0 0 3 0x40014200 idle0 1 279453 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 24766 (syz-executor.2) thread 0xffff8000ffff5a40 (268776) exclusive rwlock pf_lock r = 0 (0xffffffff829aa070) #0 witness_lock+0x44d #1 pfioctl+0x4504 sys/net/pf_ioctl.c:2931 #2 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 #3 vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 #4 sys_ioctl+0x4a2 #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 shared rwlock pfioctl_rw r = 0 (0xffffffff829aa0d0) #0 witness_lock+0x44d #1 pfioctl+0x946 sys/net/pf_ioctl.c:1150 #2 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 #3 vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 #4 sys_ioctl+0x4a2 #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 kernel_lock &kernel_lock r = 0 (0xffffffff829d8da0) #0 witness_lock+0x44d #1 vn_ioctl+0x41 sys/kern/vfs_vnops.c:514 #2 sys_ioctl+0x4a2 #3 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #3 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #4 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10217 6526K 10773K 78643K 67527 0 pcb 13 22K 27K 78643K 6603 0 rtable 207 18K 25K 78643K 5600 0 ifaddr 83 25K 30K 78643K 3849 0 sysctl 3 1K 3K 78643K 16 0 counters 52 35K 36K 78643K 660 0 ioctlops 0 0K 4K 78643K 10854 0 iov 0 0K 18K 78643K 1711 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1525 95K 96K 78643K 18117 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 132 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 3424 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 89K 78643K 23159 0 sigio 0 0K 0K 78643K 507 0 proc 71 91K 128K 78643K 2982 0 subproc 104 6K 6K 78643K 689 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1152 0 in_multi 70 4K 6K 78643K 1000 0 ether_multi 1 0K 0K 78643K 130 0 mrt 1 0K 0K 78643K 296 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 2K 78643K 3381 0 pfkey data 0 0K 0K 78643K 3 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 636 1328K 1344K 78643K 127479 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 1846 0 NDP 11 0K 1K 78643K 442 0 temp 148 4776K 5396K 78643K 279584 0 kqueue 12 18K 26K 78643K 1243 0 SYN cache 2 4688K 4696K 78643K 4 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 1131 0 1128 20 19 1 3 0 8 0 rtentry 112 1742 0 1661 4 1 3 4 0 8 0 unpcb 136 23155 0 23136 208 202 6 9 0 8 5 syncache 296 26 0 26 6 6 0 1 0 8 0 tcpqe 32 220 8 220 1 1 0 1 0 8 0 tcpcb 736 23834 0 23817 500 490 10 23 0 8 8 arp 120 122 0 108 1 0 1 1 0 8 0 inpcb 312 40065 0 40055 379 372 7 21 0 8 5 nd6 48 191 0 173 1 0 1 1 0 8 0 pkpcb 40 66 0 66 11 11 0 1 0 8 0 kcovpl 48 53 0 45 1 0 1 1 0 8 0 ppxss 1248 126 0 126 14 13 1 1 0 8 1 pfstscr 40 2001 0 2001 9 9 0 1 0 8 0 pffrag 232 39 0 39 12 12 0 1 0 482 0 pffrnode 88 39 0 39 12 12 0 1 0 8 0 pffrent 40 135 0 135 13 13 0 1 0 8 0 pfosfp 40 1503 0 1077 5 0 5 5 0 8 0 pfosfpen 112 1503 0 786 21 0 21 21 0 8 0 pfrke_plain 168 18 0 18 3 3 0 1 0 8 0 pfrktable 1344 545 0 536 13 12 1 2 0 8 0 pftag 88 34 0 17 1 0 1 1 0 8 0 pfstitem 24 46 0 44 1 0 1 1 0 8 0 pfstkey 112 3624 0 3622 1 0 1 1 0 8 0 pfstate 336 1823 0 1821 2 1 1 2 0 8 0 pfrule 1360 1701 0 1613 16 8 8 8 0 8 0 rttmrq 48 363 0 359 1 0 1 1 0 8 0 rttmr 72 3 0 3 1 1 0 1 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 9208 0 8882 54 29 25 30 0 8 0 art_table 32 9210 0 8883 4 0 4 4 0 8 0 art_node 16 963 0 893 1 0 1 1 0 8 0 sysvmsgpl 40 35 0 25 1 0 1 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 3355 0 3345 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 32305 0 30385 121 0 121 121 0 8 0 ffsino 272 32305 0 30385 129 0 129 129 0 8 0 nchpl 144 62228 0 60594 63 0 63 63 0 8 0 rtmask 32 36 0 36 3 3 0 1 0 8 0 uvmvnodes 80 24078 0 0 492 0 492 492 0 8 0 vnodes 224 24078 0 0 1417 0 1417 1417 0 8 0 namei 1024 231977 0 231977 14 13 1 2 0 8 1 percpumem 16 342 0 304 1 0 1 1 0 8 0 vcpupl 2048 159 0 2 20 0 20 20 0 8 0 vmpool 560 233 0 76 14 2 12 12 0 8 0 pfiaddrpl 120 297 0 229 11 8 3 3 0 8 0 kstatmem 264 630 0 608 5 3 2 3 0 8 0 scsiplug 72 7 0 7 2 2 0 1 0 8 0 scxspl 216 209009 0 209009 23 21 2 8 0 8 2 plimitpl 152 2445 0 2430 1 0 1 1 0 8 0 sigapl 424 23377 0 23333 6 0 6 6 0 8 0 futexpl 64 249528 0 249523 7 6 1 1 0 8 0 knotepl 120 1389 0 0 12 1 11 11 0 8 0 kqueuepl 216 5637 0 5628 108 103 5 8 0 8 4 pipepl 336 3994 0 3966 121 113 8 13 0 8 5 fdescpl 496 23360 0 23331 5 1 4 5 0 8 0 filepl 152 177815 0 177567 326 308 18 24 0 8 7 lockfpl 104 4578 0 4576 10 9 1 2 0 8 0 lockfspl 48 1231 0 1229 1 0 1 1 0 8 0 sessionpl 144 71 0 54 1 0 1 1 0 8 0 pgrppl 48 165 0 148 1 0 1 1 0 8 0 ucredpl 96 20664 0 20643 1 0 1 1 0 8 0 zombiepl 144 23333 0 23333 5 4 1 1 0 8 1 processpl 1064 23377 0 23333 4 0 4 4 0 8 0 procpl 672 59338 0 59278 41 34 7 7 0 8 0 srpgc 96 36 0 36 16 16 0 1 0 8 0 sosppl 168 86 0 86 19 19 0 1 0 8 0 sockpl 480 64428 0 64396 1269 1256 13 53 0 8 8 mcl64k 65536 8 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 9 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 16 0 0 2 0 2 2 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 459 0 0 21 2 19 21 0 8 0 mtagpl 96 1372 0 0 21 0 21 21 0 8 0 mbufpl 256 1857 0 0 82 2 80 81 0 8 0 bufpl 288 38907 0 31502 530 0 530 530 0 8 0 anonpl 24 4365356 0 4344410 438 306 132 202 0 186 0 amapchunkpl 152 373728 0 372879 196 150 46 64 0 158 8 amappl16 200 62063 0 61272 180 135 45 64 0 8 3 amappl15 192 4229 0 4229 2 2 0 1 0 8 0 amappl14 184 1861 0 1858 1 0 1 1 0 8 0 amappl13 176 3375 0 3366 1 0 1 1 0 8 0 amappl12 168 5622 0 5615 1 0 1 1 0 8 0 amappl11 160 1396 0 1374 1 0 1 1 0 8 0 amappl10 152 2361 0 2352 1 0 1 1 0 8 0 amappl9 144 1861 0 1857 1 0 1 1 0 8 0 amappl8 136 5506 0 5321 7 0 7 7 0 8 0 amappl7 128 3608 0 3591 1 0 1 1 0 8 0 amappl6 120 1896 0 1874 2 1 1 2 0 8 0 amappl5 112 18140 0 18123 1 0 1 1 0 8 0 amappl4 104 3871 0 3832 5 3 2 2 0 8 0 amappl3 96 74691 0 74633 2 0 2 2 0 8 0 amappl2 88 31524 0 31438 4 1 3 3 0 8 0 amappl1 80 544047 0 543396 23 8 15 20 0 8 0 amappl 88 125706 0 125424 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 23593 0 23407 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 23593 0 23407 2 0 2 2 0 8 0 vmmpekpl 168 165496 0 165411 4 0 4 4 0 8 0 vmmpepl 168 2237408 0 2234092 404 241 163 180 0 357 0 vmsppl 368 23592 0 23407 21 3 18 18 0 8 0 rwobjpl 56 550910 0 524635 385 14 371 371 0 8 0 pdppl 4096 47193 0 46971 970 746 224 226 0 8 2 pvpl 32 9057483 0 9033127 867 662 205 326 0 265 2 pmappl 248 23592 0 23407 14 2 12 12 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 2995 0 1782 36 0 36 36 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 witness_checkorder(ffffffff829450f0,9,0) at witness_checkorder+0x10b7 witness_debugger sys/kern/subr_witness.c:2502 [inline] witness_checkorder(ffffffff829450f0,9,0) at witness_checkorder+0x10b7 sys/kern/subr_witness.c:1105 rw_enter_write(ffffffff829450e0) at rw_enter_write+0x5b sys/kern/kern_rwlock.c:128 uvn_io(fffffd806be63578,ffff80002e3eed48,1,202,0) at uvn_io+0x418 sys/uvm/uvm_vnode.c:1245 uvn_get(fffffd806be63578,0,ffff80002e3eee08,ffff80002e3eedd8,0,0,ce8bc4105215e2e2,1) at uvn_get+0x1df sys/uvm/uvm_vnode.c:1078 uvm_fault_lower(ffff80002e3eef70,ffff80002e3eefa8,ffff80002e3eeef0,0) at uvm_fault_lower+0x36c sys/uvm/uvm_fault.c:1275 uvm_fault(fffffd805bcc98d0,20001000,0,2) at uvm_fault+0x248 kpageflttrap(ffff80002e3ef100,20001000) at kpageflttrap+0x209 kerntrap(ffff80002e3ef100) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyout() at copyout+0x53 pfioctl(4900,c0284457,ffff80002e3ef570,1,ffff8000ffff5a40) at pfioctl+0x4516 sys/net/pf_ioctl.c:2932 VOP_IOCTL(fffffd806f67f9c8,c0284457,ffff80002e3ef570,1,fffffd807f7d73c0,ffff8000ffff5a40) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd80677e6570,c0284457,ffff80002e3ef570,ffff8000ffff5a40) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:531 sys_ioctl(ffff8000ffff5a40,ffff80002e3ef688,ffff80002e3ef6e0) at sys_ioctl+0x4a2 syscall(ffff80002e3ef750) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e3ef750) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6caad2defd0, count: -17 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020ce8ff0) 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 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020ce8ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -5