panic:panic: 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 *324666 11194 32767 0x10 0 1 syz-executor.2 511887 66351 32767 0x10 0 0 syz-executor.1 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82798018) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff82813d5c,ffffffff827d7e98,2a3,ffffffff827ce631) 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(ffffffff82798018) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff82813d5c,ffffffff827d7e98,2a3,ffffffff827ce631) 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 0xffff80002b401960 rbx 0xffff800020d59b8f rdx 0 rcx 0 rax 0xffff800021235968 r8 0x101010101010101 r9 0x8080808080808080 r10 0x4b076a0064007b58 r11 0x63a97faa9d718cca r12 0xffff800020d59990 r13 0 r14 0xffffffff82c27990 cpu_info_full_primary+0x2990 r15 0x1 rip 0xffffffff813ff79c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002b401950 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.2) pid=324666 stat=onproc flags process=10 proc=0 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800021235c20,0xffffffff82c88790 process=0xffff800021210440 user=0xffff80002b3fc000, vmspace=0xfffffd806bd151e8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *11194 324666 68196 32767 7 0x10 syz-executor.2 39581 165906 24597 32767 2 0x10 syz-executor.5 39581 293802 24597 32767 2 0x4000010 syz-executor.5 39581 116556 24597 32767 3 0x4000090 fsleep syz-executor.5 9859 225499 52879 32767 2 0x10 syz-executor.4 92642 111472 69922 32767 2 0x10 syz-executor.0 92642 163766 69922 32767 3 0x4000090 fsleep syz-executor.0 66351 511887 56876 32767 7 0x10 syz-executor.1 56876 489061 40229 0 3 0x82 wait syz-executor.1 69922 141140 71908 32767 3 0x90 nanoslp syz-executor.0 71908 142701 40229 0 3 0x82 wait syz-executor.0 52879 483195 19265 32767 3 0x90 nanoslp syz-executor.4 19265 303733 40229 0 3 0x82 wait syz-executor.4 43655 230009 69032 32767 3 0x10 biowait syz-executor.6 69032 16730 40229 0 3 0x82 wait syz-executor.6 24597 45382 48635 32767 3 0x90 nanoslp syz-executor.5 48635 317010 40229 0 3 0x82 wait syz-executor.5 78121 23621 44565 32767 3 0x90 nanoslp syz-executor.7 44565 455049 40229 0 3 0x82 wait syz-executor.7 83399 508026 0 0 3 0x14200 bored sosplice 54912 71122 63960 32767 3 0x10 biowait syz-executor.3 68196 430331 926 32767 3 0x90 nanoslp syz-executor.2 63960 190745 40229 0 3 0x82 wait syz-executor.3 926 206863 40229 0 3 0x82 wait syz-executor.2 40229 364149 54993 0 3 0x82 thrsleep syz-fuzzer 40229 367018 54993 0 3 0x4000082 nanoslp syz-fuzzer 40229 503248 54993 0 3 0x4000082 wait syz-fuzzer 40229 453681 54993 0 3 0x4000082 thrsleep syz-fuzzer 40229 161633 54993 0 3 0x4000082 wait syz-fuzzer 40229 334762 54993 0 3 0x4000082 wait syz-fuzzer 40229 28670 54993 0 3 0x4000082 thrsleep syz-fuzzer 40229 376211 54993 0 3 0x4000082 kqread syz-fuzzer 40229 386631 54993 0 3 0x4000082 wait syz-fuzzer 40229 237789 54993 0 3 0x4000082 thrsleep syz-fuzzer 40229 324045 54993 0 3 0x4000082 thrsleep syz-fuzzer 40229 154560 54993 0 3 0x4000082 wait syz-fuzzer 40229 73668 54993 0 3 0x4000082 wait syz-fuzzer 40229 330802 54993 0 3 0x4000082 thrsleep syz-fuzzer 40229 17063 54993 0 3 0x4000082 wait syz-fuzzer 40229 460598 54993 0 3 0x4000082 wait syz-fuzzer 54993 58227 76026 0 3 0x10008a sigsusp ksh 76026 77868 36459 0 3 0x9a kqread sshd 79667 19281 1 0 3 0x100083 ttyin getty 36459 502176 1 0 3 0x88 kqread sshd 5465 245616 21670 73 3 0x1100090 kqread syslogd 21670 486502 1 0 3 0x100082 netio syslogd 55561 266956 1 0 3 0x100080 kqread resolvd 91863 181118 39509 77 3 0x100092 kqread dhcpleased 83345 160949 39509 77 3 0x100092 kqread dhcpleased 39509 469216 1 0 3 0x80 kqread dhcpleased 35725 461246 0 0 3 0x14200 bored smr 29862 3999 0 0 2 0x14200 zerothread 73508 402772 0 0 3 0x14200 aiodoned aiodoned 281 490330 0 0 3 0x14200 syncer update 35645 134320 0 0 3 0x14200 cleaner cleaner 71600 184540 0 0 3 0x14200 reaper reaper 14939 106834 0 0 3 0x14200 pgdaemon pagedaemon 711 229950 0 0 3 0x14200 bored viomb 87195 243489 0 0 3 0x40014200 acpi0 acpi0 72976 304240 0 0 3 0x40014200 idle1 1894 313281 0 0 3 0x14200 bored softnet3 70122 292625 0 0 3 0x14200 bored softnet2 43397 272920 0 0 3 0x14200 bored softnet1 13995 346110 0 0 3 0x14200 bored softnet0 2158 247884 0 0 3 0x14200 bored systqmp 98194 247634 0 0 3 0x14200 bored systq 27883 37934 0 0 2 0x40014200 softclock 99880 346859 0 0 3 0x40014200 idle0 1 519501 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 66351 (syz-executor.1) thread 0xffff80002129f340 (511887) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82d147a0) #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 (0xfffffd807c613a38) #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 (0xfffffd806e9e3a38) #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 43655 (syz-executor.6) thread 0xffff800021220848 (230009) exclusive rrwlock inode r = 0 (0xfffffd8067f354e0) #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 (0xfffffd8067f350a0) #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 54912 (syz-executor.3) thread 0xffff8000212202d8 (71122) exclusive rrwlock inode r = 0 (0xfffffd8067f35920) #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 (0xfffffd8067e5d700) #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 10220 6413K 6419K 78643K 11345 0 pcb 13 16K 18K 78643K 19 0 rtable 260 7K 7K 78643K 1500 0 ifaddr 73 24K 24K 78643K 143 0 sysctl 3 1K 3K 78643K 6 0 counters 60 35K 35K 78643K 82 0 ioctlops 0 0K 2K 78643K 221 0 iov 0 0K 32K 78643K 4605 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1279 80K 80K 78643K 5522 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 369 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 10749 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 22 81K 125K 78643K 20697 0 sigio 0 0K 0K 78643K 792 0 proc 59 91K 103K 78643K 2300 0 subproc 104 6K 6K 78643K 247 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 2299 0 in_multi 99 6K 7K 78643K 502 0 ether_multi 1 0K 0K 78643K 79 0 mrt 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 313 1394K 1394K 78643K 313 0 exec 0 0K 1K 78643K 3742 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 479 98K 551K 78643K 208919 0 UVM aobj 131 4K 4K 78643K 134 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 568 0 NDP 11 0K 2K 78643K 60 0 temp 124 5866K 5946K 78643K 50789 0 kqueue 12 18K 30K 78643K 2051 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 2492 0 2488 33 32 1 3 0 8 0 rtentry 112 267 0 144 4 0 4 4 0 8 0 unpcb 144 17499 0 17486 151 147 4 10 0 8 3 syncache 296 173 0 173 34 34 0 1 0 8 0 tcpqe 32 174 0 174 26 26 0 1 0 8 0 tcpcb 776 24517 0 24507 311 303 8 22 0 8 5 arp 120 44 0 26 1 0 1 1 0 8 0 ipq 40 35 0 35 12 12 0 1 0 8 0 ipqe 40 138 0 138 12 12 0 1 0 8 0 inpcb 368 34143 0 34130 331 323 8 23 0 8 5 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 4 0 4 1 1 0 1 0 8 0 nd6 136 88 0 51 2 0 2 2 0 8 0 kcovpl 48 19 0 11 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1072 0 587 33 2 31 32 0 8 0 art_table 32 1073 0 587 6 1 5 5 0 8 0 art_node 16 266 0 153 1 0 1 1 0 8 0 sysvmsgpl 40 47 0 7 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 10746 0 10736 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 29376 0 27912 92 0 92 92 0 8 0 ffsino 272 29376 0 27912 98 0 98 98 0 8 0 nchpl 144 59163 0 57527 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 192281 0 192278 6 5 1 2 0 8 0 percpumem 16 54 0 11 1 0 1 1 0 8 0 kstatmem 264 44 0 22 2 0 2 2 0 8 0 scxspl 216 165154 0 165152 75 73 2 8 0 8 1 plimitpl 152 3386 0 3362 39 37 2 2 0 8 1 sigapl 424 20960 0 20908 8 1 7 7 0 8 0 futexpl 64 206617 0 206615 4 3 1 1 0 8 0 knotepl 120 1202 0 0 14 1 13 13 0 8 0 kqueuepl 216 5901 0 5893 88 87 1 5 0 8 0 pipepl 320 6391 0 6363 174 171 3 13 0 8 0 fdescpl 496 20942 0 20909 7 2 5 6 0 8 0 filepl 152 159444 0 159207 230 217 13 29 0 8 3 lockfpl 104 2432 0 2430 1 0 1 1 0 8 0 lockfspl 48 825 0 823 1 0 1 1 0 8 0 sessionpl 144 34 0 18 1 0 1 1 0 8 0 pgrppl 48 683 0 667 1 0 1 1 0 8 0 ucredpl 104 25869 0 25851 1 0 1 1 0 8 0 zombiepl 144 20909 0 20908 1 0 1 1 0 8 0 processpl 1072 20960 0 20908 5 1 4 5 0 8 0 procpl 696 59878 0 59808 33 25 8 9 0 8 0 sosppl 168 319 0 319 31 30 1 1 0 8 1 sockpl 488 55114 0 55084 947 933 14 34 0 8 8 mcl64k 65536 27 0 0 3 0 3 3 0 8 0 mcl16k 16384 25 0 0 3 0 3 3 0 8 0 mcl12k 12288 33 0 0 2 0 2 2 0 8 0 mcl9k 9216 22 0 0 2 0 2 2 0 8 0 mcl8k 8192 49 0 0 4 1 3 3 0 8 0 mcl4k 4096 33 0 0 3 0 3 3 0 8 0 mcl2k2 2112 16 0 0 2 0 2 2 0 8 0 mcl2k 2048 621 0 0 62 46 16 62 0 8 0 mtagpl 96 7 0 0 1 0 1 1 0 8 0 mbufpl 256 2254 0 0 103 0 103 103 0 8 0 bufpl 288 38686 0 32371 452 0 452 452 0 8 0 anonpl 24 2132827 0 2119789 218 114 104 129 0 186 0 amapchunkpl 152 1031437 0 1030565 4570 4374 196 2237 0 158 157 amappl16 200 51110 0 50772 263 242 21 44 0 8 0 amappl15 192 9 0 9 2 2 0 1 0 8 0 amappl14 184 207 0 190 2 1 1 2 0 8 0 amappl13 176 21 0 21 7 7 0 1 0 8 0 amappl12 168 21735 0 21701 2 0 2 2 0 8 0 amappl11 160 55 0 44 1 0 1 1 0 8 0 amappl10 152 34 0 24 2 1 1 1 0 8 0 amappl9 144 415 0 415 34 34 0 2 0 8 0 amappl8 136 915 0 712 8 0 8 8 0 8 0 amappl7 128 205 0 184 1 0 1 1 0 8 0 amappl6 120 593 0 567 2 1 1 2 0 8 0 amappl5 112 571 0 564 1 0 1 1 0 8 0 amappl4 104 1447 0 1406 2 0 2 2 0 8 0 amappl3 96 129075 0 128993 15 12 3 4 0 8 0 amappl2 88 22696 0 22620 4 2 2 3 0 8 0 amappl1 80 80479 0 79966 22 10 12 22 0 8 0 amappl 88 207465 0 207208 10 2 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 20942 0 20909 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 20942 0 20909 1 0 1 1 0 8 0 vmmpekpl 168 175328 0 175264 4 0 4 4 0 8 0 vmmpepl 168 1231152 0 1228630 323 201 122 136 0 357 1 vmsppl 464 20941 0 20909 7 2 5 6 0 8 0 rwobjpl 56 313227 0 305698 121 10 111 113 0 8 0 pdppl 4096 41891 0 41818 585 504 81 95 0 8 8 pvpl 32 6006786 0 5987878 644 462 182 360 0 265 0 pmappl 248 20941 0 20909 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1782 0 883 28 0 28 28 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82c26ff0) 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 __mp_lock(ffffffff82d14598) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d14598) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff800024f2f030,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(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(ffffffff8281a2bc) at db_printf+0x89 sys/kern/subr_prf.c:498 panic(ffffffff82788c36) at panic+0xdb sys/kern/subr_prf.c:216 vop_generic_badop(ffff800024f2f458) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd8076ae17a0,fffffd8075e6e480) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 end trace frame: 0xffff800024f2f500, count: 0 ddb{0}> trace x86_ipi_db(ffffffff82c26ff0) 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 __mp_lock(ffffffff82d14598) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d14598) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff800024f2f030,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(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(ffffffff8281a2bc) at db_printf+0x89 sys/kern/subr_prf.c:498 panic(ffffffff82788c36) at panic+0xdb sys/kern/subr_prf.c:216 vop_generic_badop(ffff800024f2f458) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd8076ae17a0,fffffd8075e6e480) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd8075e6e480) at bwrite+0x1f4 sys/kern/vfs_bio.c:760 VOP_BWRITE(fffffd8075e6e480) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:640 ufs_mkdir(ffff800024f2f6f0) at ufs_mkdir+0x6c4 sys/ufs/ufs/ufs_vnops.c:1235 VOP_MKDIR(fffffd807db72130,ffff800024f2f850,ffff800024f2f880,ffff800024f2f780) at VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 domkdirat(ffff80002129f340,ffffff9c,781ec5b1e2f0,1ff) at domkdirat+0x125 sys/kern/vfs_syscalls.c:3074 syscall(ffff800024f2fa00) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800024f2fa00) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x781ec5b1e360, 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(ffffffff82798018) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff82813d5c,ffffffff827d7e98,2a3,ffffffff827ce631) 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(ffffffff82798018) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff82813d5c,ffffffff827d7e98,2a3,ffffffff827ce631) at __assert+0x29 sys/kern/subr_prf.c:157 proc_trampoline_mp() at proc_trampoline_mp+0x135 end trace frame: 0x0, count: -4