panicpanic: 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 *499692 93368 32767 0x10 0x4000000 1 syz-executor.2 244378 58498 32767 0x10 0 0 syz-executor.6 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8279732b) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff828159c7,ffffffff827d9149,2a3,ffffffff827cd364) 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(ffffffff8279732b) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff828159c7,ffffffff827d9149,2a3,ffffffff827cd364) 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 0xffff80002e4134c0 rbx 0xffff800020d59b8f rdx 0 rcx 0 rax 0xffff800023ee1668 r8 0x101010101010101 r9 0x8080808080808080 r10 0x7d914795e6d409ca r11 0x9d70320bfde29722 r12 0xffff800020d59990 r13 0 r14 0xffffffff82bb0990 cpu_info_full_primary+0x2990 r15 0x1 rip 0xffffffff81fe5ecc db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002e4134b0 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.2) pid=499692 stat=onproc flags process=10 proc=4000000 pri=69, usrpri=69, nice=20 forw=0xffffffffffffffff, list=0xffff800027bd1090,0xffffffff82d6c048 process=0xffff800021212190 user=0xffff80002e40e000, vmspace=0xfffffd807abc5cc8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 93368 401563 42631 32767 2 0x10 syz-executor.2 *93368 499692 42631 32767 7 0x4000010 syz-executor.2 46267 398207 66458 32767 2 0x10 syz-executor.4 18251 447597 57635 32767 2 0x10 syz-executor.1 18251 9257 57635 32767 3 0x4000090 netcon2 syz-executor.1 93030 517290 43986 32767 2 0x10 syz-executor.7 43986 364961 27833 0 3 0x82 wait syz-executor.7 57635 498418 80250 32767 3 0x90 nanoslp syz-executor.1 80250 57236 27833 0 3 0x82 wait syz-executor.1 42631 431025 36472 32767 3 0x90 nanoslp syz-executor.2 36472 77773 27833 0 3 0x82 wait syz-executor.2 66458 508873 18567 32767 3 0x90 nanoslp syz-executor.4 18567 445297 27833 0 3 0x82 wait syz-executor.4 12895 370450 10967 32767 3 0x90 nanoslp syz-executor.3 10967 522918 27833 0 3 0x82 wait syz-executor.3 76338 359473 16508 32767 3 0x90 nanoslp syz-executor.5 16508 408696 27833 0 3 0x82 wait syz-executor.5 8603 141079 0 0 3 0x14200 bored sosplice 58498 244378 45852 32767 7 0x10 syz-executor.6 45852 272761 27833 0 3 0x82 wait syz-executor.6 41652 325706 58711 32767 3 0x10 biowait syz-executor.0 58711 416706 27833 0 3 0x82 wait syz-executor.0 27833 95687 77163 0 3 0x82 wait syz-fuzzer 27833 264334 77163 0 3 0x4000082 nanoslp syz-fuzzer 27833 210615 77163 0 3 0x4000082 wait syz-fuzzer 27833 49172 77163 0 3 0x4000082 thrsleep syz-fuzzer 27833 516219 77163 0 3 0x4000082 wait syz-fuzzer 27833 226208 77163 0 3 0x4000082 wait syz-fuzzer 27833 177106 77163 0 2 0x4000082 syz-fuzzer 27833 320796 77163 0 3 0x4000082 thrsleep syz-fuzzer 27833 73110 77163 0 3 0x4000082 thrsleep syz-fuzzer 27833 255899 77163 0 3 0x4000082 thrsleep syz-fuzzer 27833 97575 77163 0 3 0x4000082 thrsleep syz-fuzzer 27833 220692 77163 0 3 0x4000082 wait syz-fuzzer 27833 488522 77163 0 3 0x4000082 wait syz-fuzzer 27833 443286 77163 0 3 0x4000082 wait syz-fuzzer 27833 270039 77163 0 3 0x4000082 wait syz-fuzzer 27833 446772 77163 0 2 0x4000002 syz-fuzzer 77163 338791 47423 0 3 0x10008a sigsusp ksh 47423 505048 71203 0 2 0x9a sshd 48690 449449 1 0 3 0x100083 ttyin getty 71203 521401 1 0 3 0x88 kqread sshd 46566 470563 76429 73 3 0x1100090 kqread syslogd 76429 24847 1 0 3 0x100082 netio syslogd 93405 127182 1 0 3 0x100080 kqread resolvd 74345 369276 51759 77 3 0x100092 kqread dhcpleased 9750 320156 51759 77 3 0x100092 kqread dhcpleased 51759 383416 1 0 3 0x80 kqread dhcpleased 92244 427108 0 0 3 0x14200 bored smr 47021 259093 0 0 2 0x14200 zerothread 1421 171699 0 0 3 0x14200 aiodoned aiodoned 50716 176896 0 0 3 0x14200 syncer update 23448 439536 0 0 3 0x14200 cleaner cleaner 58605 484622 0 0 3 0x14200 reaper reaper 65832 523294 0 0 3 0x14200 pgdaemon pagedaemon 16348 91288 0 0 3 0x14200 bored viomb 7736 512168 0 0 3 0x40014200 acpi0 acpi0 95242 370720 0 0 3 0x40014200 idle1 32267 206298 0 0 3 0x14200 bored softnet3 32301 462140 0 0 3 0x14200 bored softnet2 36157 86502 0 0 3 0x14200 bored softnet1 90282 34504 0 0 3 0x14200 bored softnet0 91102 338957 0 0 3 0x14200 bored systqmp 58627 145642 0 0 3 0x14200 bored systq 13075 469526 0 0 3 0x40014200 bored softclock 64251 43156 0 0 3 0x40014200 idle0 1 475807 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 58498 (syz-executor.6) thread 0xffff800021220590 (244378) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82d53118) #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 (0xfffffd806d6cd928) #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 (0xfffffd80683c0c58) #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 41652 (syz-executor.0) thread 0xffff800021268850 (325706) exclusive rrwlock inode r = 0 (0xfffffd80754ef1a8) #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 ufs_lookup+0x13ba sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x6f5 sys/kern/vfs_lookup.c:566 #11 namei+0x55a sys/kern/vfs_lookup.c:250 #12 dounlinkat+0x9d sys/kern/vfs_syscalls.c:1848 #13 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #13 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:632 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806d6cda38) #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 dounlinkat+0x9d sys/kern/vfs_syscalls.c:1848 #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 10209 6412K 6419K 78643K 11352 0 pcb 13 12K 14K 78643K 17 0 rtable 240 6K 7K 78643K 1536 0 ifaddr 73 24K 24K 78643K 179 0 sysctl 3 1K 1K 78643K 3 0 counters 60 35K 35K 78643K 94 0 ioctlops 0 0K 2K 78643K 107 0 iov 0 0K 32K 78643K 4633 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1279 80K 80K 78643K 4653 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 224 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 4488 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 21 77K 117K 78643K 12881 0 sigio 0 0K 0K 78643K 321 0 proc 56 78K 103K 78643K 1863 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 897 0 in_multi 99 6K 7K 78643K 498 0 ether_multi 1 0K 0K 78643K 86 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 247 1102K 1102K 78643K 247 0 exec 0 0K 1K 78643K 2233 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 461 101K 994K 78643K 130129 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 435 0 NDP 11 0K 2K 78643K 78 0 temp 124 5866K 5994K 78643K 33911 0 kqueue 12 18K 26K 78643K 940 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 1736 0 1733 17 16 1 3 0 8 0 rtentry 112 321 0 208 4 0 4 4 0 8 0 unpcb 144 31025 0 31012 133 132 1 12 0 8 0 syncache 296 75 0 75 16 16 0 1 0 8 0 tcpqe 32 287 0 287 11 11 0 2 0 8 0 tcpcb 776 4950 0 4945 132 131 1 14 0 8 0 arp 120 55 0 36 1 0 1 1 0 8 0 ipq 40 93 0 91 6 5 1 1 0 8 0 ipqe 40 292 0 290 6 5 1 1 0 8 0 inpcb 368 11777 0 11766 178 175 3 17 0 8 1 ip6q 72 6 0 6 2 2 0 1 0 8 0 ip6af 40 12 0 12 2 2 0 1 0 8 0 nd6 136 95 0 69 4 2 2 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 1281 0 821 35 6 29 32 0 8 0 art_table 32 1282 0 821 5 0 5 5 0 8 0 art_node 16 320 0 217 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 1 0 1 0 8 0 semapl 112 4486 0 4476 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 19101 0 17629 93 0 93 93 0 8 0 ffsino 272 19101 0 17629 99 0 99 99 0 8 0 nchpl 144 35937 0 34300 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 129033 0 129032 5 4 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 103099 0 103098 37 34 3 8 0 8 2 plimitpl 152 2663 0 2640 24 22 2 2 0 8 1 sigapl 424 13145 0 13093 7 0 7 7 0 8 0 futexpl 64 112618 0 112618 2 1 1 1 0 8 1 knotepl 120 639 0 0 8 0 8 8 0 8 0 kqueuepl 216 2903 0 2895 60 59 1 6 0 8 0 pipepl 320 2890 0 2862 66 63 3 12 0 8 0 fdescpl 496 13127 0 13095 7 2 5 6 0 8 0 filepl 152 111447 0 111213 170 160 10 24 0 8 0 lockfpl 104 1749 0 1747 6 5 1 2 0 8 0 lockfspl 48 352 0 350 1 0 1 1 0 8 0 sessionpl 144 40 0 24 1 0 1 1 0 8 0 pgrppl 48 2454 0 2438 1 0 1 1 0 8 0 ucredpl 104 21312 0 21294 1 0 1 1 0 8 0 zombiepl 144 13095 0 13093 1 0 1 1 0 8 0 processpl 1072 13145 0 13093 5 1 4 5 0 8 0 procpl 696 36775 0 36706 23 15 8 9 0 8 0 sosppl 168 189 0 189 25 24 1 1 0 8 1 sockpl 488 45043 0 45019 934 929 5 50 0 8 1 mcl64k 65536 25 0 0 3 0 3 3 0 8 0 mcl16k 16384 25 0 0 4 1 3 3 0 8 0 mcl12k 12288 18 0 0 2 0 2 2 0 8 0 mcl9k 9216 16 0 0 2 0 2 2 0 8 0 mcl8k 8192 33 0 0 3 0 3 3 0 8 0 mcl4k 4096 29 0 0 3 0 3 3 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 508 0 0 48 15 33 48 0 8 2 mtagpl 96 8 0 0 1 0 1 1 0 8 0 mbufpl 256 1563 0 0 71 0 71 71 0 8 0 bufpl 288 23497 0 17182 452 0 452 452 0 8 0 anonpl 24 1425473 0 1412197 276 161 115 115 0 186 0 amapchunkpl 152 646731 0 645877 4489 4446 43 4430 0 158 0 amappl16 200 31693 0 31353 238 207 31 33 0 8 11 amappl15 192 27 0 26 1 0 1 1 0 8 0 amappl14 184 220 0 205 2 0 2 2 0 8 0 amappl13 176 48 0 47 1 0 1 1 0 8 0 amappl12 168 14034 0 13997 3 0 3 3 0 8 0 amappl11 160 53 0 42 1 0 1 1 0 8 0 amappl10 152 53 0 40 1 0 1 1 0 8 0 amappl9 144 300 0 299 2 1 1 2 0 8 0 amappl8 136 806 0 624 7 0 7 7 0 8 0 amappl7 128 135 0 115 1 0 1 1 0 8 0 amappl6 120 547 0 517 2 1 1 2 0 8 0 amappl5 112 467 0 461 1 0 1 1 0 8 0 amappl4 104 1108 0 1068 2 0 2 2 0 8 0 amappl3 96 80050 0 79976 5 2 3 4 0 8 0 amappl2 88 14159 0 14082 4 2 2 3 0 8 0 amappl1 80 54735 0 54220 22 9 13 22 0 8 0 amappl 88 128841 0 128587 9 1 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 13127 0 13095 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 13127 0 13095 1 0 1 1 0 8 0 vmmpekpl 168 107619 0 107556 4 0 4 4 0 8 0 vmmpepl 168 789654 0 787183 317 188 129 136 0 357 2 vmsppl 464 13126 0 13095 7 2 5 6 0 8 0 rwobjpl 56 201636 0 194121 123 12 111 111 0 8 0 pdppl 4096 26262 0 26190 421 341 80 94 0 8 8 pvpl 32 3931918 0 3912767 534 333 201 364 0 265 0 pmappl 248 13126 0 13095 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1422 0 544 26 0 26 26 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82bafff0) 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+0x38 sys/dev/kcov.c:154 __mp_lock(ffffffff82d52f10) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d52f10) at __mp_lock+0x133 sys/kern/kern_lock.c:147 intr_handler(ffff80002c7e8640,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(63) at cnputc+0x4f sys/dev/cons.c:218 db_putchar(63) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x6bc sys/kern/subr_prf.c:724 db_printf(ffffffff82819ae9) at db_printf+0x89 sys/kern/subr_prf.c:498 panic(ffffffff8278abd0) at panic+0xdb sys/kern/subr_prf.c:216 vop_generic_badop(ffff80002c7e8a68) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133 end trace frame: 0xffff80002c7e8ab0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff82bafff0) 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+0x38 sys/dev/kcov.c:154 __mp_lock(ffffffff82d52f10) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d52f10) at __mp_lock+0x133 sys/kern/kern_lock.c:147 intr_handler(ffff80002c7e8640,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(63) at cnputc+0x4f sys/dev/cons.c:218 db_putchar(63) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x6bc sys/kern/subr_prf.c:724 db_printf(ffffffff82819ae9) at db_printf+0x89 sys/kern/subr_prf.c:498 panic(ffffffff8278abd0) at panic+0xdb sys/kern/subr_prf.c:216 vop_generic_badop(ffff80002c7e8a68) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd8072f952a0,fffffd807a98a398) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd807a98a398) at bwrite+0x1f4 sys/kern/vfs_bio.c:760 VOP_BWRITE(fffffd807a98a398) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:640 ufs_mkdir(ffff80002c7e8d00) at ufs_mkdir+0x6c4 sys/ufs/ufs/ufs_vnops.c:1235 VOP_MKDIR(fffffd8067e361e8,ffff80002c7e8e60,ffff80002c7e8e90,ffff80002c7e8d90) at VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 domkdirat(ffff800021220590,ffffff9c,7b3ed844fbb0,1ff) at domkdirat+0x125 sys/kern/vfs_syscalls.c:3074 syscall(ffff80002c7e9010) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002c7e9010) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b3ed844fc20, count: -22 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(ffffffff8279732b) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff828159c7,ffffffff827d9149,2a3,ffffffff827cd364) 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(ffffffff8279732b) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff828159c7,ffffffff827d9149,2a3,ffffffff827cd364) at __assert+0x29 sys/kern/subr_prf.c:157 proc_trampoline_mp() at proc_trampoline_mp+0x135 end trace frame: 0x0, count: -4