panic: WApRoNoIlN_Gc: aScPheL _NiOteTm L_OmWaEgRiEc_D cOhNe cSkY:S CmAbLuLf p2l 10c3p6u9 9f6r2ee10 lEiXsIt T mo0 dai f iStopped at savectx+0xb1: movl $0,%gs:0x530 TID PID UID PRFLAGS PFLAGS CPU COMMAND *506000 76965 0 0x2 0 0 syz-executor.1 244819 11775 0 0x14000 0x200 1 softnet savectx() at savectx+0xb1 end of kernel end trace frame: 0x7f7ffffea920, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic pool_cache_item_magic_check: mbufpl cpu free list modified: item addr 0xfffffd806828da00+16 0x0!=0xc38d9f59f59a8601 ddb{0}> trace savectx() at savectx+0xb1 end of kernel end trace frame: 0x7f7ffffea920, count: -1 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff800020b97610 rbx 0 rdx 0xffff800020ace780 rcx 0 rax 0x3a r8 0xffffffff8214b4ef kprintf+0x16f r9 0x1 r10 0x25 r11 0xaf30e73c0c60586d r12 0 r13 0 r14 0xffff800020ace780 r15 0 rip 0xffffffff818e93f1 savectx+0xb1 cs 0x8 rflags 0x46 rsp 0xffff800020b97590 ss 0x10 savectx+0xb1: movl $0,%gs:0x530 ddb{0}> show proc PROC (syz-executor.1) pid=506000 stat=onproc flags process=2 proc=0 pri=76, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff800020acf3d8,0xffff800020acf8d8 process=0xffff800020aed548 user=0xffff800020b92000, vmspace=0xfffffd807f007730 estcpu=26, cpticks=1, pctcpu=0.10 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 6701 197907 76965 0 2 0 syz-executor.1 75255 261386 78440 0 3 0x2 biowait syz-executor.0 75581 349589 0 0 3 0x14200 bored sosplice *76965 506000 78440 0 7 0x2 syz-executor.1 78440 247560 57699 0 3 0x82 thrsleep syz-fuzzer 78440 377429 57699 0 3 0x4000082 nanosleep syz-fuzzer 78440 228197 57699 0 3 0x4000082 thrsleep syz-fuzzer 78440 127959 57699 0 3 0x4000082 thrsleep syz-fuzzer 78440 111085 57699 0 3 0x4000082 thrsleep syz-fuzzer 78440 94840 57699 0 3 0x4000082 thrsleep syz-fuzzer 78440 130518 57699 0 3 0x4000082 thrsleep syz-fuzzer 78440 419929 57699 0 3 0x4000082 thrsleep syz-fuzzer 78440 218736 57699 0 3 0x4000082 kqread syz-fuzzer 78440 441981 57699 0 3 0x4000082 nanosleep syz-fuzzer 57699 368816 25650 0 3 0x10008a pause ksh 25650 118150 70520 0 2 0x12 sshd 23847 462137 1 0 3 0x100083 ttyin getty 70520 360163 1 0 3 0x80 select sshd 23833 381710 19443 74 3 0x100092 bpf pflogd 19443 75182 1 0 3 0x80 netio pflogd 12541 143774 81600 73 3 0x100090 kqread syslogd 81600 183620 1 0 3 0x100082 netio syslogd 71563 430601 1 77 3 0x100090 poll dhclient 94938 204691 1 0 3 0x80 poll dhclient 84267 416878 0 0 3 0x14200 pgzero zerothread 53224 455176 0 0 3 0x14200 aiodoned aiodoned 42642 264518 0 0 3 0x14200 syncer update 90640 58836 0 0 3 0x14200 cleaner cleaner 27727 255159 0 0 3 0x14200 reaper reaper 64952 277218 0 0 3 0x14200 pgdaemon pagedaemon 2913 176852 0 0 3 0x14200 bored crynlk 14743 470900 0 0 3 0x14200 bored crypto 45526 387712 0 0 3 0x40014200 acpi0 acpi0 64321 435507 0 0 3 0x40014200 idle1 11775 244819 0 0 7 0x14200 softnet 19520 282544 0 0 3 0x14200 bored systqmp 22733 314612 0 0 3 0x14200 bored systq 87115 149520 0 0 3 0x40014200 bored softclock 63993 450130 0 0 3 0x40014200 idle0 36698 35193 0 0 3 0x14200 bored smr 1 447755 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff82628ee8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 uvm_pmr_getpages+0xd2c sys/uvm/uvm_pmemrange.c:1051 #4 uvm_pglistalloc+0x362 sys/uvm/uvm_page.c:790 #5 uvm_km_kmemalloc_pla+0x238 sys/uvm/uvm_km.c:366 #6 uvm_uarea_alloc+0x51 sys/uvm/uvm_glue.c:274 #7 fork1+0x295 sys/kern/kern_fork.c:366 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #9 Xsyscall+0x128 Process 75255 (syz-executor.0) thread 0xffff800020acf650 (261386) exclusive rrwlock inode r = 0 (0xfffffd80664dbe70) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:453 #3 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x13e sys/ufs/ffs/ffs_vfsops.c:1352 #5 ffs_inode_alloc+0x1cf sys/ufs/ffs/ffs_alloc.c:392 #6 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1164 #7 VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 #8 domkdirat+0x121 sys/kern/vfs_syscalls.c:2974 #9 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #9 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80664dbd60) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:453 #3 VOP_LOCK+0xf9 sys/kern/vfs_vops.c:615 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:571 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x63c sys/kern/vfs_lookup.c:249 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:2959 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #9 Xsyscall+0x128 Process 76965 (syz-executor.1) thread 0xffff800020ace780 (506000) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82648518) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555 #2 Xsyscall+0x128 exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff82628ee8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 uvm_pmr_getpages+0xd2c sys/uvm/uvm_pmemrange.c:1051 #4 uvm_pglistalloc+0x362 sys/uvm/uvm_page.c:790 #5 uvm_km_kmemalloc_pla+0x238 sys/uvm/uvm_km.c:366 #6 uvm_uarea_alloc+0x51 sys/uvm/uvm_glue.c:274 #7 fork1+0x295 sys/kern/kern_fork.c:366 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #9 Xsyscall+0x128 Process 11775 (softnet) thread 0xffff800020a204f0 (244819) shared rwlock netlock r = 0 (0xffffffff82499b18) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 if_input_process+0x84 sys/net/if.c:942 #2 ifiq_process+0x80 sys/net/ifq.c:607 #3 taskq_thread+0x9c sys/kern/kern_task.c:369 #4 proc_trampoline+0x1c shared rwlock softnet r = 0 (0xffff8000000230e0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 taskq_thread+0x8f sys/kern/kern_task.c:368 #2 proc_trampoline+0x1c ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9532 6484K 7580K 78643K 12370 0 pcb 13 8K 8K 78643K 378 0 rtable 117 13K 13K 78643K 396 0 ifaddr 79 15K 15K 78643K 143 0 counters 39 33K 33K 78643K 39 0 ioctlops 0 0K 4K 78643K 1506 0 iov 0 0K 16K 78643K 159 0 mount 1 1K 1K 78643K 1 0 vnodes 1231 77K 78K 78643K 1709 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 88 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 5 13K 25K 78643K 564 0 sigio 0 0K 0K 78643K 12 0 proc 61 63K 83K 78643K 501 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 25 0 in_multi 58 3K 3K 78643K 100 0 ether_multi 1 0K 0K 78643K 6 0 mrt 0 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 72 318K 318K 78643K 72 0 exec 0 0K 1K 78643K 252 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 124 55K 57K 78643K 2687 0 UVM aobj 22 2K 2K 78643K 22 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 522 0 NDP 13 0K 0K 78643K 30 0 temp 144 3035K 3111K 78643K 26240 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 8 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 75 0 73 1 0 1 1 0 8 0 rtentry 112 69 0 25 2 0 2 2 0 8 0 unpcb 120 449 0 439 3 2 1 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 931 0 931 1 1 0 1 0 8 0 tcpcb 544 387 0 383 1 0 1 1 0 8 0 inpcb 280 1329 0 1322 3 1 2 2 0 8 1 rttmr 72 39 0 38 1 0 1 1 0 8 0 nd6 48 9 0 6 1 0 1 1 0 8 0 ppxss 1128 8 0 8 2 1 1 1 0 8 1 pffrag 232 14 0 14 2 1 1 1 0 482 1 pffrnode 88 14 0 14 2 1 1 1 0 8 1 pffrent 40 290 0 290 2 1 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 52 0 9 1 0 1 1 0 8 0 pfstkey 112 52 0 9 2 0 2 2 0 8 0 pfstate 328 52 0 9 4 0 4 4 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 384 0 154 16 0 16 16 0 8 0 art_table 32 386 0 154 3 0 3 3 0 8 1 art_node 16 68 0 27 1 0 1 1 0 8 0 sysvmsgpl 40 35 0 12 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 86 0 76 1 0 1 1 0 8 0 shmpl 112 20 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2184 0 779 46 0 46 46 0 8 0 ffsino 272 2184 0 779 95 0 95 95 0 8 0 nchpl 144 3194 0 1584 61 0 61 61 0 8 0 uvmvnodes 72 2638 0 0 48 0 48 48 0 8 0 vnodes 208 2638 0 0 139 0 139 139 0 8 0 namei 1024 9425 0 9424 2 1 1 1 0 8 0 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 560 8 0 4 1 0 1 1 0 8 0 scxspl 192 9403 0 9401 9 6 3 6 0 8 2 plimitpl 152 46 0 38 1 0 1 1 0 8 0 sigapl 432 760 0 745 3 1 2 3 0 8 0 futexpl 56 11628 0 11628 1 0 1 1 0 8 1 knotepl 112 93 0 74 1 0 1 1 0 8 0 kqueuepl 104 66 0 64 1 0 1 1 0 8 0 pipepl 160 450 0 431 2 0 2 2 0 8 1 fdescpl 488 761 0 745 3 0 3 3 0 8 0 filepl 152 5639 0 5539 8 2 6 6 0 8 2 lockfpl 104 128 0 127 1 0 1 1 0 8 0 lockfspl 48 47 0 46 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 29 0 18 1 0 1 1 0 8 0 ucredpl 96 502 0 493 1 0 1 1 0 8 0 zombiepl 144 745 0 745 2 1 1 1 0 8 1 processpl 904 777 0 745 4 0 4 4 0 8 0 procpl 632 1847 0 1806 6 1 5 5 0 8 1 srpgc 64 2 0 2 1 1 0 1 0 8 0 sosppl 128 4 0 4 2 1 1 1 0 8 1 sockpl 384 1865 0 1846 9 4 5 6 0 8 3 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 5 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 11 0 0 2 0 2 2 0 8 0 mcl4k 4096 8 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 200 0 0 24 0 24 24 0 8 0 mtagpl 80 23 0 0 1 0 1 1 0 8 0 mbufpl 256 327 0 0 20 0 20 20 0 8 0 bufpl 280 7718 0 1346 456 0 456 456 0 8 0 anonpl 16 85584 0 65686 96 4 92 95 0 125 11 amapchunkpl 152 4204 0 4049 14 1 13 13 0 158 6 amappl16 192 3657 0 2574 66 8 58 65 0 8 3 amappl15 184 60 0 56 1 0 1 1 0 8 0 amappl14 176 37 0 34 1 0 1 1 0 8 0 amappl13 168 57 0 56 2 1 1 1 0 8 0 amappl12 160 301 0 299 1 0 1 1 0 8 0 amappl11 152 58 0 42 1 0 1 1 0 8 0 amappl10 144 195 0 186 1 0 1 1 0 8 0 amappl9 136 622 0 618 1 0 1 1 0 8 0 amappl8 128 145 0 119 1 0 1 1 0 8 0 amappl7 120 280 0 268 1 0 1 1 0 8 0 amappl6 112 59 0 52 1 0 1 1 0 8 0 amappl5 104 429 0 416 1 0 1 1 0 8 0 amappl4 96 1076 0 1045 2 1 1 2 0 8 0 amappl3 88 129 0 121 1 0 1 1 0 8 0 amappl2 80 5138 0 5070 3 1 2 3 0 8 0 amappl1 72 25721 0 25283 27 17 10 21 0 8 0 amappl 80 2119 0 2072 2 0 2 2 0 84 0 dma4096 4096 1 0 1 1 1 0 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 64 21 0 0 1 0 1 1 0 8 0 uaddrrnd 24 769 0 749 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 769 0 749 1 0 1 1 0 8 0 vmmpekpl 168 9065 0 9030 2 0 2 2 0 8 0 vmmpepl 168 100124 0 97879 164 24 140 140 0 357 40 vmsppl 368 768 0 749 2 0 2 2 0 8 0 pdppl 4096 1545 0 1502 7 1 6 6 0 8 0 pvpl 32 262791 0 239772 220 3 217 220 0 265 29 pmappl 232 768 0 749 3 1 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 185 0 5 6 0 6 6 0 8 0