panipanic: kernel diagnostic assertion "!_kernel_lock_held()" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_fork.c", line 674 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *348236 86134 32767 0x10 0 1 syz-executor.4 192017 57029 32767 0x10 0 0 syz-executor.6 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8274c9bf) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff827cb2dd,ffffffff82789f75,2a2,ffffffff827822c6) at __assert+0x25 sys/kern/subr_prf.c:157 proc_trampoline_mp() at proc_trampoline_mp+0x131 end trace frame: 0x0, count: 11 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 *cpu0: vop_generic_badop cpu1: kernel diagnostic assertion "!_kernel_lock_held()" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_fork.c", line 674 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8274c9bf) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff827cb2dd,ffffffff82789f75,2a2,ffffffff827822c6) at __assert+0x25 sys/kern/subr_prf.c:157 proc_trampoline_mp() at proc_trampoline_mp+0x131 end trace frame: 0x0, count: -4 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e447b10 rbx 0xffff800020d69b8f rdx 0 rcx 0 rax 0xffff800021243b60 r8 0x101010101010101 r9 0x8080808080808080 r10 0x6fa0cade74ba0a13 r11 0xfdec6b66c37d7d5b r12 0xffff800020d69990 r13 0 r14 0xffffffff82bc2990 cpu_info_full_primary+0x2990 r15 0x1 rip 0xffffffff818c3858 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e447b00 ss 0 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.4) pid=348236 stat=onproc flags process=10 proc=0 pri=82, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff800021243080,0xffffffff82caafb0 process=0xffff80002122e5c0 user=0xffff80002e442000, vmspace=0xfffffd8065671a68 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *86134 348236 14840 32767 7 0x10 syz-executor.4 37924 495862 44047 32767 2 0x10 syz-executor.1 37924 292124 44047 32767 2 0x4000010 syz-executor.1 61241 260930 62839 32767 2 0x10 syz-executor.0 61241 41960 62839 32767 3 0x4000090 fsleep syz-executor.0 17907 221693 84483 32767 2 0x10 syz-executor.7 17907 119455 84483 32767 3 0x4000090 netio syz-executor.7 17907 422087 84483 32767 3 0x4000090 fsleep syz-executor.7 36225 335071 26672 32767 2 0x10 syz-executor.2 36225 450355 26672 32767 3 0x4000090 netio syz-executor.2 36225 405328 26672 32767 3 0x4000010 netlck syz-executor.2 36225 292139 26672 32767 2 0x4000010 syz-executor.2 62839 401768 18106 32767 3 0x90 nanoslp syz-executor.0 18106 108158 40179 0 3 0x82 wait syz-executor.0 44047 236059 84885 32767 3 0x90 nanoslp syz-executor.1 84885 237507 40179 0 3 0x82 wait syz-executor.1 57029 192017 74347 32767 7 0x10 syz-executor.6 74347 174832 40179 0 3 0x82 wait syz-executor.6 77971 352219 0 0 3 0x14200 bored sosplice 84483 295318 84704 32767 3 0x90 nanoslp syz-executor.7 84704 136016 40179 0 3 0x82 wait syz-executor.7 16215 232997 46942 32767 3 0x90 nanoslp syz-executor.3 6865 442846 88425 32767 2 0x10 syz-executor.5 14840 512376 31779 32767 2 0x10 syz-executor.4 88425 447786 40179 0 3 0x82 wait syz-executor.5 31779 302768 40179 0 3 0x82 wait syz-executor.4 26672 71040 84686 32767 3 0x90 nanoslp syz-executor.2 46942 168058 40179 0 3 0x82 wait syz-executor.3 84686 439179 40179 0 3 0x82 wait syz-executor.2 40179 4291 70296 0 3 0x82 wait syz-fuzzer 40179 167165 70296 0 3 0x4000082 nanoslp syz-fuzzer 40179 492468 70296 0 3 0x4000082 wait syz-fuzzer 40179 262545 70296 0 3 0x4000082 wait syz-fuzzer 40179 215848 70296 0 3 0x4000082 kqread syz-fuzzer 40179 363245 70296 0 3 0x4000082 wait syz-fuzzer 40179 71655 70296 0 3 0x4000082 thrsleep syz-fuzzer 40179 518641 70296 0 3 0x4000082 wait syz-fuzzer 40179 287733 70296 0 3 0x4000082 wait syz-fuzzer 40179 225965 70296 0 3 0x4000082 thrsleep syz-fuzzer 40179 328699 70296 0 3 0x4000082 thrsleep syz-fuzzer 40179 236674 70296 0 3 0x4000082 thrsleep syz-fuzzer 40179 461275 70296 0 3 0x4000082 wait syz-fuzzer 40179 197264 70296 0 3 0x4000082 wait syz-fuzzer 40179 50657 70296 0 3 0x4000082 thrsleep syz-fuzzer 40179 40770 70296 0 3 0x4000082 thrsleep syz-fuzzer 70296 197199 15589 0 3 0x10008a sigsusp ksh 15589 271509 71311 0 3 0x9a kqread sshd 14345 430274 1 0 3 0x100083 ttyin getty 71311 417828 1 0 3 0x88 kqread sshd 1709 78652 71329 73 3 0x1100090 kqread syslogd 71329 491856 1 0 3 0x100082 netio syslogd 44601 194180 1 0 3 0x100080 kqread resolvd 68976 233609 84331 77 3 0x100092 kqread dhcpleased 73050 300451 84331 77 3 0x100092 kqread dhcpleased 84331 193994 1 0 3 0x80 kqread dhcpleased 71928 126936 0 0 3 0x14200 bored smr 58377 92113 0 0 2 0x14200 zerothread 40450 283618 0 0 3 0x14200 aiodoned aiodoned 53101 176042 0 0 3 0x14200 syncer update 28047 271781 0 0 3 0x14200 cleaner cleaner 6198 240086 0 0 3 0x14200 reaper reaper 41850 177865 0 0 3 0x14200 pgdaemon pagedaemon 23543 426834 0 0 3 0x14200 bored viomb 84884 36228 0 0 3 0x40014200 acpi0 acpi0 53667 417048 0 0 3 0x40014200 idle1 75822 158861 0 0 3 0x14200 bored softnet 26258 12395 0 0 3 0x14200 bored softnet 6580 493122 0 0 3 0x14200 bored softnet 64319 37185 0 0 3 0x14200 bored softnet 55291 214698 0 0 3 0x14200 bored systqmp 80884 439161 0 0 3 0x14200 bored systq 99013 382995 0 0 3 0x40014200 bored softclock 22766 138923 0 0 3 0x40014200 idle0 1 93440 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive sched_lock &sched_lock r = 0 (0xffffffff82c32408) #0 witness_lock+0x44d #1 sleep_setup+0xc4 sys/kern/kern_synch.c:362 #2 tsleep+0x11f sys/kern/kern_synch.c:155 #3 sys_nanosleep+0x1f5 sys/kern/kern_time.c:297 #4 syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] #4 syscall+0x606 sys/arch/amd64/amd64/trap.c:625 #5 Xsyscall+0x128 Process 57029 (syz-executor.6) thread 0xffff8000212438a8 (192017) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82c2ca98) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3bb sys/kern/sched_bsd.c:405 #3 sleep_finish+0x180 sys/kern/kern_synch.c:417 #4 tsleep+0x12c sys/kern/kern_synch.c:155 #5 biowait+0x91 sys/kern/vfs_bio.c:1268 #6 bwrite+0x21b sys/kern/vfs_bio.c:769 #7 ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 #8 ufs_mkdir+0x662 sys/ufs/ufs/ufs_vnops.c:1220 #9 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388 #10 domkdirat+0x121 sys/kern/vfs_syscalls.c:3112 #11 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #11 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 #12 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80703fa810) #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 vget+0x1fc sys/kern/vfs_subr.c:676 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1324 #8 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #9 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1150 #10 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388 #11 domkdirat+0x121 sys/kern/vfs_syscalls.c:3112 #12 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #12 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 #13 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80653e84e8) #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:418 #6 namei+0x55a sys/kern/vfs_lookup.c:250 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3097 #8 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #8 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 #9 Xsyscall+0x128 Process 6865 (syz-executor.5) thread 0xffff800021242858 (442846) exclusive rrwlock inode r = 0 (0xfffffd80703fac50) #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 vn_closefile+0xc6 vn_close sys/kern/vfs_vnops.c:292 [inline] #5 vn_closefile+0xc6 sys/kern/vfs_vnops.c:609 #6 fdrop+0xc7 sys/kern/kern_descrip.c:1274 #7 closef+0x11c sys/kern/kern_descrip.c:1258 #8 syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] #8 syscall+0x606 sys/arch/amd64/amd64/trap.c:625 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10233 6414K 6421K 78643K 11337 0 pcb 13 12K 14K 78643K 17 0 rtable 244 6K 7K 78643K 964 0 ifaddr 73 24K 24K 78643K 99 0 sysctl 3 1K 4K 78643K 8 0 counters 60 35K 35K 78643K 68 0 ioctlops 0 0K 2K 78643K 96 0 iov 0 0K 24K 78643K 1763 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1272 80K 80K 78643K 2453 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 1988 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 23 85K 121K 78643K 7226 0 sigio 0 0K 0K 78643K 540 0 proc 56 78K 103K 78643K 997 0 subproc 104 6K 6K 78643K 156 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 15151 0 in_multi 99 6K 6K 78643K 265 0 ether_multi 1 0K 0K 78643K 39 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 271 1208K 1208K 78643K 271 0 exec 0 0K 1K 78643K 1731 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 357 90K 539K 78643K 53134 0 UVM aobj 131 4K 4K 78643K 137 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 272 0 NDP 11 0K 2K 78643K 39 0 temp 124 5778K 5858K 78643K 20433 0 kqueue 12 18K 26K 78643K 719 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 759 0 756 10 9 1 3 0 8 0 rtentry 112 168 0 53 4 0 4 4 0 8 0 unpcb 144 8278 0 8263 67 61 6 6 0 8 5 syncache 296 90 0 90 15 14 1 1 0 8 1 tcpqe 32 117 0 117 11 10 1 1 0 8 1 tcpcb 776 9235 0 9226 131 123 8 17 0 8 6 arp 120 28 0 9 1 0 1 1 0 8 0 ipq 40 6 0 6 2 2 0 1 0 8 0 ipqe 40 13 0 13 2 2 0 1 0 8 0 inpcb 368 12799 0 12786 130 122 8 17 0 8 6 ip6q 72 3 0 3 1 1 0 1 0 8 0 ip6af 40 9 0 9 1 1 0 1 0 8 0 nd6 48 47 0 19 1 0 1 1 0 8 0 kcovpl 48 12 0 4 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 703 0 226 30 0 30 30 0 8 0 art_table 32 704 0 226 4 0 4 4 0 8 0 art_node 16 167 0 62 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 1 0 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 1983 0 1973 1 0 1 1 0 8 0 shmpl 112 134 0 6 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 11220 0 9788 90 0 90 90 0 8 0 ffsino 272 11220 0 9788 96 0 96 96 0 8 0 nchpl 144 21318 0 19686 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 71621 0 71620 4 3 1 2 0 8 0 percpumem 16 47 0 4 1 0 1 1 0 8 0 kstatmem 264 30 0 8 2 0 2 2 0 8 0 scxspl 216 63034 0 63034 33 30 3 8 0 8 3 plimitpl 152 1758 0 1735 17 15 2 2 0 8 1 sigapl 424 7499 0 7446 7 0 7 7 0 8 0 futexpl 64 77077 0 77075 3 2 1 1 0 8 0 knotepl 120 710 0 0 18 0 18 18 0 8 0 kqueuepl 216 1896 0 1887 30 29 1 6 0 8 0 pipepl 320 1591 0 1563 52 49 3 13 0 8 0 fdescpl 496 7481 0 7447 7 1 6 6 0 8 0 filepl 152 57958 0 57712 113 98 15 24 0 8 5 lockfpl 104 1248 0 1246 3 2 1 2 0 8 0 lockfspl 48 296 0 294 1 0 1 1 0 8 0 sessionpl 144 27 0 11 1 0 1 1 0 8 0 pgrppl 48 182 0 166 1 0 1 1 0 8 0 ucredpl 104 8271 0 8253 1 0 1 1 0 8 0 zombiepl 144 7447 0 7446 2 1 1 1 0 8 0 processpl 1072 7499 0 7446 5 1 4 5 0 8 0 procpl 696 21725 0 21650 21 12 9 9 0 8 1 sosppl 168 142 0 142 11 11 0 1 0 8 0 sockpl 488 22115 0 22079 431 418 13 37 0 8 8 mcl64k 65536 30 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 33 0 0 2 0 2 2 0 8 0 mcl9k 9216 25 0 0 2 0 2 2 0 8 0 mcl8k 8192 26 0 0 3 0 3 3 0 8 0 mcl4k 4096 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 298 0 0 31 3 28 31 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 1479 0 0 82 0 82 82 0 8 0 bufpl 288 17299 0 10975 453 0 453 453 0 8 0 anonpl 24 1627148 0 1612915 250 145 105 125 0 186 0 amapchunkpl 152 344287 0 343537 2290 2104 186 2227 0 158 154 amappl16 200 21099 0 20698 174 151 23 40 0 8 1 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 158 0 146 2 1 1 2 0 8 0 amappl13 176 27 0 27 8 8 0 1 0 8 0 amappl12 168 449 0 446 1 0 1 1 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 67 0 53 1 0 1 1 0 8 0 amappl9 144 1018 0 1017 1 0 1 1 0 8 0 amappl8 136 329 0 250 3 0 3 3 0 8 0 amappl7 128 208 0 182 2 0 2 2 0 8 0 amappl6 120 267 0 251 2 1 1 2 0 8 0 amappl5 112 267 0 261 1 0 1 1 0 8 0 amappl4 104 701 0 671 3 2 1 3 0 8 0 amappl3 96 23043 0 22983 2 0 2 2 0 8 0 amappl2 88 8244 0 8164 3 1 2 3 0 8 0 amappl1 80 174681 0 173933 34 16 18 26 0 8 1 amappl 88 52232 0 52023 7 1 6 6 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 136 0 6 3 0 3 3 0 8 0 uaddrrnd 24 7482 0 7448 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7482 0 7448 1 0 1 1 0 8 0 vmmpekpl 168 66820 0 66768 3 0 3 3 0 8 0 vmmpepl 168 699299 0 696435 236 96 140 149 0 357 4 vmsppl 440 7481 0 7448 5 0 5 5 0 8 0 rwobjpl 56 199134 0 191538 134 25 109 113 0 8 0 pdppl 4096 14971 0 14896 267 186 81 93 0 8 6 pvpl 32 3037660 0 3017277 516 321 195 361 0 265 14 pmappl 248 7481 0 7448 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1202 0 316 26 0 26 26 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82bc1ff0) 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(ffffffff82c2c890) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c2c890) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x1f cnputc(69) at cnputc+0x4b sys/dev/cons.c:218 db_putchar(69) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x6ac sys/kern/subr_prf.c:724 db_printf(ffffffff827ce835) at db_printf+0x85 sys/kern/subr_prf.c:498 panic(ffffffff82740948) at panic+0xd7 sys/kern/subr_prf.c:216 vop_generic_badop(ffff8000261cf3b8) at vop_generic_badop+0x1b sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd8066649d08,fffffd8068406368) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8068406368) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 end trace frame: 0xffff8000261cf4a0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff82bc1ff0) 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(ffffffff82c2c890) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c2c890) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x1f cnputc(69) at cnputc+0x4b sys/dev/cons.c:218 db_putchar(69) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x6ac sys/kern/subr_prf.c:724 db_printf(ffffffff827ce835) at db_printf+0x85 sys/kern/subr_prf.c:498 panic(ffffffff82740948) at panic+0xd7 sys/kern/subr_prf.c:216 vop_generic_badop(ffff8000261cf3b8) at vop_generic_badop+0x1b sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd8066649d08,fffffd8068406368) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8068406368) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 VOP_BWRITE(fffffd8068406368) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:640 ufs_mkdir(ffff8000261cf650) at ufs_mkdir+0x6b4 sys/ufs/ufs/ufs_vnops.c:1236 VOP_MKDIR(fffffd80772758b0,ffff8000261cf7b0,ffff8000261cf7e0,ffff8000261cf6e0) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388 domkdirat(ffff8000212438a8,ffffff9c,7f7ffffc8c30,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3112 syscall(ffff8000261cf960) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000261cf960) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc8ca0, count: -20 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(ffffffff8274c9bf) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff827cb2dd,ffffffff82789f75,2a2,ffffffff827822c6) at __assert+0x25 sys/kern/subr_prf.c:157 proc_trampoline_mp() at proc_trampoline_mp+0x131 end trace frame: 0x0, count: 11 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8274c9bf) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff827cb2dd,ffffffff82789f75,2a2,ffffffff827822c6) at __assert+0x25 sys/kern/subr_prf.c:157 proc_trampoline_mp() at proc_trampoline_mp+0x131 end trace frame: 0x0, count: -4