panic: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/if_tun.c", line 316 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *177961 9198 0 0x2 0 1 ifconfig 257723 20395 0 0 0x4000000 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833825d0) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833c4c89,ffffffff8341188b,13c,ffffffff833053d9) at __assert+0x29 sys/kern/subr_prf.c:-1 tun_clone_destroy(ffff800001480800) at tun_clone_destroy+0x38a if_clone_destroy(ffff80002ebd6ab0) at if_clone_destroy+0x1d5 sys/net/if.c:1415 ifioctl(ffff800010fcaef8,80206979,ffff80002ebd6ab0,ffff8000fffea2b8) at ifioctl+0x59d sys/net/if.c:2092 sys_ioctl(ffff8000fffea2b8,ffff80002ebd6c90,ffff80002ebd6be0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80002ebd6c90) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002ebd6c90) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73dcc4bec050, 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 *cpu1: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/if_tun.c", line 316 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833825d0) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833c4c89,ffffffff8341188b,13c,ffffffff833053d9) at __assert+0x29 sys/kern/subr_prf.c:-1 tun_clone_destroy(ffff800001480800) at tun_clone_destroy+0x38a if_clone_destroy(ffff80002ebd6ab0) at if_clone_destroy+0x1d5 sys/net/if.c:1415 ifioctl(ffff800010fcaef8,80206979,ffff80002ebd6ab0,ffff8000fffea2b8) at ifioctl+0x59d sys/net/if.c:2092 sys_ioctl(ffff8000fffea2b8,ffff80002ebd6c90,ffff80002ebd6be0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80002ebd6c90) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002ebd6c90) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73dcc4bec050, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002ebd6860 rbx 0xffff8000299eeddf rdx 0 rcx 0xffff8000fffea2b8 rax 0xffff8000299edff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xc3ce0db9023360f0 r11 0xc593ff4cf734d09a r12 0xffff8000299eebe0 r13 0 r14 0 r15 0x1 rip 0xffffffff828cf075 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002ebd6850 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (ifconfig) tid=177961 pid=9198 tcnt=1 stat=onproc flags process=2 proc=0 runpri=86, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000fffebca8,0xffff8000fffeaa90 process=0xffff80003c501368 user=0xffff80002ebd1000, vmspace=0xfffffd806b8e9018 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 30282 102025 93579 0 2 0 syz-executor 30282 67299 93579 0 2 0x4000080 syz-executor 30282 141321 93579 0 2 0x4000000 syz-executor 6056 203736 42291 0 2 0 syz-executor 6056 23853 42291 0 3 0x4000080 fsleep syz-executor * 9198 177961 67022 0 7 0x2 ifconfig 67022 449972 854 0 3 0x10008a sigsusp sh 71253 22627 3021 0 3 0x80 nanoslp syz-executor 71253 455229 3021 0 3 0x4000080 sbwait syz-executor 48507 15151 8413 0 2 0 syz-executor 48507 14855 8413 0 3 0x4000080 ttyin syz-executor 20395 103783 60881 0 2 0 syz-executor 20395 257723 60881 0 7 0x4000000 syz-executor 20395 403810 60881 0 3 0x4000000 inode syz-executor 20395 151617 60881 0 3 0x4000000 inode syz-executor 20395 97272 60881 0 3 0x4000000 inode syz-executor 20395 122689 60881 0 2 0x4000000 syz-executor 854 55537 92899 0 3 0x82 wait syz-executor 53253 52703 91247 0 4 0x82000 syz-executor 53253 121146 91247 0 2 0x4082000 syz-executor 53253 158938 91247 0 3 0x4082000 fltagain2 syz-executor 53253 263511 91247 0 3 0x4002000 suspend syz-executor 19652 398728 0 0 3 0x14280 nfsidl nfsio 84209 506196 0 0 3 0x14280 nfsidl nfsio 94747 141794 0 0 3 0x14280 nfsidl nfsio 21510 292319 0 0 3 0x14280 nfsidl nfsio 96322 246343 0 0 3 0x14280 nfsidl nfsio 86985 197179 0 0 3 0x14280 nfsidl nfsio 76357 343458 0 0 3 0x14280 nfsidl nfsio 56988 456898 0 0 3 0x14280 nfsidl nfsio 31721 400382 0 0 3 0x14280 nfsidl nfsio 70050 216430 0 0 3 0x14280 nfsidl nfsio 58934 24779 0 0 3 0x14280 nfsidl nfsio 89880 7572 0 0 3 0x14280 nfsidl nfsio 2807 273785 0 0 3 0x14280 nfsidl nfsio 69362 440948 0 0 3 0x14280 nfsidl nfsio 55435 378383 0 0 3 0x14280 nfsidl nfsio 86494 428631 0 0 3 0x14280 nfsidl nfsio 61346 11092 0 0 3 0x14280 nfsidl nfsio 54207 64827 0 0 3 0x14280 nfsidl nfsio 45751 23377 0 0 3 0x14280 nfsidl nfsio 12526 304476 0 0 3 0x14280 nfsidl nfsio 1409 201115 31969 0 4 0x82000 syz-executor 1409 508433 31969 0 2 0x4082000 syz-executor 1409 239788 31969 0 4 0x4082000 syz-executor 1409 70488 31969 0 3 0x4002000 suspend syz-executor 17957 262727 0 0 3 0x14200 acct acct 93579 420924 92899 0 3 0x82 nanoslp syz-executor 31969 332482 92899 0 3 0x82 wait syz-executor 91247 31707 92899 0 2 0xc82 syz-executor 60881 298304 92899 0 3 0x82 nanoslp syz-executor 8413 228620 92899 0 3 0x82 nanoslp syz-executor 3021 84277 92899 0 2 0xc82 syz-executor 42291 305522 92899 0 3 0x82 nanoslp syz-executor 92899 90427 92399 0 3 0x82 kqread syz-executor 92399 302074 4402 0 3 0x10008a sigsusp ksh 4402 7841 26194 0 3 0x98 kqread sshd-session 26194 409443 58170 0 3 0x92 kqread sshd-session 70801 81853 1 0 3 0x100083 ttyin getty 58170 142006 1 0 3 0x88 kqread sshd 24624 187007 42008 74 3 0x1100092 bpf pflogd 42008 150154 1 0 3 0x80 sbwait pflogd 6666 96364 94643 73 3 0x1100090 kqread syslogd 94643 241860 1 0 3 0x100082 sbwait syslogd 73716 203678 1 0 3 0x100080 kqread resolvd 98000 319480 7795 77 2 0x100092 dhcpleased 97213 302548 7795 77 3 0x100092 kqread dhcpleased 7795 226161 1 0 3 0x80 kqread dhcpleased 35514 89336 0 0 3 0x14200 bored smr 16053 181509 0 0 2 0x14200 zerothread 9516 285075 0 0 3 0x14200 aiodoned aiodoned 23874 170503 0 0 3 0x14200 syncer update 55463 147006 0 0 3 0x14200 cleaner cleaner 11097 487733 0 0 3 0x14200 reaper reaper 99529 334173 0 0 3 0x14200 pgdaemon pagedaemon 58619 178026 0 0 3 0x14200 bored viomb 686 32466 0 0 3 0x40014200 acpi0 acpi0 80192 150267 0 0 3 0x40014200 idle1 42405 220249 0 0 3 0x14200 bored softnet1 28405 480142 0 0 3 0x14200 bored softnet0 84893 114493 0 0 3 0x14200 bored systqmp 54799 443154 0 0 3 0x14200 bored systq 19568 292121 0 0 3 0x14200 tmoslp softclockmp 82511 390636 0 0 3 0x40014200 tmoslp softclock 77849 502481 0 0 3 0x40014200 idle0 1 516898 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 9198 (ifconfig) thread 0xffff8000fffea2b8 (177961) exclusive rwlock clonelk r = 0 (0xffffffff837fd958) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 if_clone_destroy+0x67 sys/net/if.c:-1 #3 ifioctl+0x59d sys/net/if.c:2092 #4 sys_ioctl+0x674 sys/kern/sys_generic.c:-1 #5 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #5 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff839d6520) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 ifioctl+0x58c sys/net/if.c:2092 #2 sys_ioctl+0x674 sys/kern/sys_generic.c:-1 #3 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #3 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #4 Xsyscall+0x128 Process 20395 (syz-executor) thread 0xffff80003c442d30 (257723) exclusive rrwlock inode r = 0 (0xfffffd806e13df08) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xa3 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vn_write+0x18f sys/kern/vfs_vnops.c:405 #6 dofilewritev+0x242 sys/kern/sys_generic.c:380 #7 sys_write+0xa2 sys/kern/sys_generic.c:300 #8 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #9 Xsyscall+0x128 Process 20395 (syz-executor) thread 0xffff80003c442fc8 (403810) exclusive rrwlock inode r = 0 (0xfffffd8069aa9a20) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xa3 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vfs_lookup+0x11c sys/kern/vfs_lookup.c:-1 #6 namei+0x7ca sys/kern/vfs_lookup.c:250 #7 dofchmodat+0x162 sys/kern/vfs_syscalls.c:2382 #8 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 #9 Xsyscall+0x128 Process 53253 (syz-executor) thread 0xffff80003c40e558 (121146) exclusive rrwlock inode r = 0 (0xfffffd8069aa9c70) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xa3 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vn_write+0x18f sys/kern/vfs_vnops.c:405 #6 dofilewritev+0x242 sys/kern/sys_generic.c:380 #7 sys_write+0xa2 sys/kern/sys_generic.c:300 #8 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #9 Xsyscall+0x128 Process 1409 (syz-executor) thread 0xffff80002a2bea78 (508433) exclusive rrwlock inode r = 0 (0xfffffd8069aa9458) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xa3 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vn_write+0x18f sys/kern/vfs_vnops.c:405 #6 dofilewritev+0x242 sys/kern/sys_generic.c:380 #7 sys_write+0xa2 sys/kern/sys_generic.c:300 #8 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10197 11037K 11196K 166960K 11607 0 pcb 20 13K 14K 166960K 128 0 rtable 167 5K 6K 166960K 281 0 pf 36 18K 67485K 166960K 83 0 ifaddr 39 6K 7K 166960K 54 0 ifgroup 55 2K 2K 166960K 73 0 sysctl 3 1K 9K 166960K 7 0 counters 68 36K 37K 166960K 82 0 ioctlops 0 0K 4K 166960K 1519 0 iov 0 0K 4K 166960K 11 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1434 90K 90K 166960K 1676 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 7 2K 2K 166960K 10 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 228K 166960K 348 0 sigio 1 0K 0K 166960K 6 0 proc 79 131K 164K 166960K 564 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 20 0 in_multi 84 6K 7K 166960K 110 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 402 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 266 161K 173K 166960K 4885 0 UVM aobj 10 2K 2K 166960K 10 0 pinsyscall 44 88K 104K 166960K 1467 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 18 0 NDP 12 0K 2K 166960K 34 0 temp 46 8648K 8712K 166960K 18125 0 kqueue 18 26K 29K 166960K 61 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 119 0 116 3 0 3 3 0 8 2 rtentry 176 100 0 26 5 0 5 5 0 8 0 unpcb 144 136 0 117 2 1 1 2 0 8 0 syncache 336 5 0 5 1 1 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 170 0 164 8 6 2 7 0 8 1 arp 136 11 0 1 1 0 1 1 0 8 0 inpcb 328 426 0 412 9 5 4 7 0 8 2 nd6 152 18 0 3 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1192 4 0 4 1 1 0 1 0 8 0 pppxif 1504 1 0 1 1 1 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 4 0 0 1 0 1 1 0 482 0 pffrnode 88 4 0 0 1 0 1 1 0 8 0 pffrent 40 4 0 0 1 0 1 1 0 8 0 pfosfp 40 1429 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pfanchor 1288 3 0 2 1 0 1 1 0 8 0 pfstitem 24 38 0 1 1 0 1 1 0 8 0 pfstkey 128 39 0 2 2 0 2 2 0 8 0 pfstate 384 38 0 2 4 0 4 4 0 8 0 pfrule 1344 26 0 20 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 478 0 104 28 2 26 28 0 8 1 art_table 40 479 0 104 5 0 5 5 0 8 0 art_node 32 100 0 34 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 0 1 1 0 8 1 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 6 0 1 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 1958 0 445 95 0 95 95 0 8 0 ffsino 296 1958 0 445 117 0 117 117 0 8 0 nchpl 144 2434 0 738 63 0 63 63 0 8 0 uvmvnodes 80 2262 0 0 47 0 47 47 0 8 0 vnodes 216 2262 0 0 126 0 126 126 0 8 0 namei 1024 7872 0 7869 1 0 1 1 0 8 0 percpumem 16 56 0 7 1 0 1 1 0 8 0 kstatmem 264 36 0 10 2 0 2 2 0 8 0 scxspl 216 12565 0 12564 10 9 1 8 1 8 0 plimitpl 152 50 0 29 1 0 1 1 0 8 0 sigapl 424 664 0 594 9 1 8 8 0 8 0 knotepl 120 324 0 0 10 0 10 10 0 8 0 kqueuepl 224 117 0 105 3 0 3 3 0 8 2 pipepl 344 129 0 100 3 0 3 3 0 8 0 fdescpl 528 627 0 594 3 0 3 3 0 8 0 filepl 160 3188 0 2949 20 2 18 18 0 8 8 lockfpl 104 92 0 89 1 0 1 1 0 8 0 lockfspl 48 41 0 38 1 0 1 1 0 8 0 sessionpl 144 25 0 16 1 0 1 1 0 8 0 pgrppl 48 35 0 18 1 0 1 1 0 8 0 ucredpl 104 353 0 340 1 0 1 1 0 8 0 zombiepl 144 594 0 594 2 1 1 1 0 8 1 processpl 1232 664 0 594 6 0 6 6 0 8 0 procpl 664 1025 0 939 8 0 8 8 0 8 0 sockpl 752 690 0 652 17 6 11 11 0 8 7 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 131 0 0 17 0 17 17 0 8 0 mcl2k 2048 30 0 0 4 0 4 4 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 3416 0 0 213 0 213 213 0 8 0 bufpl 280 5376 0 123 376 0 376 376 0 8 0 anonpl 32 12592 0 0 103 0 103 103 0 246 1 amapchunkpl 152 14546 0 13859 30 1 29 29 0 158 2 amappl16 200 1572 0 1126 25 1 24 24 0 8 0 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 118 0 106 1 0 1 1 0 8 0 amappl13 176 1 0 1 1 1 0 1 0 8 0 amappl12 168 1290 0 1256 3 1 2 2 0 8 0 amappl11 160 67 0 53 1 0 1 1 0 8 0 amappl10 152 15 0 15 1 1 0 1 0 8 0 amappl9 144 259 0 259 1 1 0 1 0 8 0 amappl8 136 19 0 16 1 0 1 1 0 8 0 amappl7 128 114 0 102 1 0 1 1 0 8 0 amappl6 120 176 0 171 1 0 1 1 0 8 0 amappl5 112 123 0 113 1 0 1 1 0 8 0 amappl4 104 311 0 291 1 0 1 1 0 8 0 amappl3 96 2394 0 2287 3 0 3 3 0 8 0 amappl2 88 880 0 799 2 0 2 2 0 8 0 amappl1 80 9494 0 8892 15 1 14 14 0 8 0 amappl 88 4137 0 3944 5 0 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 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 627 0 594 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 627 0 594 1 0 1 1 0 8 0 vmmpekpl 168 6764 0 6713 4 1 3 3 0 8 0 vmmpepl 168 45746 0 43291 109 1 108 108 0 357 0 vmsppl 488 626 0 594 5 1 4 5 0 8 0 rwobjpl 80 16866 0 13201 75 0 75 75 0 8 0 pdppl 4096 1262 0 1188 110 36 74 84 0 8 0 pvpl 32 19188 0 0 155 0 155 155 0 265 0 pmappl 256 626 0 594 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 490 0 47 13 0 13 13 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837ccff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_release_all(ffffffff839d6318) at __mp_release_all+0xd8 sys/kern/kern_lock.c:215 tsleep_nsec(fffffd807c09d270,11,ffffffff8342a67d,ffffffffffffffff) at tsleep_nsec+0x226 sys/kern/kern_synch.c:-1 biowait(fffffd807c09d270) at biowait+0xc6 sys/kern/vfs_bio.c:1242 bwrite(fffffd807c09d270) at bwrite+0x2e7 sys/kern/vfs_bio.c:754 ffs2_balloc(fffffd806e13de68,214000,4000,fffffd80097fb618,2,ffff80003c48b838) at ffs2_balloc+0x18b4 sys/ufs/ffs/ffs_balloc.c:701 ffs_write(ffff80003c48b8c0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd805c810cd0,ffff80003c48ba78,7,fffffd80097fb618) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_write(fffffd806b9b22b0,ffff80003c48ba78,0) at vn_write+0x1d3 sys/kern/vfs_vnops.c:408 dofilewritev(ffff80003c442d30,5,ffff80003c48ba78,0,ffff80003c48bb30) at dofilewritev+0x242 sys/kern/sys_generic.c:380 sys_write(ffff80003c442d30,ffff80003c48bbe0,ffff80003c48bb30) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80003c48bbe0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c48bbe0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 end trace frame: 0xffff80003c48bc60, count: 0 ddb{0}> trace x86_ipi_db(ffffffff837ccff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_release_all(ffffffff839d6318) at __mp_release_all+0xd8 sys/kern/kern_lock.c:215 tsleep_nsec(fffffd807c09d270,11,ffffffff8342a67d,ffffffffffffffff) at tsleep_nsec+0x226 sys/kern/kern_synch.c:-1 biowait(fffffd807c09d270) at biowait+0xc6 sys/kern/vfs_bio.c:1242 bwrite(fffffd807c09d270) at bwrite+0x2e7 sys/kern/vfs_bio.c:754 ffs2_balloc(fffffd806e13de68,214000,4000,fffffd80097fb618,2,ffff80003c48b838) at ffs2_balloc+0x18b4 sys/ufs/ffs/ffs_balloc.c:701 ffs_write(ffff80003c48b8c0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd805c810cd0,ffff80003c48ba78,7,fffffd80097fb618) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_write(fffffd806b9b22b0,ffff80003c48ba78,0) at vn_write+0x1d3 sys/kern/vfs_vnops.c:408 dofilewritev(ffff80003c442d30,5,ffff80003c48ba78,0,ffff80003c48bb30) at dofilewritev+0x242 sys/kern/sys_generic.c:380 sys_write(ffff80003c442d30,ffff80003c48bbe0,ffff80003c48bb30) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80003c48bbe0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c48bbe0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf5786e08d0, count: -15 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833825d0) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833c4c89,ffffffff8341188b,13c,ffffffff833053d9) at __assert+0x29 sys/kern/subr_prf.c:-1 tun_clone_destroy(ffff800001480800) at tun_clone_destroy+0x38a if_clone_destroy(ffff80002ebd6ab0) at if_clone_destroy+0x1d5 sys/net/if.c:1415 ifioctl(ffff800010fcaef8,80206979,ffff80002ebd6ab0,ffff8000fffea2b8) at ifioctl+0x59d sys/net/if.c:2092 sys_ioctl(ffff8000fffea2b8,ffff80002ebd6c90,ffff80002ebd6be0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80002ebd6c90) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002ebd6c90) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73dcc4bec050, count: 6 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff833825d0) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833c4c89,ffffffff8341188b,13c,ffffffff833053d9) at __assert+0x29 sys/kern/subr_prf.c:-1 tun_clone_destroy(ffff800001480800) at tun_clone_destroy+0x38a if_clone_destroy(ffff80002ebd6ab0) at if_clone_destroy+0x1d5 sys/net/if.c:1415 ifioctl(ffff800010fcaef8,80206979,ffff80002ebd6ab0,ffff8000fffea2b8) at ifioctl+0x59d sys/net/if.c:2092 sys_ioctl(ffff8000fffea2b8,ffff80002ebd6c90,ffff80002ebd6be0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1 syscall(ffff80002ebd6c90) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002ebd6c90) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73dcc4bec050, count: -9