panic: vop_generic_bpanic: kernel diagnostic assertion "!_kernel_lock_held()" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_fork.c", line 679 Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 80279 15186 32767 0x10 0x4000000 1 syz-executor.6 87589 27435 32767 0x10 0 0 syz-executor.7 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827a07b5) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281dc3a,ffffffff827e0332,2a7,ffffffff827d87dd) 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 679 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827a07b5) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281dc3a,ffffffff827e0332,2a7,ffffffff827d87dd) 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 0xffff800027176f00 rbx 0xffff800020d59b9f rdx 0 rcx 0xffff800021221b50 rax 0xffff800020d58ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xba72f586d89c39cc r11 0x59740170bcd8c2e8 r12 0xffff800020d599a0 r13 0 r14 0xffffffff82b6b9a0 cpu_info_full_primary+0x29a0 r15 0x1 rip 0xffffffff82537b9c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff800027176ef0 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.6) pid=80279 stat=onproc flags process=10 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff800021235b60,0xffffffff82d22c18 process=0xffff800021210010 user=0xffff800027172000, vmspace=0xfffffd806ba781e8 estcpu=31, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 15186 206643 53851 32767 2 0x10 syz-executor.6 *15186 80279 53851 32767 7 0x4000010 syz-executor.6 99084 388644 24061 32767 2 0x10 syz-executor.0 99084 228316 24061 32767 3 0x4000090 fsleep syz-executor.0 48289 392647 54040 32767 2 0x10 syz-executor.1 48289 191123 54040 32767 3 0x4000090 fsleep syz-executor.1 48289 354584 54040 32767 3 0x4000090 ttyin syz-executor.1 59222 167487 44015 32767 3 0x90 nanoslp syz-executor.4 44015 498007 63899 0 3 0x82 wait syz-executor.4 93151 299347 72390 32767 2 0x10 syz-executor.3 72390 420088 63899 0 3 0x82 wait syz-executor.3 27435 87589 27127 32767 7 0x10 syz-executor.7 27127 447800 63899 0 3 0x82 wait syz-executor.7 24061 511337 41673 32767 3 0x90 nanoslp syz-executor.0 41673 363474 63899 0 3 0x82 wait syz-executor.0 75311 116505 0 0 3 0x14200 bored sosplice 76481 438813 79786 32767 3 0x90 nanoslp syz-executor.2 79786 9708 63899 0 3 0x82 wait syz-executor.2 53851 300415 53703 32767 3 0x90 nanoslp syz-executor.6 53703 441482 63899 0 3 0x82 wait syz-executor.6 54040 436320 61168 32767 3 0x90 nanoslp syz-executor.1 61168 422783 63899 0 3 0x82 wait syz-executor.1 63899 345045 35353 0 3 0x2000082 thrsleep syz-fuzzer 63899 356541 35353 0 3 0x6000082 nanoslp syz-fuzzer 63899 499373 35353 0 3 0x6000082 wait syz-fuzzer 63899 284355 35353 0 3 0x6000082 wait syz-fuzzer 63899 120709 35353 0 3 0x6000082 wait syz-fuzzer 63899 412314 35353 0 3 0x6000082 thrsleep syz-fuzzer 63899 167938 35353 0 2 0x6000002 syz-fuzzer 63899 8457 35353 0 3 0x6000082 thrsleep syz-fuzzer 63899 54814 35353 0 3 0x6000082 wait syz-fuzzer 63899 473273 35353 0 3 0x6000082 thrsleep syz-fuzzer 63899 253022 35353 0 2 0x6000002 syz-fuzzer 63899 271727 35353 0 3 0x6000082 thrsleep syz-fuzzer 63899 380637 35353 0 3 0x6000082 wait syz-fuzzer 63899 349279 35353 0 3 0x6000082 thrsleep syz-fuzzer 63899 285986 35353 0 3 0x6000082 wait syz-fuzzer 63899 490609 35353 0 3 0x6000082 wait syz-fuzzer 35353 115328 39653 0 3 0x10008a sigsusp ksh 39653 115299 17589 0 3 0x9a kqread sshd 16715 350149 1 0 3 0x100083 ttyin getty 17589 440136 1 0 3 0x88 kqread sshd 55505 426449 9006 73 3 0x1100090 kqread syslogd 9006 133493 1 0 3 0x100082 netio syslogd 74910 298146 1 0 3 0x100080 kqread resolvd 96867 103661 801 77 3 0x100092 kqread dhcpleased 43172 488743 801 77 3 0x100092 kqread dhcpleased 801 400202 1 0 3 0x80 kqread dhcpleased 47921 402658 0 0 3 0x14200 bored smr 33781 121677 0 0 2 0x14200 zerothread 57146 154647 0 0 3 0x14200 aiodoned aiodoned 65261 73018 0 0 3 0x14200 syncer update 95181 328454 0 0 3 0x14200 cleaner cleaner 72498 29877 0 0 3 0x14200 reaper reaper 72876 300439 0 0 3 0x14200 pgdaemon pagedaemon 83061 420364 0 0 3 0x14200 bored viomb 98812 512890 0 0 3 0x40014200 acpi0 acpi0 22316 265990 0 0 3 0x40014200 idle1 26375 339857 0 0 3 0x14200 bored softnet3 53750 416514 0 0 3 0x14200 bored softnet2 77180 252514 0 0 3 0x14200 bored softnet1 37600 306930 0 0 3 0x14200 bored softnet0 47932 341599 0 0 3 0x14200 bored systqmp 84542 347209 0 0 3 0x14200 bored systq 34544 353132 0 0 3 0x40014200 bored softclock 71714 131186 0 0 3 0x40014200 idle0 1 417855 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 93151 (syz-executor.3) thread 0xffff80002127e038 (299347) exclusive rrwlock inode r = 0 (0xfffffd806bbe0708) #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 vn_closefile+0xca vn_close sys/kern/vfs_vnops.c:292 [inline] #5 vn_closefile+0xca sys/kern/vfs_vnops.c:609 #6 fdrop+0xcb sys/kern/kern_descrip.c:1274 #7 closef+0x120 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:623 #9 Xsyscall+0x128 Process 27435 (syz-executor.7) thread 0xffff80002127f340 (87589) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82d318d8) #0 witness_lock+0x447 #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x4e3 sys/kern/sched_bsd.c:431 #3 sleep_finish+0x198 sys/kern/kern_synch.c:414 #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 (0xfffffd806955c4d8) #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 (0xfffffd806bbe0d68) #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 10189 6406K 6419K 78643K 11315 0 pcb 13 12K 14K 78643K 17 0 rtable 220 6K 7K 78643K 982 0 pf 27 8K 8K 78643K 59 0 ifaddr 40 14K 15K 78643K 108 0 ifgroup 46 2K 2K 78643K 110 0 sysctl 2 0K 0K 78643K 2 0 counters 58 35K 35K 78643K 90 0 ioctlops 0 0K 2K 78643K 211 0 iov 1 12K 24K 78643K 854 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1279 80K 80K 78643K 3571 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 165 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 1223 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 19 69K 125K 78643K 10377 0 sigio 0 0K 0K 78643K 33 0 proc 56 78K 127K 78643K 1400 0 subproc 91 5K 6K 78643K 299 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1879 0 in_multi 88 6K 7K 78643K 532 0 ether_multi 1 0K 0K 78643K 15 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 109 493K 493K 78643K 109 0 exec 0 0K 1K 78643K 2287 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 426 89K 104K 78643K 103484 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 326 0 NDP 10 0K 2K 78643K 72 0 temp 70 5875K 6004K 78643K 28341 0 kqueue 12 18K 26K 78643K 939 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 340 0 337 4 3 1 3 0 8 0 rtentry 112 300 0 197 4 0 4 4 0 8 0 unpcb 144 7266 0 7253 73 72 1 8 0 8 0 syncache 296 167 0 167 20 20 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 289 0 289 23 23 0 1 0 8 0 tcpcb 808 4173 0 4159 106 104 2 15 0 8 0 arp 120 50 0 34 1 0 1 1 0 8 0 ipq 40 11 0 11 5 5 0 1 0 8 0 ipqe 40 161 0 161 5 5 0 1 0 8 0 inpcb 368 8365 0 8348 129 124 5 14 0 8 3 nd6 136 91 0 66 3 1 2 2 0 8 0 kcovpl 48 23 0 16 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1191 0 772 32 2 30 31 0 8 0 art_table 32 1192 0 772 4 0 4 4 0 8 0 art_node 16 299 0 205 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 1 0 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 1218 0 1208 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 17046 0 15586 92 0 92 92 0 8 0 ffsino 272 17046 0 15586 98 0 98 98 0 8 0 nchpl 144 32462 0 30826 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 106756 0 106755 5 4 1 2 0 8 0 percpumem 16 58 0 16 1 0 1 1 0 8 0 kstatmem 264 52 0 32 2 0 2 2 0 8 0 scxspl 216 100902 0 100902 41 38 3 8 1 8 3 plimitpl 152 1733 0 1711 16 14 2 2 0 8 1 sigapl 424 10642 0 10592 7 0 7 7 0 8 0 futexpl 64 85514 0 85512 3 2 1 1 0 8 0 knotepl 120 682 0 0 18 0 18 18 0 8 0 kqueuepl 216 2246 0 2238 38 37 1 5 0 8 0 pipepl 320 1660 0 1635 47 44 3 8 0 8 0 fdescpl 496 10624 0 10594 7 2 5 6 0 8 0 filepl 152 71914 0 71697 91 79 12 18 0 8 0 lockfpl 104 1508 0 1506 3 2 1 2 0 8 0 lockfspl 48 405 0 403 1 0 1 1 0 8 0 sessionpl 144 38 0 23 1 0 1 1 0 8 0 pgrppl 48 1065 0 1050 1 0 1 1 0 8 0 ucredpl 104 10890 0 10873 1 0 1 1 0 8 0 zombiepl 144 10594 0 10592 1 0 1 1 0 8 0 processpl 1072 10642 0 10592 5 1 4 5 0 8 0 procpl 696 28885 0 28816 20 12 8 9 0 8 0 sosppl 168 184 0 178 8 7 1 1 0 8 0 sockpl 488 16167 0 16134 354 345 9 29 0 8 4 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 29 0 0 3 0 3 3 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 20 0 0 2 0 2 2 0 8 0 mcl8k 8192 38 0 0 3 0 3 3 0 8 0 mcl4k 4096 45 0 0 3 0 3 3 0 8 0 mcl2k2 2112 12 0 0 1 0 1 1 0 8 0 mcl2k 2048 362 0 0 35 15 20 35 0 8 0 mtagpl 96 6 0 0 1 0 1 1 0 8 0 mbufpl 256 1406 0 0 79 2 77 78 0 8 0 bufpl 288 23830 0 17504 453 0 453 453 0 8 0 anonpl 24 1088842 0 1078043 140 50 90 100 0 186 0 amapchunkpl 152 325156 0 324356 113 75 38 50 0 158 1 amappl16 200 22781 0 22475 120 102 18 29 0 8 1 amappl15 192 16 0 15 1 0 1 1 0 8 0 amappl14 184 227 0 211 2 1 1 2 0 8 0 amappl13 176 13 0 13 3 3 0 1 0 8 0 amappl12 168 11481 0 11450 2 0 2 2 0 8 0 amappl11 160 54 0 44 1 0 1 1 0 8 0 amappl10 152 44 0 34 1 0 1 1 0 8 0 amappl9 144 273 0 272 1 0 1 1 0 8 0 amappl8 136 708 0 543 7 1 6 6 0 8 0 amappl7 128 107 0 91 2 0 2 2 0 8 0 amappl6 120 466 0 441 1 0 1 1 0 8 0 amappl5 112 457 0 449 1 0 1 1 0 8 0 amappl4 104 972 0 926 2 0 2 2 0 8 0 amappl3 96 64379 0 64299 12 9 3 4 0 8 0 amappl2 88 11445 0 11367 3 1 2 3 0 8 0 amappl1 80 45955 0 45440 22 9 13 22 0 8 0 amappl 88 102445 0 102211 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 10625 0 10595 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 10625 0 10595 1 0 1 1 0 8 0 vmmpekpl 168 82517 0 82450 4 0 4 4 0 8 0 vmmpepl 168 633106 0 630819 217 102 115 123 0 357 3 vmsppl 464 10624 0 10595 7 1 6 6 0 8 0 rwobjpl 56 161346 0 153901 116 9 107 109 0 8 0 pdppl 4096 21258 0 21190 410 328 82 96 0 8 14 pvpl 32 3250871 0 3234010 392 222 170 335 0 265 0 pmappl 248 10624 0 10595 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1458 0 581 27 0 27 27 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82b6aff0) 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(ffffffff82d316d0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d316d0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff800021290a40,ffff80000067b200) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff82d316d0) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d316d0) at __mp_lock+0x129 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x52 sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 cnputc(62) at cnputc+0x4f sys/dev/cons.c:218 db_putchar(62) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x20fc sys/kern/subr_prf.c:1064 db_printf(ffffffff82822e6f) at db_printf+0x89 sys/kern/subr_prf.c:498 panic(ffffffff82792684) at panic+0xdb sys/kern/subr_prf.c:216 end trace frame: 0xffff800021290f00, count: 0 ddb{0}> trace x86_ipi_db(ffffffff82b6aff0) 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(ffffffff82d316d0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d316d0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 intr_handler(ffff800021290a40,ffff80000067b200) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff82d316d0) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d316d0) at __mp_lock+0x129 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x52 sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 cnputc(62) at cnputc+0x4f sys/dev/cons.c:218 db_putchar(62) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x20fc sys/kern/subr_prf.c:1064 db_printf(ffffffff82822e6f) at db_printf+0x89 sys/kern/subr_prf.c:498 panic(ffffffff82792684) at panic+0xdb sys/kern/subr_prf.c:216 vop_generic_badop(ffff800021290f18) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd80704cf7f8,fffffd8066c60370) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd8066c60370) at bwrite+0x1f1 sys/kern/vfs_bio.c:760 VOP_BWRITE(fffffd8066c60370) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:640 ufs_mkdir(ffff8000212911b0) at ufs_mkdir+0x6c4 sys/ufs/ufs/ufs_vnops.c:1235 VOP_MKDIR(fffffd806261aa20,ffff800021291310,ffff800021291340,ffff800021291240) at VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 domkdirat(ffff80002127f340,ffffff9c,7dd4c2698850,1ff) at domkdirat+0x125 sys/kern/vfs_syscalls.c:3073 syscall(ffff8000212914c0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000212914c0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7dd4c26988c0, count: -23 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(ffffffff827a07b5) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281dc3a,ffffffff827e0332,2a7,ffffffff827d87dd) 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(ffffffff827a07b5) at panic+0x17b sys/kern/subr_prf.c:198 __assert(ffffffff8281dc3a,ffffffff827e0332,2a7,ffffffff827d87dd) at __assert+0x29 sys/kern/subr_prf.c:157 proc_trampoline_mp() at proc_trampoline_mp+0x135 end trace frame: 0x0, count: -4