panic:WA RNvoIp_NgGen: eSPrLic _bNadopO T LOSWEREtaDrti ng sOtN aSYcSk CtAraLceL.. .49 536883200 EXIT 0 a Stopped at savectx+0xae: movl $0,%gs:0x680 TID PID UID PRFLAGS PFLAGS CPU COMMAND * 86605 44931 0 0x8000000 0x4000000 1 syz-executor.3 183995 83155 0 0x8000002 0 0K syz-executor.2 savectx() at savectx+0xae end of kernel end trace frame: 0x95a5313d650, count: 14 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 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x95a5313d650, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff8000373a2120 rbx 0 rdx 0xffff800000f499c0 rcx 0xffff80002c523238 rax 0x3a r8 0xffff8000373a2050 r9 0x1090710 __kernel_phys_base+0x90710 r10 0xc483be74ec3da64e r11 0xddb6ec80b62f94f5 r12 0 r13 0 r14 0xffff80002c523238 r15 0 rip 0xffffffff823063ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff8000373a20a0 ss 0 savectx+0xae: movl $0,%gs:0x680 ddb{1}> show proc PROC (syz-executor.3) tid=86605 pid=44931 tcnt=3 stat=onproc flags process=8000000 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002c522048,0xffffffff82e963b0 process=0xffff80002c50ac88 user=0xffff80003739d000, vmspace=0xfffffd806b129010 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 44931 94234 18252 0 2 0x8000000 syz-executor.3 44931 175184 18252 0 3 0xc000000 vmmaplk syz-executor.3 *44931 86605 18252 0 7 0xc000000 syz-executor.3 81909 277384 94696 0 2 0x8000010 syz-executor.7 81909 416578 94696 0 3 0xc000090 bell syz-executor.7 81909 505349 94696 0 3 0xc000090 kqsel syz-executor.7 30698 223527 41910 0 2 0x8000000 syz-executor.4 30698 511576 41910 0 3 0xc000080 fsleep syz-executor.4 30698 193087 41910 0 3 0xc000080 fsleep syz-executor.4 9544 346096 236 0 2 0x8000000 syz-executor.0 9544 294519 236 0 3 0xc000080 fsleep syz-executor.0 45787 482703 266 0 3 0x8000080 nanoslp syz-executor.6 45787 233202 266 0 3 0xc000080 lockf syz-executor.6 45787 35766 266 0 3 0xc000080 fsleep syz-executor.6 45787 255058 266 0 3 0xc000080 fsleep syz-executor.6 31845 161591 13845 0 2 0x8000010 syz-executor.5 31845 213476 13845 0 2 0xc000010 syz-executor.5 83155 183995 17690 0 7 0x8000002 syz-executor.2 94696 312493 17690 0 3 0x8000082 nanoslp syz-executor.7 42921 25382 17690 0 2 0x8000002 syz-executor.1 13845 508773 17690 0 3 0x8000082 nanoslp syz-executor.5 41910 295244 17690 0 3 0x8000082 nanoslp syz-executor.4 266 302869 17690 0 3 0x8000082 nanoslp syz-executor.6 54099 480798 0 0 3 0x14200 acct acct 236 332767 17690 0 3 0x8000082 nanoslp syz-executor.0 18252 266742 17690 0 2 0x8000482 syz-executor.3 71258 409792 1 0 3 0x18100083 ttyin getty 20066 193311 0 0 3 0x14200 bored sosplice 17690 227080 73885 0 3 0x1a000082 wait syz-fuzzer 17690 101517 73885 0 3 0x1e000082 thrsleep syz-fuzzer 17690 157280 73885 0 3 0x1e000082 thrsleep syz-fuzzer 17690 71883 73885 0 3 0x1e000082 wait syz-fuzzer 17690 208723 73885 0 3 0x1e000082 wait syz-fuzzer 17690 497509 73885 0 3 0x1e000082 thrsleep syz-fuzzer 17690 466542 73885 0 3 0x1e000082 thrsleep syz-fuzzer 17690 432452 73885 0 3 0x1e000082 thrsleep syz-fuzzer 17690 271959 73885 0 3 0x1e000082 thrsleep syz-fuzzer 17690 488264 73885 0 3 0x1e000082 wait syz-fuzzer 17690 461839 73885 0 3 0x1e000082 thrsleep syz-fuzzer 17690 157110 73885 0 3 0x1e000082 wait syz-fuzzer 17690 78617 73885 0 3 0x1e000082 wait syz-fuzzer 17690 19107 73885 0 3 0x1e000082 wait syz-fuzzer 17690 183417 73885 0 3 0x1e000082 wait syz-fuzzer 17690 58556 73885 0 2 0x1e000082 syz-fuzzer 73885 293204 16986 0 3 0x810008a sigsusp ksh 16986 418435 99256 0 3 0x1800009a kqread sshd 99256 118177 1 0 3 0x18000088 kqread sshd 44009 360431 55339 73 3 0x19100090 kqread syslogd 55339 479085 1 0 3 0x18100082 sbwait syslogd 35008 400182 1 0 3 0x18100080 kqread resolvd 59994 343103 39897 77 3 0x18100092 kqread dhcpleased 24107 17478 39897 77 3 0x18100092 kqread dhcpleased 39897 158343 1 0 3 0x18000080 kqread dhcpleased 13480 480715 0 0 3 0x14200 bored smr 75410 394770 0 0 2 0x14200 zerothread 27056 73619 0 0 3 0x14200 aiodoned aiodoned 30498 50345 0 0 3 0x14200 syncer update 88427 146335 0 0 3 0x14200 cleaner cleaner 14971 495560 0 0 3 0x14200 reaper reaper 90610 359145 0 0 3 0x14200 pgdaemon pagedaemon 88875 359641 0 0 3 0x14200 bored viomb 65358 207113 0 0 3 0x40014200 acpi0 acpi0 12959 521027 0 0 3 0x40014200 idle1 65060 130212 0 0 3 0x14200 bored softnet3 4822 213692 0 0 3 0x14200 bored softnet2 16714 200131 0 0 3 0x14200 bored softnet1 96444 36132 0 0 3 0x14200 bored softnet0 76706 291574 0 0 3 0x14200 bored systqmp 38484 63676 0 0 3 0x14200 bored systq 72763 359369 0 0 3 0x14200 tmoslp softclockmp 7871 421110 0 0 3 0x40014200 tmoslp softclock 41987 334751 0 0 3 0x40014200 idle0 1 284035 0 0 3 0x8080082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd80757cd118) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1187 #1 mtx_enter_try+0x103 #2 mtx_enter+0x4e sys/kern/kern_lock.c:266 #3 pmap_do_remove+0x99 rcr3 machine/cpufunc.h:141 [inline] #3 pmap_do_remove+0x99 pmap_map_ptes sys/arch/amd64/amd64/pmap.c:425 [inline] #3 pmap_do_remove+0x99 sys/arch/amd64/amd64/pmap.c:1800 #4 uvm_unmap_kill_entry_withlock+0x1b1 sys/uvm/uvm_map.c:1897 #5 uvm_unmap_remove+0x4c7 sys/uvm/uvm_map.c:2036 #6 uvm_mapanon+0x4a9 sys/uvm/uvm_map.c:805 #7 uvm_mmapanon+0x17f sys/uvm/uvm_mmap.c:1020 #8 sys_mmap+0x7b2 sys/uvm/uvm_mmap.c:421 #9 syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] #9 syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 #10 Xsyscall+0x128 Process 44931 (syz-executor.3) thread 0xffff80002c523238 (86605) Process 83155 (syz-executor.2) thread 0xffff80002a20b740 (183995) Process 42921 (syz-executor.1) thread 0xffff80002a20bc60 (25382) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10224 6448K 6695K 166960K 13165 0 pcb 17 14K 15K 166960K 983 0 rtable 161 13K 16K 166960K 2579 0 pf 35 10K 10K 166960K 282 0 ifaddr 35 13K 16K 166960K 342 0 ifgroup 62 2K 3K 166960K 484 0 sysctl 4 1K 5K 166960K 17 0 counters 68 36K 37K 166960K 294 0 ioctlops 0 0K 4K 166960K 1811 0 iov 0 0K 26K 166960K 492 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1438 90K 91K 166960K 4562 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 159 0 VM map 2 1K 1K 166960K 2 0 sem 17 1K 1K 166960K 76 0 dirhash 12 2K 2K 166960K 162 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 89K 166960K 5971 0 sigio 0 0K 0K 166960K 124 0 proc 61 79K 152K 166960K 2465 0 subproc 104 6K 7K 166960K 877 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1061 0 in_multi 53 4K 7K 166960K 916 0 ether_multi 1 0K 0K 166960K 31 0 mrt 0 0K 0K 166960K 20 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 265 1182K 1182K 166960K 265 0 exec 0 0K 1K 166960K 1799 0 pfkey data 0 0K 0K 166960K 11 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 312 138K 152K 166960K 52516 0 UVM aobj 131 6K 6K 166960K 140 0 pinsyscall 36 72K 100K 166960K 8634 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 442 0 NDP 13 0K 2K 166960K 254 0 temp 77 6816K 7312K 166960K 183093 0 kqueue 12 18K 28K 166960K 971 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 818 0 813 3 2 1 2 0 8 0 rtentry 112 868 0 801 4 1 3 4 0 8 0 unpcb 144 4960 0 4945 20 19 1 4 0 8 0 syncache 336 17 0 17 11 11 0 1 0 8 0 sackhl 24 1 3 1 1 1 0 1 0 8 0 tcpqe 32 25 0 25 1 1 0 1 0 8 0 tcpcb 808 1999 0 1993 44 42 2 8 0 8 1 arp 120 148 0 136 1 0 1 1 0 8 0 inpcb 384 7035 0 7025 91 89 2 15 0 8 0 nd6 136 229 0 219 2 1 1 2 0 8 0 pkpcb 40 41 0 41 22 22 0 1 0 8 0 kcovpl 48 67 0 59 1 0 1 1 0 8 0 ppxss 1168 25 0 25 16 15 1 1 0 8 1 pffrag 232 42 0 39 2 1 1 1 0 482 0 pffrnode 88 35 0 32 2 1 1 1 0 8 0 pffrent 40 99 0 96 3 2 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 406 0 365 1 0 1 1 0 8 0 pfstkey 128 406 0 365 3 1 2 2 0 8 0 pfstate 376 406 0 365 10 5 5 5 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 6 0 4 5 3 2 3 0 8 0 art_heap4 256 3130 0 2858 49 28 21 30 0 8 0 art_table 32 3136 0 2862 4 1 3 4 0 8 0 art_node 16 829 0 768 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 69 0 54 1 0 1 1 0 8 0 shmpl 112 137 0 9 4 0 4 4 0 8 0 dirhash 1024 117 0 100 3 0 3 3 0 8 0 dino2pl 256 11264 0 9707 98 0 98 98 0 8 0 ffsino 272 11264 0 9707 105 0 105 105 0 8 0 nchpl 144 20272 0 19605 67 40 27 67 0 8 0 uvmvnodes 80 10211 0 0 209 0 209 209 0 8 0 vnodes 216 10211 0 0 568 0 568 568 0 8 0 namei 1024 73018 0 73017 19 18 1 2 0 8 0 percpumem 16 161 0 113 1 0 1 1 0 8 0 vcpupl 3904 28 0 6 3 0 3 3 0 8 0 vmpool 696 41 0 19 4 1 3 3 0 8 1 kstatmem 264 252 0 226 4 1 3 3 0 8 0 scsiplug 72 13 0 13 12 12 0 1 0 8 0 scxspl 216 150528 0 150528 40 38 2 8 1 8 2 plimitpl 152 1279 0 1263 1 0 1 1 0 8 0 sigapl 424 6187 0 6140 9 2 7 9 0 8 0 futexpl 64 92258 0 92253 18 17 1 1 0 8 0 knotepl 120 1066 0 0 19 0 19 19 0 8 0 kqueuepl 216 1997 0 1986 10 9 1 5 0 8 0 pipepl 320 1106 0 1077 6 3 3 6 0 8 0 fdescpl 496 6143 0 6116 7 3 4 5 0 8 0 filepl 152 43719 0 43466 32 21 11 17 0 8 0 lockfpl 104 1704 0 1700 2 1 1 2 0 8 0 lockfspl 48 699 0 696 1 0 1 1 0 8 0 sessionpl 144 83 0 67 1 0 1 1 0 8 0 pgrppl 48 254 0 238 1 0 1 1 0 8 0 ucredpl 104 8480 0 8467 1 0 1 1 0 8 0 zombiepl 144 6140 0 6140 2 1 1 1 0 8 1 processpl 1136 6187 0 6140 6 1 5 6 0 8 0 procpl 656 12669 0 12596 10 2 8 9 0 8 0 srpgc 96 44 0 44 16 15 1 1 0 8 1 sosppl 168 123 0 123 29 28 1 1 0 8 1 sockpl 664 12921 0 12891 106 102 4 14 0 8 1 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 736 0 0 41 8 33 41 0 8 0 mtagpl 96 9 0 0 1 0 1 1 0 8 0 mbufpl 256 1983 0 0 119 0 119 119 0 8 0 bufpl 280 20961 0 10749 731 1 730 730 0 8 0 anonpl 24 905799 0 895255 275 206 69 97 0 186 0 amapchunkpl 152 176544 0 175814 175 142 33 51 0 158 1 amappl16 200 18529 0 18141 123 102 21 28 0 8 0 amappl15 192 18 0 18 2 2 0 1 0 8 0 amappl14 184 340 0 330 2 1 1 2 0 8 0 amappl13 176 12 0 12 1 1 0 1 0 8 0 amappl12 168 7753 0 7724 3 1 2 2 0 8 0 amappl11 160 56 0 46 1 0 1 1 0 8 0 amappl10 152 91 0 83 1 0 1 1 0 8 0 amappl9 144 269 0 268 3 2 1 1 0 8 0 amappl8 136 311 0 270 2 0 2 2 0 8 0 amappl7 128 78 0 60 1 0 1 1 0 8 0 amappl6 120 1146 0 1130 2 1 1 2 0 8 0 amappl5 112 404 0 392 1 0 1 1 0 8 0 amappl4 104 1017 0 984 4 2 2 2 0 8 0 amappl3 96 31850 0 31765 3 0 3 3 0 8 0 amappl2 88 6677 0 6608 4 2 2 4 0 8 0 amappl1 80 30985 0 30492 24 12 12 22 0 8 0 amappl 88 51123 0 50913 9 3 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 139 0 9 3 0 3 3 0 8 0 uaddrrnd 24 6184 0 6135 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6184 0 6135 1 0 1 1 0 8 0 vmmpekpl 168 43437 0 43373 4 0 4 4 0 8 0 vmmpepl 168 390278 0 388144 239 140 99 114 0 357 2 vmsppl 440 6183 0 6135 7 1 6 6 0 8 0 rwobjpl 56 100684 0 88982 182 17 165 165 0 8 0 pdppl 4096 12375 0 12292 380 293 87 89 0 8 4 pvpl 32 47176 0 0 382 1 381 381 0 265 0 pmappl 248 6183 0 6135 9 5 4 4 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 897 0 420 14 0 14 14 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82d42ff0) 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 __sanitizer_cov_trace_const_cmp1(2,1) at __sanitizer_cov_trace_const_cmp1+0x35 kd_curproc sys/dev/kcov.c:590 [inline] __sanitizer_cov_trace_const_cmp1(2,1) at __sanitizer_cov_trace_const_cmp1+0x35 sys/dev/kcov.c:223 db_ctf_func_numargs(ffffffff830c8d80) at db_ctf_func_numargs+0xc6 db_ctf_idx2sym sys/ddb/db_ctf.c:126 [inline] db_ctf_func_numargs(ffffffff830c8d80) at db_ctf_func_numargs+0xc6 sys/ddb/db_ctf.c:155 db_stack_trace_print(ffff80002d3435d0,1,100,ffffffff8289fb76,ffffffff8134c260) at db_stack_trace_print+0x2f0 sys/arch/amd64/amd64/db_trace.c:167 db_stack_dump() at db_stack_dump+0x7a sys/ddb/db_output.c:243 panic(ffffffff8288e5f0) at panic+0x16f sys/kern/subr_prf.c:229 vop_generic_badop(ffff80002d3436a8) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd8075c9bda8,fffffd805ced95b0) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd805ced95b0) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 VOP_BWRITE(fffffd805ced95b0) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:640 ufs_mkdir(ffff80002d343920) at ufs_mkdir+0x445 sys/ufs/ufs/ufs_vnops.c:1165 VOP_MKDIR(fffffd8058154e58,ffff80002d343a80,ffff80002d343ab0,ffff80002d3439b0) at VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 end trace frame: 0xffff80002d343b50, count: 0 ddb{0}> trace x86_ipi_db(ffffffff82d42ff0) 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 __sanitizer_cov_trace_const_cmp1(2,1) at __sanitizer_cov_trace_const_cmp1+0x35 kd_curproc sys/dev/kcov.c:590 [inline] __sanitizer_cov_trace_const_cmp1(2,1) at __sanitizer_cov_trace_const_cmp1+0x35 sys/dev/kcov.c:223 db_ctf_func_numargs(ffffffff830c8d80) at db_ctf_func_numargs+0xc6 db_ctf_idx2sym sys/ddb/db_ctf.c:126 [inline] db_ctf_func_numargs(ffffffff830c8d80) at db_ctf_func_numargs+0xc6 sys/ddb/db_ctf.c:155 db_stack_trace_print(ffff80002d3435d0,1,100,ffffffff8289fb76,ffffffff8134c260) at db_stack_trace_print+0x2f0 sys/arch/amd64/amd64/db_trace.c:167 db_stack_dump() at db_stack_dump+0x7a sys/ddb/db_output.c:243 panic(ffffffff8288e5f0) at panic+0x16f sys/kern/subr_prf.c:229 vop_generic_badop(ffff80002d3436a8) at vop_generic_badop+0x1f sys/kern/vfs_default.c:133 VOP_STRATEGY(fffffd8075c9bda8,fffffd805ced95b0) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd805ced95b0) at bwrite+0x1d3 sys/kern/vfs_bio.c:757 VOP_BWRITE(fffffd805ced95b0) at VOP_BWRITE+0x4e sys/kern/vfs_vops.c:640 ufs_mkdir(ffff80002d343920) at ufs_mkdir+0x445 sys/ufs/ufs/ufs_vnops.c:1165 VOP_MKDIR(fffffd8058154e58,ffff80002d343a80,ffff80002d343ab0,ffff80002d3439b0) at VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 domkdirat(ffff80002a20b740,ffffff9c,7409dee0e850,1ff) at domkdirat+0x125 sys/kern/vfs_syscalls.c:3077 syscall(ffff80002d343c30) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002d343c30) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7409dee0e8c0, count: -17 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x680 savectx() at savectx+0xae end of kernel end trace frame: 0x95a5313d650, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x95a5313d650, count: -1