panic: vop_genepanic: 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 *267691 29684 32767 0x10 0 1 syz-executor.3 350856 83004 32767 0x10 0 0 syz-executor.7 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 0xffff80002e4ef4e0 rbx 0xffff800020d69b8f rdx 0 rcx 0 rax 0xffff800021288ec8 r8 0x101010101010101 r9 0x8080808080808080 r10 0xd537de9612cda7a6 r11 0x8ec6c8f11476747e r12 0xffff800020d69990 r13 0 r14 0xffffffff82bc2990 cpu_info_full_primary+0x2990 r15 0x1 rip 0xffffffff818c3858 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e4ef4d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.3) pid=267691 stat=onproc flags process=10 proc=0 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff80002123a598,0xffffffff82caafb0 process=0xffff800027b5b258 user=0xffff80002e4ea000, vmspace=0xfffffd806b799380 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *29684 267691 29277 32767 7 0x10 syz-executor.3 55918 143406 59546 32767 2 0x10 syz-executor.2 55918 477024 59546 32767 2 0x4000010 syz-executor.2 55918 94289 59546 32767 2 0x4000010 syz-executor.2 55918 432377 59546 32767 3 0x4000090 fsleep syz-executor.2 1865 52810 22478 32767 2 0x90 syz-executor.6 22478 364634 2434 0 3 0x82 wait syz-executor.6 43438 233332 17106 32767 3 0x90 nanoslp syz-executor.0 17106 338052 2434 0 3 0x82 wait syz-executor.0 29277 48052 57496 32767 2 0x10 syz-executor.3 57496 81602 2434 0 3 0x82 wait syz-executor.3 85917 455975 83447 32767 2 0x90 syz-executor.1 83447 284032 2434 0 3 0x82 wait syz-executor.1 3472 160059 0 0 3 0x14200 bored sosplice 30698 292974 7462 32767 3 0x10 biowait syz-executor.5 22501 496694 11833 32767 2 0x10 syz-executor.4 83004 350856 66856 32767 7 0x10 syz-executor.7 66856 372775 2434 0 3 0x82 wait syz-executor.7 7462 207809 2434 0 3 0x82 wait syz-executor.5 11833 190578 2434 0 3 0x82 wait syz-executor.4 59546 134430 81711 32767 3 0x90 nanoslp syz-executor.2 81711 78392 2434 0 3 0x82 wait syz-executor.2 2434 216127 64367 0 3 0x82 wait syz-fuzzer 2434 77927 64367 0 3 0x4000082 nanoslp syz-fuzzer 2434 369140 64367 0 3 0x4000082 wait syz-fuzzer 2434 302673 64367 0 3 0x4000082 thrsleep syz-fuzzer 2434 219066 64367 0 3 0x4000082 wait syz-fuzzer 2434 37149 64367 0 3 0x4000082 thrsleep syz-fuzzer 2434 77381 64367 0 3 0x4000082 wait syz-fuzzer 2434 205341 64367 0 3 0x4000082 wait syz-fuzzer 2434 405046 64367 0 3 0x4000082 thrsleep syz-fuzzer 2434 415846 64367 0 3 0x4000082 thrsleep syz-fuzzer 2434 231893 64367 0 3 0x4000082 thrsleep syz-fuzzer 2434 302965 64367 0 3 0x4000082 wait syz-fuzzer 2434 281377 64367 0 3 0x4000082 thrsleep syz-fuzzer 2434 154546 64367 0 3 0x4000082 wait syz-fuzzer 2434 336708 64367 0 3 0x4000082 wait syz-fuzzer 2434 116173 64367 0 2 0x4000002 syz-fuzzer 64367 177361 52411 0 3 0x10008a sigsusp ksh 52411 367947 85568 0 2 0x12 sshd 54990 346513 1 0 3 0x100083 ttyin getty 85568 522467 1 0 3 0x88 kqread sshd 72908 214168 99051 73 3 0x1100090 kqread syslogd 99051 197817 1 0 3 0x100082 netio syslogd 98601 423053 1 0 3 0x100080 kqread resolvd 47901 231245 86341 77 3 0x100092 kqread dhcpleased 55637 67470 86341 77 3 0x100092 kqread dhcpleased 86341 16610 1 0 3 0x80 kqread dhcpleased 53197 201192 0 0 3 0x14200 bored smr 54540 394377 0 0 2 0x14200 zerothread 90549 522917 0 0 3 0x14200 aiodoned aiodoned 69344 113664 0 0 3 0x14200 syncer update 42366 269542 0 0 3 0x14200 cleaner cleaner 27558 292531 0 0 3 0x14200 reaper reaper 65906 472105 0 0 3 0x14200 pgdaemon pagedaemon 91317 281442 0 0 3 0x14200 bored viomb 3301 262920 0 0 3 0x40014200 acpi0 acpi0 50141 320795 0 0 3 0x40014200 idle1 16736 273064 0 0 3 0x14200 bored softnet 23148 488741 0 0 3 0x14200 bored softnet 58290 191025 0 0 3 0x14200 bored softnet 70055 276706 0 0 3 0x14200 bored softnet 60079 33338 0 0 3 0x14200 bored systqmp 94302 384381 0 0 3 0x14200 bored systq 87076 134874 0 0 2 0x40014200 softclock 8200 431163 0 0 3 0x40014200 idle0 1 132840 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 30698 (syz-executor.5) thread 0xffff800021242858 (292974) exclusive rrwlock inode r = 0 (0xfffffd80677ad098) #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 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1353 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1150 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3112 #10 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #10 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd807383c5f0) #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 83004 (syz-executor.7) thread 0xffff80002123bb58 (350856) 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 (0xfffffd8071d9d2c8) #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 (0xfffffd807383c920) #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 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10218 6412K 6421K 78643K 11336 0 pcb 13 20K 24K 78643K 21 0 rtable 246 7K 7K 78643K 2402 0 ifaddr 73 24K 24K 78643K 131 0 sysctl 3 1K 1K 78643K 3 0 counters 60 35K 35K 78643K 78 0 ioctlops 0 0K 2K 78643K 150 0 iov 0 0K 32K 78643K 5182 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1272 80K 80K 78643K 4788 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 3 5K 9K 78643K 277 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 4943 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 21 77K 121K 78643K 18857 0 sigio 0 0K 0K 78643K 2746 0 proc 56 78K 115K 78643K 1746 0 subproc 104 6K 6K 78643K 221 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1657 0 in_multi 99 6K 7K 78643K 426 0 ether_multi 1 0K 0K 78643K 66 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 181 811K 811K 78643K 181 0 exec 0 0K 1K 78643K 3628 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 433 92K 108K 78643K 134284 0 UVM aobj 131 6K 7K 78643K 135 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 583 0 NDP 11 0K 2K 78643K 54 0 temp 124 5778K 5906K 78643K 46341 0 kqueue 12 18K 34K 78643K 1541 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 2293 0 2281 29 26 3 4 0 8 0 rtentry 112 232 0 116 4 0 4 4 0 8 0 unpcb 144 32019 0 32003 203 197 6 10 0 8 5 syncache 296 234 0 234 33 33 0 1 0 8 0 tcpqe 32 243 0 243 22 22 0 1 0 8 0 tcpcb 776 24291 0 24284 293 284 9 20 0 8 8 arp 120 40 0 22 1 0 1 1 0 8 0 ipq 40 85 0 83 8 7 1 1 0 8 0 ipqe 40 2820 0 2816 8 7 1 1 0 8 0 inpcb 368 33819 0 33809 333 319 14 20 0 8 12 ip6q 72 6 0 6 2 2 0 1 0 8 0 ip6af 40 18 0 18 2 2 0 1 0 8 0 nd6 48 69 0 39 1 0 1 1 0 8 0 kcovpl 48 17 0 9 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 904 0 431 30 0 30 30 0 8 0 art_table 32 905 0 431 4 0 4 4 0 8 0 art_node 16 231 0 125 1 0 1 1 0 8 0 sysvmsgpl 40 69 0 37 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 4940 0 4930 1 0 1 1 0 8 0 shmpl 112 132 0 4 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 27292 0 25815 93 0 93 93 0 8 0 ffsino 272 27292 0 25815 99 0 99 99 0 8 0 nchpl 144 52645 0 51013 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 177830 0 177828 6 5 1 1 0 8 0 percpumem 16 52 0 9 1 0 1 1 0 8 0 kstatmem 264 40 0 18 2 0 2 2 0 8 0 scxspl 216 165919 0 165918 65 62 3 8 0 8 2 plimitpl 152 3968 0 3945 34 33 1 2 0 8 0 sigapl 424 19129 0 19079 7 0 7 7 0 8 0 futexpl 64 186245 0 186244 5 4 1 1 0 8 0 knotepl 120 875 0 0 11 1 10 11 0 8 0 kqueuepl 216 5559 0 5486 105 100 5 6 0 8 0 pipepl 320 5904 0 5810 149 141 8 13 0 8 0 fdescpl 496 19111 0 19079 6 1 5 6 0 8 0 filepl 152 160317 0 159873 271 247 24 24 0 8 6 lockfpl 104 3337 0 3335 4 3 1 2 0 8 0 lockfspl 48 1010 0 1008 1 0 1 1 0 8 0 sessionpl 144 32 0 16 1 0 1 1 0 8 0 pgrppl 48 483 0 467 1 0 1 1 0 8 0 ucredpl 104 21102 0 21084 1 0 1 1 0 8 0 zombiepl 144 19080 0 19079 1 0 1 1 0 8 0 processpl 1072 19129 0 19079 5 1 4 5 0 8 0 procpl 696 55422 0 55354 41 33 8 9 0 8 0 sosppl 168 278 0 278 23 22 1 1 0 8 1 sockpl 488 68897 0 68853 1205 1178 27 40 0 8 17 mcl64k 65536 52 0 0 3 0 3 3 0 8 0 mcl16k 16384 49 0 0 5 2 3 3 0 8 0 mcl12k 12288 57 0 0 2 0 2 2 0 8 0 mcl9k 9216 25 0 0 2 0 2 2 0 8 0 mcl8k 8192 49 0 0 3 0 3 3 0 8 0 mcl4k 4096 49 0 0 5 2 3 3 0 8 0 mcl2k2 2112 9 0 0 1 0 1 1 0 8 0 mcl2k 2048 409 0 0 33 13 20 33 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 2559 0 0 147 0 147 147 0 8 0 bufpl 288 36839 0 30512 453 0 453 453 0 8 0 anonpl 24 3821824 0 3806195 266 147 119 124 0 186 10 amapchunkpl 152 403723 0 402979 239 197 42 46 0 158 8 amappl16 200 34826 0 34308 169 140 29 35 0 8 1 amappl15 192 11 0 10 1 0 1 1 0 8 0 amappl14 184 175 0 160 2 1 1 2 0 8 0 amappl13 176 15 0 15 5 5 0 1 0 8 0 amappl12 168 525 0 520 1 0 1 1 0 8 0 amappl11 160 43 0 33 1 0 1 1 0 8 0 amappl10 152 43 0 33 1 0 1 1 0 8 0 amappl9 144 1090 0 1090 32 31 1 1 0 8 1 amappl8 136 858 0 680 7 0 7 7 0 8 0 amappl7 128 256 0 233 2 0 2 2 0 8 0 amappl6 120 408 0 385 2 1 1 2 0 8 0 amappl5 112 546 0 539 1 0 1 1 0 8 0 amappl4 104 1004 0 964 19 17 2 2 0 8 0 amappl3 96 59099 0 59044 2 0 2 2 0 8 0 amappl2 88 20532 0 20451 3 1 2 3 0 8 0 amappl1 80 439274 0 438554 30 12 18 26 0 8 0 amappl 88 132579 0 132375 8 2 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 134 0 4 3 0 3 3 0 8 0 uaddrrnd 24 19111 0 19079 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 19111 0 19079 1 0 1 1 0 8 0 vmmpekpl 168 152897 0 152836 3 0 3 3 0 8 0 vmmpepl 168 1754696 0 1751750 299 149 150 153 0 357 2 vmsppl 440 19110 0 19079 5 0 5 5 0 8 0 rwobjpl 56 469485 0 461692 135 23 112 113 0 8 0 pdppl 4096 38229 0 38158 393 312 81 93 0 8 10 pvpl 32 7418511 0 7397153 689 478 211 362 0 265 25 pmappl 248 19110 0 19079 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1610 0 655 28 0 28 28 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2f kd_curproc sys/dev/kcov.c:578 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2f sys/dev/kcov.c:148 __mp_lock(ffffffff82c2c890) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c2c890) at __mp_lock+0x133 sys/kern/kern_lock.c:147 intr_handler(ffff800028df6740,ffff80000006ba00) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge21_untramp() at Xintr_ioapic_edge21_untramp+0x18f Xspllower() at Xspllower+0x19 cnputc(65) at cnputc+0x4b sys/dev/cons.c:218 db_putchar(65) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x20ec sys/kern/subr_prf.c:1064 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(ffff800028df6b68) at vop_generic_badop+0x1b sys/kern/vfs_default.c:133 end trace frame: 0xffff800028df6bb0, 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2f kd_curproc sys/dev/kcov.c:578 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2f sys/dev/kcov.c:148 __mp_lock(ffffffff82c2c890) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c2c890) at __mp_lock+0x133 sys/kern/kern_lock.c:147 intr_handler(ffff800028df6740,ffff80000006ba00) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge21_untramp() at Xintr_ioapic_edge21_untramp+0x18f Xspllower() at Xspllower+0x19 cnputc(65) at cnputc+0x4b sys/dev/cons.c:218 db_putchar(65) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x20ec sys/kern/subr_prf.c:1064 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(ffff800028df6b68) at vop_generic_badop+0x1b sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd805bd96da0,fffffd80725bc360) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd80725bc360) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 VOP_BWRITE(fffffd80725bc360) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:640 ufs_mkdir(ffff800028df6e00) at ufs_mkdir+0x6b4 sys/ufs/ufs/ufs_vnops.c:1236 VOP_MKDIR(fffffd806b016620,ffff800028df6f60,ffff800028df6f90,ffff800028df6e90) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388 domkdirat(ffff80002123bb58,ffffff9c,7f7ffffc8390,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3112 syscall(ffff800028df7110) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800028df7110) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc8400, count: -22 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