panipanic: 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 *452259 77936 32767 0x10 0 1 syz-executor.1 128206 98665 32767 0x10 0x4000000 0 syz-executor.2 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 0xffff80002e465080 rbx 0xffff800020d69b8f rdx 0 rcx 0 rax 0xffff8000212f22f8 r8 0x101010101010101 r9 0x8080808080808080 r10 0x2b6df201a2abd0ae r11 0x4d5fd504f6bdd757 r12 0xffff800020d69990 r13 0 r14 0xffffffff82bc2990 cpu_info_full_primary+0x2990 r15 0x1 rip 0xffffffff818c3858 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e465070 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=452259 stat=onproc flags process=10 proc=0 pri=79, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000212f2040,0xffff8000212f2b30 process=0xffff8000ffff5d68 user=0xffff80002e460000, vmspace=0xfffffd8063cf1000 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *77936 452259 9059 32767 7 0x10 syz-executor.1 92340 178668 59429 32767 2 0x10 syz-executor.0 92340 143344 59429 32767 3 0x4000090 netio syz-executor.0 92340 423643 59429 32767 3 0x4000090 netio syz-executor.0 92340 140507 59429 32767 2 0x4000010 syz-executor.0 92340 101455 59429 32767 2 0x4000010 syz-executor.0 98665 485651 13398 32767 2 0x10 syz-executor.2 98665 128206 13398 32767 7 0x4000010 syz-executor.2 40021 443348 95802 32767 3 0x90 nanoslp syz-executor.6 40021 273932 95802 32767 3 0x4000090 kqsel syz-executor.6 40021 331286 95802 32767 3 0x4000090 fsleep syz-executor.6 40021 218821 95802 32767 3 0x4000090 fsleep syz-executor.6 77271 500696 89421 32767 2 0x10 syz-executor.3 77271 293233 89421 32767 3 0x4000090 kqread syz-executor.3 77271 177146 89421 32767 3 0x4000090 fsleep syz-executor.3 95802 297282 10738 32767 3 0x90 nanoslp syz-executor.6 10738 382008 48260 0 3 0x82 wait syz-executor.6 6244 380246 36252 32767 2 0x490 syz-executor.7 36252 56244 48260 0 3 0x82 wait syz-executor.7 9059 48653 11786 32767 3 0x90 nanoslp syz-executor.1 11786 233809 48260 0 3 0x82 wait syz-executor.1 13398 247996 45710 32767 3 0x90 nanoslp syz-executor.2 45710 211530 48260 0 3 0x82 wait syz-executor.2 32653 504528 0 0 3 0x14200 bored sosplice 8303 261508 7683 32767 2 0x10 syz-executor.5 7683 480911 48260 0 3 0x82 wait syz-executor.5 47968 249148 37222 32767 3 0x10 biowait syz-executor.4 89421 296919 45092 32767 3 0x90 nanoslp syz-executor.3 37222 230261 48260 0 3 0x82 wait syz-executor.4 45092 125700 48260 0 3 0x82 wait syz-executor.3 59429 20578 49573 32767 3 0x90 nanoslp syz-executor.0 49573 109099 48260 0 3 0x82 wait syz-executor.0 48260 29037 52339 0 3 0x82 wait syz-fuzzer 48260 219936 52339 0 3 0x4000082 nanoslp syz-fuzzer 48260 230265 52339 0 3 0x4000082 wait syz-fuzzer 48260 188279 52339 0 3 0x4000082 wait syz-fuzzer 48260 162824 52339 0 3 0x4000082 thrsleep syz-fuzzer 48260 102192 52339 0 3 0x4000082 wait syz-fuzzer 48260 204018 52339 0 3 0x4000082 wait syz-fuzzer 48260 340234 52339 0 3 0x4000082 wait syz-fuzzer 48260 87756 52339 0 3 0x4000082 thrsleep syz-fuzzer 48260 65680 52339 0 3 0x4000082 wait syz-fuzzer 48260 332586 52339 0 3 0x4000082 thrsleep syz-fuzzer 48260 64255 52339 0 3 0x4000082 thrsleep syz-fuzzer 48260 512523 52339 0 3 0x4000082 thrsleep syz-fuzzer 48260 15773 52339 0 3 0x4000082 kqread syz-fuzzer 48260 370880 52339 0 3 0x4000082 thrsleep syz-fuzzer 48260 333900 52339 0 3 0x4000082 wait syz-fuzzer 52339 8854 56684 0 3 0x10008a sigsusp ksh 56684 336799 78401 0 3 0x9a kqread sshd 65976 492635 1 0 3 0x100083 ttyin getty 78401 138414 1 0 3 0x88 kqread sshd 99594 304881 4358 73 3 0x1100090 kqread syslogd 4358 145343 1 0 3 0x100082 netio syslogd 57031 249141 1 0 3 0x100080 kqread resolvd 42092 417216 51173 77 3 0x100092 kqread dhcpleased 79577 470502 51173 77 3 0x100092 kqread dhcpleased 51173 110806 1 0 3 0x80 kqread dhcpleased 91363 253030 0 0 3 0x14200 bored smr 36142 327114 0 0 2 0x14200 zerothread 64473 115181 0 0 3 0x14200 aiodoned aiodoned 24339 418682 0 0 3 0x14200 syncer update 3793 383726 0 0 3 0x14200 cleaner cleaner 28453 355504 0 0 3 0x14200 reaper reaper 39797 47710 0 0 3 0x14200 pgdaemon pagedaemon 14053 145904 0 0 3 0x14200 bored viomb 80326 520533 0 0 3 0x40014200 acpi0 acpi0 96122 124194 0 0 3 0x40014200 idle1 47089 422008 0 0 3 0x14200 bored softnet 63355 486818 0 0 3 0x14200 bored softnet 12888 22492 0 0 3 0x14200 bored softnet 4926 351802 0 0 3 0x14200 bored softnet 40735 94807 0 0 3 0x14200 bored systqmp 21266 350373 0 0 3 0x14200 bored systq 96119 400114 0 0 2 0x40014200 softclock 42051 507527 0 0 3 0x40014200 idle0 1 502619 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 98665 (syz-executor.2) thread 0xffff8000212f3348 (128206) 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 (0xfffffd8065e895f8) #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 (0xfffffd807d4b25e8) #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 8303 (syz-executor.5) thread 0xffff8000212438a8 (261508) exclusive rrwlock inode r = 0 (0xfffffd806ea185e8) #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 vn_closefile+0xc6 vn_close sys/kern/vfs_vnops.c:292 [inline] #5 vn_closefile+0xc6 sys/kern/vfs_vnops.c:609 #6 fdrop+0xc7 sys/kern/kern_descrip.c:1274 #7 closef+0x11c sys/kern/kern_descrip.c:1258 #8 syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline] #8 syscall+0x606 sys/arch/amd64/amd64/trap.c:625 #9 Xsyscall+0x128 Process 47968 (syz-executor.4) thread 0xffff800021243080 (249148) exclusive rrwlock inode r = 0 (0xfffffd807d4b21a8) #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 (0xfffffd806bbc7f80) #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 10228 6413K 6421K 78643K 11347 0 pcb 13 12K 14K 78643K 17 0 rtable 254 7K 7K 78643K 1251 0 ifaddr 73 24K 24K 78643K 131 0 sysctl 3 1K 3K 78643K 6 0 counters 60 35K 35K 78643K 78 0 ioctlops 0 0K 2K 78643K 233 0 iov 2 24K 32K 78643K 2013 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1272 80K 80K 78643K 3810 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 162 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 2612 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 23 85K 117K 78643K 9656 0 sigio 0 0K 0K 78643K 179 0 proc 61 91K 115K 78643K 1225 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 979 0 in_multi 99 6K 7K 78643K 459 0 ether_multi 1 0K 0K 78643K 34 0 mrt 2 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 241 1076K 1076K 78643K 241 0 exec 0 0K 1K 78643K 2208 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 378 91K 982K 78643K 69992 0 UVM aobj 131 4K 5K 78643K 137 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 251 0 NDP 11 0K 2K 78643K 54 0 temp 124 5778K 5906K 78643K 26247 0 kqueue 12 18K 26K 78643K 962 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 1027 0 1024 14 12 2 3 0 8 1 rtentry 112 236 0 116 4 0 4 4 0 8 0 unpcb 144 17421 0 17406 111 110 1 10 0 8 0 syncache 296 123 0 123 22 22 0 1 0 8 0 tcpqe 32 574 0 574 13 13 0 2 0 8 0 tcpcb 776 5967 0 5962 159 151 8 18 0 8 7 arp 120 41 0 21 1 0 1 1 0 8 0 ipq 40 115 0 115 6 6 0 1 0 8 0 ipqe 40 317 0 317 6 6 0 1 0 8 0 inpcb 368 20239 0 20229 186 176 10 22 0 8 8 nd6 48 72 0 40 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 939 0 457 32 1 31 31 0 8 0 art_table 32 940 0 457 4 0 4 4 0 8 0 art_node 16 235 0 125 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 9 1 0 1 1 0 8 0 semapl 112 2610 0 2600 1 0 1 1 0 8 0 shmpl 112 134 0 6 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 15272 0 13829 91 0 91 91 0 8 0 ffsino 272 15272 0 13829 97 0 97 97 0 8 0 nchpl 144 28516 0 26880 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 102205 0 102203 3 2 1 2 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 87857 0 87856 51 50 1 8 0 8 0 plimitpl 152 2497 0 2473 19 18 1 2 0 8 0 sigapl 424 9923 0 9870 7 0 7 7 0 8 0 futexpl 64 101408 0 101405 1 0 1 1 0 8 0 knotepl 120 560 0 0 12 2 10 12 0 8 0 kqueuepl 216 3639 0 3629 51 50 1 8 0 8 0 pipepl 320 2921 0 2893 68 65 3 11 0 8 0 fdescpl 496 9905 0 9871 7 2 5 6 0 8 0 filepl 152 92547 0 92305 133 118 15 24 0 8 5 lockfpl 104 1732 0 1730 2 1 1 2 0 8 0 lockfspl 48 628 0 626 1 0 1 1 0 8 0 sessionpl 144 32 0 16 1 0 1 1 0 8 0 pgrppl 48 431 0 415 1 0 1 1 0 8 0 ucredpl 104 16302 0 16284 1 0 1 1 0 8 0 zombiepl 144 9871 0 9870 1 0 1 1 0 8 0 processpl 1072 9923 0 9870 4 0 4 4 0 8 0 procpl 696 28779 0 28701 30 22 8 9 0 8 0 sosppl 168 180 0 180 15 14 1 1 0 8 1 sockpl 488 39239 0 39213 763 750 13 49 0 8 9 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 26 0 0 3 1 2 3 0 8 0 mcl12k 12288 34 0 0 3 0 3 3 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 33 0 0 4 0 4 4 0 8 0 mcl4k 4096 33 0 0 3 0 3 3 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 404 0 0 39 7 32 39 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 1794 0 0 107 0 107 107 0 8 0 bufpl 288 23362 0 17038 453 1 452 453 0 8 0 anonpl 24 2110967 0 2096318 252 147 105 126 0 186 0 amapchunkpl 152 667417 0 666646 6652 6619 33 4423 0 158 1 amappl16 200 24508 0 24111 152 130 22 42 0 8 0 amappl15 192 10 0 9 1 0 1 1 0 8 0 amappl14 184 176 0 163 2 1 1 2 0 8 0 amappl13 176 19 0 19 6 6 0 1 0 8 0 amappl12 168 510 0 509 1 0 1 1 0 8 0 amappl11 160 53 0 41 1 0 1 1 0 8 0 amappl10 152 51 0 39 1 0 1 1 0 8 0 amappl9 144 1052 0 1052 5 5 0 1 0 8 0 amappl8 136 469 0 364 4 0 4 4 0 8 0 amappl7 128 220 0 195 2 0 2 2 0 8 0 amappl6 120 303 0 287 2 1 1 2 0 8 0 amappl5 112 299 0 293 1 0 1 1 0 8 0 amappl4 104 757 0 725 3 2 1 3 0 8 0 amappl3 96 30463 0 30402 2 0 2 2 0 8 0 amappl2 88 10846 0 10767 3 1 2 3 0 8 0 amappl1 80 229496 0 228727 28 10 18 26 0 8 0 amappl 88 69003 0 68783 7 1 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 136 0 6 3 0 3 3 0 8 0 uaddrrnd 24 9905 0 9871 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9905 0 9871 1 0 1 1 0 8 0 vmmpekpl 168 87325 0 87264 5 1 4 4 0 8 0 vmmpepl 168 922466 0 919560 234 95 139 148 0 357 3 vmsppl 440 9904 0 9871 5 0 5 5 0 8 0 rwobjpl 56 256000 0 248353 124 13 111 112 0 8 0 pdppl 4096 19817 0 19742 273 192 81 91 0 8 6 pvpl 32 3989644 0 3968832 515 325 190 361 0 265 0 pmappl 248 9904 0 9871 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1301 0 382 27 0 27 27 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 __mp_lock(ffffffff82c2c890) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c2c890) at __mp_lock+0x129 sys/kern/kern_lock.c:147 intr_handler(ffff80002e44c600,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(69) at cnputc+0x4b sys/dev/cons.c:218 db_putchar(69) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x6ac sys/kern/subr_prf.c:724 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(ffff80002e44ca28) at vop_generic_badop+0x1b sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd80669bfa68,fffffd8065ef0dc0) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 end trace frame: 0xffff80002e44cad0, 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 __mp_lock(ffffffff82c2c890) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82c2c890) at __mp_lock+0x129 sys/kern/kern_lock.c:147 intr_handler(ffff80002e44c600,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(69) at cnputc+0x4b sys/dev/cons.c:218 db_putchar(69) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x6ac sys/kern/subr_prf.c:724 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(ffff80002e44ca28) at vop_generic_badop+0x1b sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd80669bfa68,fffffd8065ef0dc0) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8065ef0dc0) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 VOP_BWRITE(fffffd8065ef0dc0) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:640 ufs_mkdir(ffff80002e44ccc0) at ufs_mkdir+0x6b4 sys/ufs/ufs/ufs_vnops.c:1236 VOP_MKDIR(fffffd80693e8560,ffff80002e44ce20,ffff80002e44ce50,ffff80002e44cd50) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388 domkdirat(ffff8000212f3348,ffffff9c,20000180,1d5) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3112 syscall(ffff80002e44cfd0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff80002e44cfd0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:625 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9cac5ad07b0, count: -21 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