ppanic: kernel diagnostic assertion "!_kernel_lock_held()" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_map.c", line 2734 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 337265 70808 32767 0x10 0x4000000 0 syz-executor.3 *180869 69318 0 0x14000 0x200 1 reaper db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8259ad2b) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261410c,ffffffff8263f7c5,aae,ffffffff825d0dbc) at __assert+0x25 sys/kern/subr_prf.c:161 uvm_map_teardown(fffffd806c4ae010) at uvm_map_teardown+0x2e8 sys/uvm/uvm_map.c:2736 uvmspace_free(fffffd806c4ae010) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3684 reaper(ffff800021133508) at reaper+0x19a sys/kern/kern_exit.c:454 end trace frame: 0x0, count: 9 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/uvm/uvm_map.c", line 2734 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8259ad2b) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261410c,ffffffff8263f7c5,aae,ffffffff825d0dbc) at __assert+0x25 sys/kern/subr_prf.c:161 uvm_map_teardown(fffffd806c4ae010) at uvm_map_teardown+0x2e8 sys/uvm/uvm_map.c:2736 uvmspace_free(fffffd806c4ae010) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3684 reaper(ffff800021133508) at reaper+0x19a sys/kern/kern_exit.c:454 end trace frame: 0x0, count: -6 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000211395e0 rbx 0xffff800020cd9c5f rdx 0 rcx 0 rax 0xffff800021133508 r8 0x101010101010101 r9 0x8080808080808080 r10 0xad2367eb3b3621b8 r11 0xd72ae39699475849 r12 0xffff800020cd9a60 r13 0 r14 0xffffffff82921a60 cpu_info_full_primary+0x2a60 r15 0x1 rip 0xffffffff8205b5d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000211395d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (reaper) pid=180869 stat=onproc flags process=14000 proc=200 pri=4, usrpri=64, nice=20 forw=0xffffffffffffffff, list=0xffff800021133a48,0xffff800021132fd8 process=0xffff8000fffff1e0 user=0xffff800021134000, vmspace=0xffffffff82b82ac0 estcpu=14, cpticks=9, pctcpu=4.76 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 25800 250688 36286 32767 2 0x10 syz-executor.7 25800 58095 36286 32767 3 0x4000090 fsleep syz-executor.7 70808 352930 93149 32767 2 0x10 syz-executor.3 70808 337265 93149 32767 7 0x4000010 syz-executor.3 2301 336559 34832 32767 2 0x10 syz-executor.0 2301 237705 34832 32767 3 0x4000090 fsleep syz-executor.0 77291 84128 89653 32767 2 0x10 syz-executor.1 77291 404540 89653 32767 3 0x4000090 fsleep syz-executor.1 89653 49103 26765 32767 3 0x90 nanoslp syz-executor.1 26765 232719 13492 0 3 0x82 wait syz-executor.1 91555 214741 29734 32767 3 0x90 nanoslp syz-executor.2 29734 418367 13492 0 3 0x82 wait syz-executor.2 21557 310229 68751 32767 3 0x10 biowait syz-executor.6 68751 274724 13492 0 3 0x82 wait syz-executor.6 93149 139607 50751 32767 3 0x90 nanoslp syz-executor.3 50751 38191 13492 0 3 0x82 wait syz-executor.3 37732 309520 0 0 3 0x14200 bored sosplice 89120 469621 93955 32767 2 0x10 syz-executor.4 36286 239267 66574 32767 3 0x90 nanoslp syz-executor.7 66574 455116 13492 0 3 0x82 wait syz-executor.7 67588 320284 57957 32767 3 0x90 nanoslp syz-executor.5 57957 93588 13492 0 3 0x82 wait syz-executor.5 93955 241860 13492 0 3 0x82 wait syz-executor.4 34832 288302 46172 32767 3 0x90 nanoslp syz-executor.0 46172 270418 13492 0 3 0x82 wait syz-executor.0 13492 454766 86110 0 3 0x82 kqread syz-fuzzer 13492 149310 86110 0 3 0x4000082 nanoslp syz-fuzzer 13492 176251 86110 0 3 0x4000082 nanoslp syz-fuzzer 13492 157967 86110 0 3 0x4000082 thrsleep syz-fuzzer 13492 450352 86110 0 3 0x4000082 thrsleep syz-fuzzer 13492 33620 86110 0 3 0x4000082 thrsleep syz-fuzzer 13492 358452 86110 0 3 0x4000082 thrsleep syz-fuzzer 13492 144899 86110 0 3 0x4000082 thrsleep syz-fuzzer 13492 289818 86110 0 3 0x4000082 thrsleep syz-fuzzer 86110 245573 39716 0 3 0x10008a sigsusp ksh 39716 382231 25915 0 3 0x9a kqread sshd 2462 456374 1 0 3 0x100083 ttyin getty 25915 524285 1 0 3 0x88 kqread sshd 33535 224258 98596 73 3 0x1100090 kqread syslogd 98596 95655 1 0 3 0x100082 netio syslogd 72894 357482 1 0 3 0x100080 kqread resolvd 55941 381275 30786 77 3 0x100092 kqread dhcpleased 25928 114565 30786 77 3 0x100092 kqread dhcpleased 30786 376134 1 0 3 0x80 kqread dhcpleased 40640 98233 0 0 3 0x14200 bored smr 44065 78802 0 0 2 0x14200 zerothread 3149 30424 0 0 3 0x14200 aiodoned aiodoned 30362 183781 0 0 3 0x14200 syncer update 52957 73526 0 0 3 0x14200 cleaner cleaner *69318 180869 0 0 7 0x14200 reaper 3672 487270 0 0 3 0x14200 pgdaemon pagedaemon 88292 148280 0 0 3 0x14200 bored viomb 41805 96914 0 0 3 0x40014200 acpi0 acpi0 58172 60101 0 0 3 0x40014200 idle1 26099 85198 0 0 3 0x14200 bored softnet 55865 250149 0 0 3 0x14200 bored softnet 42977 73992 0 0 3 0x14200 bored softnet 72744 88883 0 0 3 0x14200 bored softnet 67853 70069 0 0 3 0x14200 bored systqmp 58575 298335 0 0 3 0x14200 bored systq 30400 431597 0 0 3 0x40014200 bored softclock 18747 243833 0 0 3 0x40014200 idle0 1 350415 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive sched_lock &sched_lock r = 0 (0xffffffff82b48990) #0 witness_lock+0x44d #1 wakeup_n+0x37 #2 sched_idle+0x232 sys/kern/kern_sched.c:166 #3 proc_trampoline+0x1c Process 70808 (syz-executor.3) thread 0xffff8000299322b0 (337265) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff829e7518) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3d3 sys/kern/sched_bsd.c:416 #3 sleep_finish+0x180 sys/kern/kern_synch.c:420 #4 tsleep+0x12c sys/kern/kern_synch.c:158 #5 biowait+0x91 sys/kern/vfs_bio.c:1271 #6 bwrite+0x21b sys/kern/vfs_bio.c:772 #7 ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 #8 ufs_mkdir+0x662 sys/ufs/ufs/ufs_vnops.c:1232 #9 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 #10 domkdirat+0x121 sys/kern/vfs_syscalls.c:3116 #11 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #11 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #12 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd807d76cf80) #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:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:567 #5 vget+0x1d3 sys/kern/vfs_subr.c:678 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1318 #8 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #9 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #10 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 #11 domkdirat+0x121 sys/kern/vfs_syscalls.c:3116 #12 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #12 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #13 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80694be2c8) #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:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:567 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3101 #8 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 Process 21557 (syz-executor.6) thread 0xffff8000fffec008 (310229) exclusive rrwlock inode r = 0 (0xfffffd8070c90810) #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:534 #4 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1347 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3116 #10 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd805cd5bc48) #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:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:567 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3101 #8 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 Process 89120 (syz-executor.4) thread 0xffff800029933510 (469621) exclusive rrwlock inode r = 0 (0xfffffd80694be928) #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:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:567 #5 vn_closefile+0xc6 vn_close sys/kern/vfs_vnops.c:295 [inline] #5 vn_closefile+0xc6 sys/kern/vfs_vnops.c:612 #6 fdrop+0xc7 sys/kern/kern_descrip.c:1279 #7 closef+0x11c sys/kern/kern_descrip.c:1263 #8 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10202 6411K 6420K 78643K 11323 0 pcb 13 16K 18K 78643K 19 0 rtable 240 6K 7K 78643K 966 0 ifaddr 81 17K 17K 78643K 153 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 35K 78643K 76 0 ioctlops 0 0K 2K 78643K 174 0 iov 0 0K 28K 78643K 1394 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1271 79K 79K 78643K 2903 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 103 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 2159 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 22 81K 117K 78643K 9203 0 sigio 0 0K 0K 78643K 906 0 proc 56 78K 115K 78643K 1477 0 subproc 104 6K 6K 78643K 234 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 923 0 in_multi 99 6K 7K 78643K 356 0 ether_multi 1 0K 0K 78643K 44 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 211 943K 943K 78643K 211 0 exec 0 0K 2K 78643K 2225 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 7 26K 26K 78643K 7 0 UVM amap 304 87K 103K 78643K 57435 0 UVM aobj 131 4K 4K 78643K 137 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 189 0 NDP 11 0K 2K 78643K 57 0 temp 124 4730K 4810K 78643K 25577 0 kqueue 12 18K 26K 78643K 1083 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 858 0 855 13 10 3 3 0 8 2 rtentry 112 232 0 119 4 0 4 4 0 8 0 unpcb 136 8423 0 8410 84 79 5 8 0 8 4 syncache 296 85 0 85 18 17 1 1 0 8 1 tcpqe 32 41 0 41 14 13 1 1 0 8 1 tcpcb 736 12309 0 12298 232 222 10 33 0 8 8 arp 120 41 0 22 1 0 1 1 0 8 0 inpcb 312 15433 0 15419 133 123 10 17 0 8 8 nd6 48 62 0 36 1 0 1 1 0 8 0 kcovpl 48 18 0 10 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 932 0 467 31 1 30 30 0 8 0 art_table 32 933 0 467 4 0 4 4 0 8 0 art_node 16 231 0 128 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 10 1 1 0 1 0 8 0 semapl 112 2157 0 2147 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 13716 0 12262 92 0 92 92 0 8 0 ffsino 272 13716 0 12262 98 0 98 98 0 8 0 nchpl 144 26467 0 24827 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 92910 0 92908 3 2 1 2 0 8 0 percpumem 16 50 0 10 1 0 1 1 0 8 0 kstatmem 264 42 0 20 2 0 2 2 0 8 0 scxspl 216 79905 0 79904 37 34 3 8 0 8 2 plimitpl 152 2163 0 2140 10 9 1 2 0 8 0 sigapl 424 9462 0 9409 7 0 7 7 0 8 0 futexpl 64 85251 0 85248 1 0 1 1 0 8 0 knotepl 120 1133 0 0 24 0 24 24 0 8 0 kqueuepl 216 3916 0 3908 65 62 3 8 0 8 2 pipepl 336 3120 0 3092 60 52 8 11 0 8 5 fdescpl 496 9444 0 9411 7 1 6 6 0 8 0 filepl 152 73350 0 73106 109 94 15 19 0 8 5 lockfpl 104 1298 0 1296 2 1 1 2 0 8 0 lockfspl 48 382 0 380 1 0 1 1 0 8 0 sessionpl 144 33 0 17 1 0 1 1 0 8 0 pgrppl 48 60 0 44 1 0 1 1 0 8 0 ucredpl 96 11161 0 11143 1 0 1 1 0 8 0 zombiepl 144 9411 0 9409 1 0 1 1 0 8 0 processpl 1064 9462 0 9409 4 0 4 4 0 8 0 procpl 672 27822 0 27757 16 9 7 8 0 8 0 sosppl 168 129 0 129 12 12 0 1 0 8 0 sockpl 480 24984 0 24958 510 498 12 34 0 8 8 mcl64k 65536 33 0 0 4 1 3 3 0 8 1 mcl16k 16384 25 0 0 4 1 3 3 0 8 0 mcl12k 12288 24 0 0 2 0 2 2 0 8 0 mcl9k 9216 41 0 0 3 1 2 2 0 8 0 mcl8k 8192 25 0 0 4 1 3 3 0 8 0 mcl4k 4096 33 0 0 4 1 3 3 0 8 0 mcl2k2 2112 12 0 0 1 0 1 1 0 8 0 mcl2k 2048 202 0 0 18 1 17 18 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 644 0 0 26 1 25 26 0 8 0 bufpl 288 18806 0 12476 453 0 453 453 0 8 0 anonpl 24 2008869 0 1995850 215 112 103 111 0 186 0 amapchunkpl 152 188329 0 187740 91 60 31 40 0 158 0 amappl16 200 32586 0 32213 183 162 21 33 0 8 1 amappl15 192 18 0 16 1 0 1 1 0 8 0 amappl14 184 1130 0 1122 1 0 1 1 0 8 0 amappl13 176 482 0 478 1 0 1 1 0 8 0 amappl12 168 1052 0 1046 1 0 1 1 0 8 0 amappl11 160 1533 0 1515 1 0 1 1 0 8 0 amappl10 152 2701 0 2690 1 0 1 1 0 8 0 amappl9 144 746 0 744 1 0 1 1 0 8 0 amappl8 136 3244 0 3122 6 1 5 5 0 8 0 amappl7 128 2468 0 2452 1 0 1 1 0 8 0 amappl6 120 511 0 492 2 1 1 2 0 8 0 amappl5 112 10520 0 10498 1 0 1 1 0 8 0 amappl4 104 3952 0 3919 2 0 2 2 0 8 0 amappl3 96 29707 0 29652 2 0 2 2 0 8 0 amappl2 88 10778 0 10703 3 0 3 3 0 8 0 amappl1 80 229087 0 228385 36 20 16 19 0 8 0 amappl 88 56402 0 56228 6 1 5 5 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 9444 0 9410 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9444 0 9410 1 0 1 1 0 8 0 vmmpekpl 168 80663 0 80597 4 0 4 4 0 8 0 vmmpepl 168 938855 0 936150 247 116 131 140 0 357 1 vmsppl 368 9443 0 9410 4 0 4 4 0 8 0 rwobjpl 56 242658 0 235197 115 6 109 110 0 8 0 pdppl 4096 18895 0 18820 275 194 81 91 0 8 6 pvpl 32 3749563 0 3731135 416 244 172 242 0 265 0 pmappl 248 9443 0 9410 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1448 0 602 25 0 25 25 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82920ff0) 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+0x56 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x56 sys/dev/kcov.c:148 __mp_lock(ffffffff829e7310) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829e7310) at __mp_lock+0x133 sys/kern/kern_lock.c:147 intr_handler(ffff800026905cc0,ffff80000004bd00) 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(70) at cnputc+0x4b sys/dev/cons.c:239 db_putchar(70) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x6ac sys/kern/subr_prf.c:728 db_printf(ffffffff82614688) at db_printf+0x85 sys/kern/subr_prf.c:502 panic(ffffffff825921fc) at panic+0xd7 sys/kern/subr_prf.c:220 vop_generic_badop(ffff8000269060e8) at vop_generic_badop+0x1b sys/kern/vfs_default.c:133 end trace frame: 0xffff800026906130, count: 0 ddb{0}> trace x86_ipi_db(ffffffff82920ff0) 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+0x56 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x56 sys/dev/kcov.c:148 __mp_lock(ffffffff829e7310) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829e7310) at __mp_lock+0x133 sys/kern/kern_lock.c:147 intr_handler(ffff800026905cc0,ffff80000004bd00) 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(70) at cnputc+0x4b sys/dev/cons.c:239 db_putchar(70) at db_putchar+0x3fc sys/ddb/db_output.c:155 kprintf() at kprintf+0x6ac sys/kern/subr_prf.c:728 db_printf(ffffffff82614688) at db_printf+0x85 sys/kern/subr_prf.c:502 panic(ffffffff825921fc) at panic+0xd7 sys/kern/subr_prf.c:220 vop_generic_badop(ffff8000269060e8) at vop_generic_badop+0x1b sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd806eb30958,fffffd8069abe010) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:644 bwrite(fffffd8069abe010) at bwrite+0x1f0 sys/kern/vfs_bio.c:763 VOP_BWRITE(fffffd8069abe010) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:656 ufs_mkdir(ffff800026906380) at ufs_mkdir+0x6b4 sys/ufs/ufs/ufs_vnops.c:1248 VOP_MKDIR(fffffd807d89e008,ffff8000269064e0,ffff800026906510,ffff800026906410) at VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 domkdirat(ffff8000299322b0,3,200000c0,1f0) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3116 syscall(ffff800026906690) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800026906690) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76fe6a55980, 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(ffffffff8259ad2b) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261410c,ffffffff8263f7c5,aae,ffffffff825d0dbc) at __assert+0x25 sys/kern/subr_prf.c:161 uvm_map_teardown(fffffd806c4ae010) at uvm_map_teardown+0x2e8 sys/uvm/uvm_map.c:2736 uvmspace_free(fffffd806c4ae010) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3684 reaper(ffff800021133508) at reaper+0x19a sys/kern/kern_exit.c:454 end trace frame: 0x0, count: 9 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8259ad2b) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261410c,ffffffff8263f7c5,aae,ffffffff825d0dbc) at __assert+0x25 sys/kern/subr_prf.c:161 uvm_map_teardown(fffffd806c4ae010) at uvm_map_teardown+0x2e8 sys/uvm/uvm_map.c:2736 uvmspace_free(fffffd806c4ae010) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3684 reaper(ffff800021133508) at reaper+0x19a sys/kern/kern_exit.c:454 end trace frame: 0x0, count: -6