panic: vpanic: kernel diagnostic assertion "!_kernel_lock_held()" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_fork.c", line 675 Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *200427 22690 32767 0x10 0x4000000 1 syz-executor.2 236477 1374 32767 0x10 0 0 syz-executor.4 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82792cc7) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff82810305,ffffffff827d5358,2a3,ffffffff827c9302) at __assert+0x29 sys/kern/subr_prf.c:157 proc_trampoline_mp() at proc_trampoline_mp+0x135 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 675 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82792cc7) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff82810305,ffffffff827d5358,2a3,ffffffff827c9302) at __assert+0x29 sys/kern/subr_prf.c:157 proc_trampoline_mp() at proc_trampoline_mp+0x135 end trace frame: 0x0, count: -4 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002959dad0 rbx 0xffff800020d59b8f rdx 0 rcx 0 rax 0xffff80002128a860 r8 0x101010101010101 r9 0x8080808080808080 r10 0xb720e9129045b9e1 r11 0x4d6a4ea9f6e8014 r12 0xffff800020d59990 r13 0 r14 0xffffffff82c1e990 cpu_info_full_primary+0x2990 r15 0x1 rip 0xffffffff81fbeb9c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002959dac0 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.2) pid=200427 stat=onproc flags process=10 proc=4000000 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff80002128a038,0xffff8000212725a8 process=0xffff800028b7e198 user=0xffff800029598000, vmspace=0xfffffd806c1413b8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 22690 136308 12557 32767 2 0x10 syz-executor.2 22690 122523 12557 32767 2 0x4000010 syz-executor.2 *22690 200427 12557 32767 7 0x4000010 syz-executor.2 22690 366145 12557 32767 2 0x4000010 syz-executor.2 22690 490592 12557 32767 2 0x4000010 syz-executor.2 39029 313120 32241 32767 2 0x10 syz-executor.5 39029 321577 32241 32767 2 0x4000090 syz-executor.5 39029 434885 32241 32767 3 0x4000090 fsleep syz-executor.5 67851 288391 42323 32767 2 0x10 syz-executor.0 67851 350262 42323 32767 3 0x4000090 fsleep syz-executor.0 63995 162975 5473 32767 2 0x10 syz-executor.6 63995 19910 5473 32767 3 0x4000090 netcon2 syz-executor.6 63995 265270 5473 32767 3 0x4000090 fsleep syz-executor.6 63995 168081 5473 32767 3 0x4000090 kqread syz-executor.6 8651 239947 63084 32767 3 0x90 nanoslp syz-executor.1 8651 380883 63084 32767 3 0x4000090 netio syz-executor.1 8651 366477 63084 32767 3 0x4000090 fsleep syz-executor.1 8651 268499 63084 32767 3 0x4000090 fsleep syz-executor.1 63084 485444 11154 32767 3 0x90 nanoslp syz-executor.1 11154 152265 40105 0 3 0x82 wait syz-executor.1 9752 132269 62651 32767 3 0x10 biowait syz-executor.3 62651 238998 40105 0 3 0x82 wait syz-executor.3 5473 233529 68063 32767 3 0x90 nanoslp syz-executor.6 68063 398639 40105 0 3 0x82 wait syz-executor.6 1374 236477 43428 32767 7 0x10 syz-executor.4 43428 428926 40105 0 3 0x82 wait syz-executor.4 32241 25250 65191 32767 3 0x90 nanoslp syz-executor.5 65191 484775 40105 0 3 0x82 wait syz-executor.5 8682 32834 71942 32767 3 0x90 piperd syz-executor.7 71942 431079 40105 0 3 0x82 wait syz-executor.7 41456 41866 0 0 3 0x14200 bored sosplice 12557 176120 63992 32767 3 0x90 nanoslp syz-executor.2 63992 165479 40105 0 3 0x82 wait syz-executor.2 42323 178165 77783 32767 3 0x90 nanoslp syz-executor.0 77783 213314 40105 0 3 0x82 wait syz-executor.0 40105 311481 14783 0 3 0x82 thrsleep syz-fuzzer 40105 35056 14783 0 3 0x4000082 thrsleep syz-fuzzer 40105 334913 14783 0 3 0x4000082 thrsleep syz-fuzzer 40105 444122 14783 0 3 0x4000082 wait syz-fuzzer 40105 299400 14783 0 3 0x4000082 thrsleep syz-fuzzer 40105 165708 14783 0 3 0x4000082 wait syz-fuzzer 40105 208913 14783 0 3 0x4000082 thrsleep syz-fuzzer 40105 292049 14783 0 3 0x4000082 wait syz-fuzzer 40105 230157 14783 0 3 0x4000082 wait syz-fuzzer 40105 231601 14783 0 3 0x4000082 kqread syz-fuzzer 40105 355172 14783 0 3 0x4000082 wait syz-fuzzer 40105 306397 14783 0 3 0x4000082 thrsleep syz-fuzzer 40105 320443 14783 0 3 0x4000082 thrsleep syz-fuzzer 40105 116132 14783 0 3 0x4000082 wait syz-fuzzer 40105 422369 14783 0 3 0x4000082 wait syz-fuzzer 40105 212530 14783 0 3 0x4000082 wait syz-fuzzer 14783 358487 77210 0 3 0x10008a sigsusp ksh 77210 408921 94087 0 3 0x9a kqread sshd 48612 81628 1 0 3 0x100083 ttyin getty 94087 202391 1 0 3 0x88 kqread sshd 91230 179154 28254 73 3 0x1100090 kqread syslogd 28254 86095 1 0 3 0x100082 netio syslogd 79889 42956 1 0 3 0x100080 kqread resolvd 30294 337544 21666 77 3 0x100092 kqread dhcpleased 86597 508964 21666 77 3 0x100092 kqread dhcpleased 21666 344157 1 0 3 0x80 kqread dhcpleased 79669 418342 0 0 3 0x14200 bored smr 8815 5393 0 0 2 0x14200 zerothread 79243 398976 0 0 3 0x14200 aiodoned aiodoned 29287 416114 0 0 3 0x14200 syncer update 76396 86714 0 0 3 0x14200 cleaner cleaner 65714 408932 0 0 3 0x14200 reaper reaper 39065 47696 0 0 3 0x14200 pgdaemon pagedaemon 64457 385191 0 0 3 0x14200 bored viomb 78706 250588 0 0 3 0x40014200 acpi0 acpi0 9825 329559 0 0 3 0x40014200 idle1 22815 96744 0 0 3 0x14200 bored softnet3 97992 294337 0 0 3 0x14200 bored softnet2 17997 430259 0 0 3 0x14200 bored softnet1 97056 39638 0 0 3 0x14200 bored softnet0 27624 230327 0 0 3 0x14200 bored systqmp 83623 497687 0 0 3 0x14200 bored systq 41463 470821 0 0 3 0x40014200 bored softclock 90008 244210 0 0 3 0x40014200 idle0 1 425876 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 39029 (syz-executor.5) thread 0xffff80002126f338 (434885) exclusive rwlock futex r = 0 (0xffffffff82be6fa0) #0 witness_lock+0x44d #1 sys_futex+0x60 sys/kern/sys_futex.c:107 #2 syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] #2 syscall+0x606 sys/arch/amd64/amd64/trap.c:632 #3 Xsyscall+0x128 Process 9752 (syz-executor.3) thread 0xffff80002128b5f8 (132269) exclusive rrwlock inode r = 0 (0xfffffd806952f5f0) #0 witness_lock+0x44d #1 rw_enter+0x3e5 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8f sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 ufs_ihashins+0x46 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1353 #6 ffs_inode_alloc+0x1c2 sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf8 sys/ufs/ufs/ufs_vnops.c:1149 #8 VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 #9 domkdirat+0x125 sys/kern/vfs_syscalls.c:3074 #10 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #10 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:632 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806952f4e0) #0 witness_lock+0x44d #1 rw_enter+0x3e5 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8f sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0xd5 sys/kern/vfs_lookup.c:418 #6 namei+0x55a sys/kern/vfs_lookup.c:250 #7 domkdirat+0x79 sys/kern/vfs_syscalls.c:3059 #8 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #8 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:632 #9 Xsyscall+0x128 Process 1374 (syz-executor.4) thread 0xffff800021297368 (236477) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82c53d98) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3c3 sys/kern/sched_bsd.c:405 #3 sleep_finish+0x184 sys/kern/kern_synch.c:417 #4 tsleep+0x12b sys/kern/kern_synch.c:155 #5 biowait+0x91 sys/kern/vfs_bio.c:1278 #6 bwrite+0x21f sys/kern/vfs_bio.c:769 #7 ffs_update+0x281 sys/ufs/ffs/ffs_inode.c:113 #8 ufs_mkdir+0x672 sys/ufs/ufs/ufs_vnops.c:1219 #9 VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 #10 domkdirat+0x125 sys/kern/vfs_syscalls.c:3074 #11 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #11 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:632 #12 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806952f2c0) #0 witness_lock+0x44d #1 rw_enter+0x3e5 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8f sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vget+0x200 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+0x1c2 sys/ufs/ffs/ffs_alloc.c:394 #9 ufs_mkdir+0xf8 sys/ufs/ufs/ufs_vnops.c:1149 #10 VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 #11 domkdirat+0x125 sys/kern/vfs_syscalls.c:3074 #12 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #12 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:632 #13 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8067da34d8) #0 witness_lock+0x44d #1 rw_enter+0x3e5 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8f sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0xd5 sys/kern/vfs_lookup.c:418 #6 namei+0x55a sys/kern/vfs_lookup.c:250 #7 domkdirat+0x79 sys/kern/vfs_syscalls.c:3059 #8 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #8 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:632 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10235 6415K 6419K 78643K 11378 0 pcb 13 12K 14K 78643K 17 0 rtable 244 6K 7K 78643K 2301 0 ifaddr 73 24K 24K 78643K 179 0 sysctl 3 1K 3K 78643K 9 0 counters 60 35K 35K 78643K 94 0 ioctlops 0 0K 2K 78643K 313 0 iov 1 4K 40K 78643K 5436 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1279 80K 80K 78643K 3449 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 243 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 7179 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 23 85K 117K 78643K 17021 0 sigio 0 0K 0K 78643K 463 0 proc 56 78K 103K 78643K 1872 0 subproc 104 6K 6K 78643K 325 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1640 0 in_multi 99 6K 7K 78643K 611 0 ether_multi 1 0K 0K 78643K 113 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 403 1791K 1791K 78643K 403 0 exec 0 0K 1K 78643K 3696 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 549 108K 556K 78643K 171835 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 597 0 NDP 11 0K 2K 78643K 78 0 temp 125 5866K 5994K 78643K 43820 0 kqueue 13 20K 43K 78643K 12087 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 2182 0 2179 32 31 1 4 0 8 0 rtentry 112 330 0 215 4 0 4 4 0 8 0 unpcb 144 18994 0 18979 127 120 7 11 0 8 6 syncache 296 154 0 154 29 28 1 1 0 8 1 tcpqe 32 679 0 679 21 20 1 2 0 8 1 tcpcb 776 7710 0 7699 177 169 8 17 0 8 6 arp 120 56 0 37 1 0 1 1 0 8 0 ipq 40 21 0 20 7 6 1 1 0 8 0 ipqe 40 229 0 194 7 6 1 1 0 8 0 inpcb 368 17759 0 17744 231 221 10 17 0 8 8 ip6q 72 14 0 12 4 3 1 1 0 8 0 ip6af 40 22 0 20 4 3 1 1 0 8 0 nd6 136 103 0 75 5 4 1 2 0 8 0 kcovpl 48 25 0 17 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1342 0 856 35 3 32 32 0 8 0 art_table 32 1343 0 856 5 0 5 5 0 8 0 art_node 16 329 0 224 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 7 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 7175 0 7165 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 23325 0 21856 93 0 93 93 0 8 0 ffsino 272 23325 0 21856 99 0 99 99 0 8 0 nchpl 144 46347 0 44704 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 149758 0 149756 10 9 1 2 0 8 0 percpumem 16 60 0 17 1 0 1 1 0 8 0 kstatmem 264 56 0 34 2 0 2 2 0 8 0 scxspl 216 134646 0 134645 73 70 3 8 0 8 2 plimitpl 152 3078 0 3055 33 32 1 2 0 8 0 sigapl 424 17276 0 17224 7 0 7 7 0 8 0 futexpl 64 172934 0 172929 7 6 1 1 0 8 0 knotepl 120 622 0 0 7 0 7 7 0 8 0 kqueuepl 216 21904 0 21895 143 136 7 10 0 8 6 pipepl 320 4434 0 4406 107 104 3 13 0 8 0 fdescpl 496 17258 0 17224 7 2 5 6 0 8 0 filepl 152 135104 0 134864 196 180 16 24 0 8 5 lockfpl 104 3639 0 3637 5 4 1 2 0 8 0 lockfspl 48 1242 0 1240 1 0 1 1 0 8 0 sessionpl 144 40 0 24 1 0 1 1 0 8 0 pgrppl 48 642 0 626 1 0 1 1 0 8 0 ucredpl 104 16008 0 15990 1 0 1 1 0 8 0 zombiepl 144 17224 0 17224 3 2 1 1 0 8 1 processpl 1072 17276 0 17224 4 0 4 4 0 8 0 procpl 696 48714 0 48634 25 16 9 9 0 8 1 sosppl 168 280 0 278 21 20 1 1 0 8 0 sockpl 488 39920 0 39886 661 635 26 50 0 8 20 mcl64k 65536 26 0 0 4 1 3 3 0 8 0 mcl16k 16384 33 0 0 3 1 2 3 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 25 0 0 3 0 3 3 0 8 0 mcl4k 4096 33 0 0 3 0 3 3 0 8 0 mcl2k2 2112 11 0 0 1 0 1 1 0 8 0 mcl2k 2048 667 0 0 67 37 30 67 0 8 0 mtagpl 96 26 0 0 1 0 1 1 0 8 0 mbufpl 256 2279 0 0 107 0 107 107 0 8 0 bufpl 288 30912 0 24597 452 0 452 452 0 8 0 anonpl 24 1934842 0 1921162 294 187 107 122 0 186 0 amapchunkpl 152 1090969 0 1089992 6711 6565 146 2238 0 158 105 amappl16 200 43980 0 43585 232 203 29 34 0 8 7 amappl15 192 22 0 20 1 0 1 1 0 8 0 amappl14 184 223 0 207 2 1 1 2 0 8 0 amappl13 176 53 0 53 4 4 0 1 0 8 0 amappl12 168 18151 0 18111 2 0 2 2 0 8 0 amappl11 160 61 0 51 1 0 1 1 0 8 0 amappl10 152 46 0 35 1 0 1 1 0 8 0 amappl9 144 303 0 303 19 18 1 2 0 8 1 amappl8 136 1047 0 813 9 0 9 9 0 8 0 amappl7 128 172 0 152 1 0 1 1 0 8 0 amappl6 120 541 0 517 2 1 1 2 0 8 0 amappl5 112 531 0 524 1 0 1 1 0 8 0 amappl4 104 1293 0 1245 2 0 2 2 0 8 0 amappl3 96 105496 0 105394 13 10 3 4 0 8 0 amappl2 88 19261 0 19188 4 2 2 3 0 8 0 amappl1 80 68999 0 68474 22 10 12 22 0 8 0 amappl 88 169793 0 169500 8 0 8 8 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 17258 0 17224 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 17258 0 17224 1 0 1 1 0 8 0 vmmpekpl 168 134723 0 134661 4 0 4 4 0 8 0 vmmpepl 168 1024019 0 1021303 354 225 129 142 0 357 3 vmsppl 464 17257 0 17224 7 2 5 6 0 8 0 rwobjpl 56 262992 0 255324 127 15 112 112 0 8 0 pdppl 4096 34524 0 34448 562 480 82 92 0 8 6 pvpl 32 5089565 0 5069646 647 445 202 336 0 265 21 pmappl 248 17257 0 17224 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1676 0 754 27 0 27 27 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82c1dff0) at x86_ipi_db+0x1e 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xf sys/dev/kcov.c:144 intr_handler(ffff80002958a740,ffff80000006ba00) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge21_untramp() at Xintr_ioapic_edge21_untramp+0x18f Xspllower() at Xspllower+0x1d cnputc(76) at cnputc+0x4f sys/dev/cons.c:218 db_putchar(76) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x20fc sys/kern/subr_prf.c:1064 db_printf(ffffffff828151a0) at db_printf+0x89 sys/kern/subr_prf.c:498 panic(ffffffff82785382) at panic+0xdb sys/kern/subr_prf.c:216 vop_generic_badop(ffff80002958ab68) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd806571ab50,fffffd80669b1398) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 end trace frame: 0xffff80002958ac10, count: 0 ddb{0}> trace x86_ipi_db(ffffffff82c1dff0) at x86_ipi_db+0x1e 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xf sys/dev/kcov.c:144 intr_handler(ffff80002958a740,ffff80000006ba00) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge21_untramp() at Xintr_ioapic_edge21_untramp+0x18f Xspllower() at Xspllower+0x1d cnputc(76) at cnputc+0x4f sys/dev/cons.c:218 db_putchar(76) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x20fc sys/kern/subr_prf.c:1064 db_printf(ffffffff828151a0) at db_printf+0x89 sys/kern/subr_prf.c:498 panic(ffffffff82785382) at panic+0xdb sys/kern/subr_prf.c:216 vop_generic_badop(ffff80002958ab68) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd806571ab50,fffffd80669b1398) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd80669b1398) at bwrite+0x1f4 sys/kern/vfs_bio.c:760 VOP_BWRITE(fffffd80669b1398) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:640 ufs_mkdir(ffff80002958ae00) at ufs_mkdir+0x6c4 sys/ufs/ufs/ufs_vnops.c:1235 VOP_MKDIR(fffffd8065227c08,ffff80002958af60,ffff80002958af90,ffff80002958ae90) at VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 domkdirat(ffff800021297368,ffffff9c,7eaea81860c0,1ff) at domkdirat+0x125 sys/kern/vfs_syscalls.c:3074 syscall(ffff80002958b110) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002958b110) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7eaea8186130, count: -21 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x1c: addq $0x8,%rsp db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82792cc7) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff82810305,ffffffff827d5358,2a3,ffffffff827c9302) at __assert+0x29 sys/kern/subr_prf.c:157 proc_trampoline_mp() at proc_trampoline_mp+0x135 end trace frame: 0x0, count: 11 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82792cc7) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff82810305,ffffffff827d5358,2a3,ffffffff827c9302) at __assert+0x29 sys/kern/subr_prf.c:157 proc_trampoline_mp() at proc_trampoline_mp+0x135 end trace frame: 0x0, count: -4