panic:panic: kernel diagnostic assertion "!_kernel_lock_held()" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_fork.c", line 676 Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *520212 56041 32767 0x10 0 1 syz-executor.3 295912 68245 32767 0x10 0 0 syz-executor.2 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82798f94) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281760e,ffffffff827d630d,2a4,ffffffff827ce795) 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 676 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82798f94) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281760e,ffffffff827d630d,2a4,ffffffff827ce795) 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 0xffff800022cff580 rbx 0xffff800020d59b8f rdx 0 rcx 0xffff800026147b70 rax 0xffff800020d58ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xc15381aa5cb04e59 r11 0xb4915aba5c4ac77e r12 0xffff800020d59990 r13 0 r14 0xffffffff82c0c990 cpu_info_full_primary+0x2990 r15 0x1 rip 0xffffffff8235f4cc db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff800022cff570 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.3) pid=520212 stat=onproc flags process=10 proc=0 pri=79, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff8000212a0038,0xffffffff82d2b8a8 process=0xffff800026155508 user=0xffff800022cfa000, vmspace=0xfffffd80794c5918 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *56041 520212 69678 32767 7 0x10 syz-executor.3 77879 130088 17000 32767 2 0x10 syz-executor.7 77879 423101 17000 32767 3 0x4000090 nanoslp syz-executor.7 47602 160975 74417 32767 2 0x10 syz-executor.0 47602 294437 74417 32767 3 0x4000090 fsleep syz-executor.0 72157 384735 10699 32767 2 0x10 syz-executor.5 72157 309315 10699 32767 3 0x4000090 kqread syz-executor.5 68245 295912 94176 32767 7 0x10 syz-executor.2 94176 485241 39219 0 3 0x82 wait syz-executor.2 74417 449019 7083 32767 3 0x90 nanoslp syz-executor.0 7083 119477 39219 0 3 0x82 wait syz-executor.0 89844 172294 28339 32767 3 0x10 biowait syz-executor.1 28339 382598 39219 0 3 0x82 wait syz-executor.1 17000 286301 49991 32767 3 0x90 nanoslp syz-executor.7 49991 189061 39219 0 3 0x82 wait syz-executor.7 10699 442514 70162 32767 3 0x90 nanoslp syz-executor.5 70162 1030 39219 0 3 0x82 wait syz-executor.5 29394 333412 80672 32767 3 0x10 biowait syz-executor.6 80672 45840 39219 0 3 0x82 wait syz-executor.6 69678 414819 75231 32767 2 0x10 syz-executor.3 75231 159568 39219 0 3 0x82 wait syz-executor.3 54656 70924 14561 32767 3 0x90 nanoslp syz-executor.4 14561 407475 39219 0 3 0x82 wait syz-executor.4 99024 410815 0 0 3 0x14200 bored sosplice 39219 148064 12841 0 3 0x82 wait syz-fuzzer 39219 240469 12841 0 3 0x4000082 nanoslp syz-fuzzer 39219 158013 12841 0 3 0x4000082 wait syz-fuzzer 39219 353472 12841 0 3 0x4000082 wait syz-fuzzer 39219 78119 12841 0 3 0x4000082 thrsleep syz-fuzzer 39219 276673 12841 0 2 0x4000082 syz-fuzzer 39219 63121 12841 0 3 0x4000082 wait syz-fuzzer 39219 148283 12841 0 3 0x4000082 thrsleep syz-fuzzer 39219 26363 12841 0 3 0x4000082 wait syz-fuzzer 39219 388997 12841 0 3 0x4000082 thrsleep syz-fuzzer 39219 31663 12841 0 3 0x4000082 thrsleep syz-fuzzer 39219 42048 12841 0 3 0x4000082 thrsleep syz-fuzzer 39219 19722 12841 0 3 0x4000082 wait syz-fuzzer 39219 393460 12841 0 3 0x4000082 wait syz-fuzzer 39219 196901 12841 0 2 0x4000002 syz-fuzzer 39219 77330 12841 0 3 0x4000082 wait syz-fuzzer 12841 3356 22017 0 3 0x10008a sigsusp ksh 22017 52184 81765 0 2 0x9a sshd 49568 180285 1 0 3 0x100083 ttyin getty 81765 379616 1 0 3 0x88 kqread sshd 71181 144324 44399 73 3 0x1100090 kqread syslogd 44399 200206 1 0 3 0x100082 netio syslogd 81465 368365 1 0 3 0x100080 kqread resolvd 80238 204107 67819 77 3 0x100092 kqread dhcpleased 7766 395297 67819 77 3 0x100092 kqread dhcpleased 67819 320792 1 0 3 0x80 kqread dhcpleased 42618 360896 0 0 3 0x14200 bored smr 55467 452281 0 0 2 0x14200 zerothread 40651 216214 0 0 3 0x14200 aiodoned aiodoned 39085 412279 0 0 3 0x14200 syncer update 512 267040 0 0 3 0x14200 cleaner cleaner 72004 401694 0 0 3 0x14200 reaper reaper 25317 128041 0 0 3 0x14200 pgdaemon pagedaemon 28090 359400 0 0 3 0x14200 bored viomb 97232 224590 0 0 3 0x40014200 acpi0 acpi0 23665 198800 0 0 3 0x40014200 idle1 45810 365292 0 0 3 0x14200 bored softnet3 50849 518431 0 0 3 0x14200 bored softnet2 56752 301800 0 0 3 0x14200 bored softnet1 69349 55406 0 0 2 0x14200 softnet0 74105 81696 0 0 3 0x14200 bored systqmp 90627 370687 0 0 3 0x14200 bored systq 28194 414262 0 0 3 0x40014200 bored softclock 42717 310379 0 0 3 0x40014200 idle0 1 377151 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 68245 (syz-executor.2) thread 0xffff800021277330 (295912) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82d06508) #0 witness_lock+0x447 #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x440 sys/kern/sched_bsd.c:420 #3 sleep_finish+0x184 sys/kern/kern_synch.c:411 #4 biowait+0x91 sys/kern/vfs_bio.c:1278 #5 bwrite+0x21c sys/kern/vfs_bio.c:769 #6 ffs_update+0x281 sys/ufs/ffs/ffs_inode.c:113 #7 ufs_mkdir+0x672 sys/ufs/ufs/ufs_vnops.c:1219 #8 VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 #9 domkdirat+0x125 sys/kern/vfs_syscalls.c:3073 #10 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #10 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8068290a30) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #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:1314 #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:3073 #12 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #12 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #13 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8069de02b8) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #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:3058 #8 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #8 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #9 Xsyscall+0x128 Process 89844 (syz-executor.1) thread 0xffff80002126eb10 (172294) exclusive rrwlock inode r = 0 (0xfffffd807e6371b8) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #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:1314 #8 ufs_lookup+0x13ba sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x6e2 sys/kern/vfs_lookup.c:566 #11 namei+0x55a sys/kern/vfs_lookup.c:250 #12 dounlinkat+0x9d sys/kern/vfs_syscalls.c:1847 #13 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #13 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806e36b3c8) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #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 dounlinkat+0x9d sys/kern/vfs_syscalls.c:1847 #8 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #8 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #9 Xsyscall+0x128 Process 29394 (syz-executor.6) thread 0xffff8000212a1b68 (333412) exclusive rrwlock inode r = 0 (0xfffffd807e6373d8) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #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:1343 #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:3073 #10 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #10 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806e36e1b8) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #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:3058 #8 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #8 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10231 6414K 6419K 78643K 11611 0 pcb 13 14K 18K 78643K 17 0 rtable 242 6K 7K 78643K 3763 0 pf 29 8K 8K 78643K 229 0 ifaddr 44 16K 16K 78643K 452 0 ifgroup 50 2K 2K 78643K 450 0 sysctl 3 1K 1K 78643K 3 0 counters 60 35K 35K 78643K 260 0 ioctlops 0 0K 2K 78643K 493 0 iov 0 0K 32K 78643K 2986 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1279 80K 80K 78643K 9182 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 13K 78643K 456 0 VM map 2 1K 1K 78643K 2 0 sem 10 0K 1K 78643K 17 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 22 81K 125K 78643K 28317 0 sigio 0 0K 0K 78643K 515 0 proc 56 78K 103K 78643K 4792 0 subproc 104 6K 6K 78643K 1404 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1700 0 in_multi 99 7K 7K 78643K 1533 0 ether_multi 1 0K 0K 78643K 20 0 mrt 1 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 367 1632K 1632K 78643K 367 0 exec 0 0K 1K 78643K 6710 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 488 93K 111K 78643K 275553 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 517 0 NDP 11 0K 2K 78643K 327 0 temp 74 5876K 6004K 78643K 76166 0 kqueue 12 18K 28K 78643K 2659 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 23379 0 23373 134 133 1 7 0 8 0 rtentry 112 1258 0 1144 4 0 4 4 0 8 0 unpcb 144 16338 0 16323 175 172 3 10 0 8 2 syncache 296 219 0 219 49 48 1 1 0 8 1 sackhl 24 2 0 2 2 2 0 1 0 8 0 tcpqe 32 327 0 327 33 32 1 1 0 8 1 tcpcb 808 8980 0 8975 299 298 1 22 0 8 0 arp 120 218 0 200 1 0 1 1 0 8 0 ipq 40 110 0 109 17 16 1 1 0 8 0 ipqe 40 647 0 646 17 16 1 1 0 8 0 inpcb 368 16079 0 16071 317 313 4 19 0 8 3 nd6 136 371 0 343 3 1 2 2 0 8 0 kcovpl 48 108 0 100 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 5026 0 4559 37 6 31 31 0 8 1 art_table 32 5027 0 4559 4 0 4 4 0 8 0 art_node 16 1257 0 1153 1 0 1 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 8 0 0 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 38874 0 37408 92 0 92 92 0 8 0 ffsino 272 38874 0 37408 99 0 99 99 0 8 0 nchpl 144 76536 0 74897 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 259419 0 259417 10 9 1 2 0 8 0 percpumem 16 143 0 100 1 0 1 1 0 8 0 kstatmem 264 222 0 200 2 0 2 2 0 8 0 scxspl 216 225610 0 225608 102 100 2 8 1 8 1 plimitpl 152 4736 0 4713 37 35 2 2 0 8 1 sigapl 424 28403 0 28351 7 0 7 7 0 8 0 futexpl 64 223293 0 223292 8 7 1 1 0 8 0 knotepl 120 1239 0 0 11 3 8 9 0 8 0 kqueuepl 216 5562 0 5553 73 72 1 5 0 8 0 pipepl 320 6502 0 6474 191 188 3 13 0 8 0 fdescpl 496 28385 0 28352 7 2 5 6 0 8 0 filepl 152 187054 0 186813 340 328 12 20 0 8 1 lockfpl 104 5157 0 5155 6 5 1 2 0 8 0 lockfspl 48 1509 0 1507 1 0 1 1 0 8 0 sessionpl 144 123 0 107 1 0 1 1 0 8 0 pgrppl 48 617 0 601 1 0 1 1 0 8 0 ucredpl 104 37692 0 37674 1 0 1 1 0 8 0 zombiepl 144 28352 0 28351 1 0 1 1 0 8 0 processpl 1072 28403 0 28351 5 1 4 5 0 8 0 procpl 696 77088 0 77018 32 23 9 9 0 8 1 sosppl 168 357 0 357 40 39 1 1 0 8 1 sockpl 488 56633 0 56604 1060 1048 12 37 0 8 7 mcl64k 65536 52 0 0 5 2 3 3 0 8 0 mcl16k 16384 42 0 0 3 0 3 3 0 8 0 mcl12k 12288 112 0 0 9 6 3 8 0 8 0 mcl9k 9216 23 0 0 2 0 2 2 0 8 0 mcl8k 8192 25 0 0 3 0 3 3 0 8 0 mcl4k 4096 155 0 0 4 1 3 4 0 8 0 mcl2k2 2112 25 0 0 2 1 1 2 0 8 0 mcl2k 2048 525 0 0 33 15 18 33 0 8 0 mtagpl 96 17 0 0 1 0 1 1 0 8 0 mbufpl 256 3042 0 0 144 0 144 144 0 8 0 bufpl 288 51502 0 45190 452 0 452 452 0 8 0 anonpl 24 2941603 0 2931670 203 109 94 118 0 186 0 amapchunkpl 152 875639 0 874847 240 203 37 50 0 158 1 amappl16 200 64262 0 63940 412 392 20 43 0 8 0 amappl15 192 24 0 24 6 6 0 1 0 8 0 amappl14 184 467 0 453 2 1 1 2 0 8 0 amappl13 176 49 0 48 1 0 1 1 0 8 0 amappl12 168 30522 0 30484 2 0 2 2 0 8 0 amappl11 160 54 0 44 1 0 1 1 0 8 0 amappl10 152 130 0 117 1 0 1 1 0 8 0 amappl9 144 427 0 427 55 54 1 2 0 8 1 amappl8 136 1943 0 1684 10 0 10 10 0 8 0 amappl7 128 325 0 303 1 0 1 1 0 8 0 amappl6 120 1131 0 1106 2 1 1 2 0 8 0 amappl5 112 1149 0 1143 1 0 1 1 0 8 0 amappl4 104 2526 0 2467 2 0 2 2 0 8 0 amappl3 96 169268 0 169184 15 12 3 4 0 8 0 amappl2 88 29589 0 29509 4 2 2 3 0 8 0 amappl1 80 114279 0 113753 22 9 13 22 0 8 0 amappl 88 272990 0 272748 7 0 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 28385 0 28352 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 28385 0 28352 1 0 1 1 0 8 0 vmmpekpl 168 219349 0 219286 4 0 4 4 0 8 0 vmmpepl 168 1689962 0 1687434 385 242 143 143 0 357 4 vmsppl 464 28384 0 28352 7 2 5 6 0 8 0 rwobjpl 56 413227 0 405617 139 28 111 114 0 8 0 pdppl 4096 56778 0 56704 1262 1180 82 96 0 8 8 pvpl 32 8401875 0 8385709 596 418 178 338 0 265 0 pmappl 248 28384 0 28352 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 2767 0 1826 28 0 28 28 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82c0bff0) 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+0x27 __mp_lock(ffffffff82d06300) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d06300) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff800021274520,ffff80000067b200) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff82d06300) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d06300) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff800021274670,ffff80000006bc00) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f Xspllower() at Xspllower+0x1d cnputc(3a) at cnputc+0x4f sys/dev/cons.c:218 db_putchar(3a) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x6bc sys/kern/subr_prf.c:724 db_printf(ffffffff8281b671) at db_printf+0x89 sys/kern/subr_prf.c:498 end trace frame: 0xffff800021274a60, count: 0 ddb{0}> trace x86_ipi_db(ffffffff82c0bff0) 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+0x27 __mp_lock(ffffffff82d06300) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d06300) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff800021274520,ffff80000067b200) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff82d06300) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d06300) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff800021274670,ffff80000006bc00) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f Xspllower() at Xspllower+0x1d cnputc(3a) at cnputc+0x4f sys/dev/cons.c:218 db_putchar(3a) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x6bc sys/kern/subr_prf.c:724 db_printf(ffffffff8281b671) at db_printf+0x89 sys/kern/subr_prf.c:498 panic(ffffffff8278c0ec) at panic+0xdb sys/kern/subr_prf.c:216 vop_generic_badop(ffff800021274a98) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd80664af9a0,fffffd80678e2c68) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd80678e2c68) at bwrite+0x1f1 sys/kern/vfs_bio.c:760 VOP_BWRITE(fffffd80678e2c68) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:640 ufs_mkdir(ffff800021274d30) at ufs_mkdir+0x6c4 sys/ufs/ufs/ufs_vnops.c:1235 VOP_MKDIR(fffffd80671f6030,ffff800021274e90,ffff800021274ec0,ffff800021274dc0) at VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 domkdirat(ffff800021277330,ffffff9c,7dddd12ab640,1ff) at domkdirat+0x125 sys/kern/vfs_syscalls.c:3073 syscall(ffff800021275040) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800021275040) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7dddd12ab6b0, count: -24 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(ffffffff82798f94) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281760e,ffffffff827d630d,2a4,ffffffff827ce795) 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(ffffffff82798f94) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281760e,ffffffff827d630d,2a4,ffffffff827ce795) at __assert+0x29 sys/kern/subr_prf.c:157 proc_trampoline_mp() at proc_trampoline_mp+0x135 end trace frame: 0x0, count: -4