uvm_fault(0xffffffff839d4f90, 0xffff800001842000, 0, 2) -> e kernel: page fault trap, code=2 Stopped at sysctl_sysvipc+0x529: repe movsq (%rsi),%es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND * 86253 52377 0 0 0x4000000 0 syz-executor sysctl_sysvipc(ffff80002a7fd3d8,1,200000000100,ffff80002a7fd408) at sysctl_sysvipc+0x529 sys/kern/kern_sysctl.c:2779 kern_sysctl(ffff80002a7fd3d4,2,200000000100,ffff80002a7fd408,0,37,509f5d19a96f798a) at kern_sysctl+0x139 sys/kern/kern_sysctl.c:736 sys_sysctl(ffff80002a8a2038,ffff80002a7fd530,ffff80002a7fd480) at sys_sysctl+0x3e5 sys/kern/kern_sysctl.c:-1 syscall(ffff80002a7fd530) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7fd530) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75b210332f0, count: 10 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xffffffff839d4f90, 0xffff800001842000, 0, 2) -> e ddb> show kasan No such command ddb> trace sysctl_sysvipc(ffff80002a7fd3d8,1,200000000100,ffff80002a7fd408) at sysctl_sysvipc+0x529 sys/kern/kern_sysctl.c:2779 kern_sysctl(ffff80002a7fd3d4,2,200000000100,ffff80002a7fd408,0,37,509f5d19a96f798a) at kern_sysctl+0x139 sys/kern/kern_sysctl.c:736 sys_sysctl(ffff80002a8a2038,ffff80002a7fd530,ffff80002a7fd480) at sys_sysctl+0x3e5 sys/kern/kern_sysctl.c:-1 syscall(ffff80002a7fd530) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7fd530) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75b210332f0, count: -5 ddb> show registers rdi 0xffff800001842000 rsi 0xfffffc007d713dd8 rbp 0xffff80002a7fd1c0 rbx 0x3 rdx 0xffff800035cd0000 rcx 0x4 rax 0xffffffff81d68785 sysctl_sysvipc+0x515 r8 0x3 r9 0x9 r10 0x4a0fdad2e522a209 r11 0x4bffa6ba48119f6f r12 0xfffffffffffff0e7 r13 0xfffffc007d713d98 r14 0x25 r15 0xffff800001841fc0 rip 0xffffffff81d68799 sysctl_sysvipc+0x529 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a7fd130 ss 0x10 sysctl_sysvipc+0x529: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=86253 pid=52377 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a8a3cc0,0xffffffff83aea1f0 process=0xffff80002a746d08 user=0xffff80002a7f8000, vmspace=0xfffffc007db91b88 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 52377 95370 21055 0 2 0 0 syz-executor *52377 86253 21055 0 7 0 0x4000000 syz-executor 79577 502646 23947 0 3 0 0x80 nanoslp syz-executor 79577 172367 23947 0 3 0 0x4000080 piperd syz-executor 79577 152405 23947 0 3 0 0x4000080 fsleep syz-executor 79577 256806 23947 0 3 0 0x4000080 fsleep syz-executor 45031 192128 8177 0 2 0 0xc80 syz-executor 45031 337305 8177 0 3 0 0x4000080 nanoslp syz-executor 45031 354018 8177 0 3 0 0x4000080 fsleep syz-executor 23947 265528 38945 0 3 0x2 0x80 nanoslp syz-executor 70561 521392 1 0 3 0x100003 0x80 ttyin getty 31299 406842 38945 0 3 0x2 0x80 nanoslp syz-executor 8177 466539 38945 0 3 0x2 0x80 nanoslp syz-executor 21055 350406 38945 0 2 0x2 0xc80 syz-executor 49438 419780 0 0 3 0x14000 0x200 acct acct 49593 160845 38945 0 2 0x2 0 syz-executor 36980 285095 38945 0 3 0x2 0x80 wait syz-executor 14520 443703 38945 0 3 0x2 0x80 wait syz-executor 92401 271762 38945 0 2 0x2 0xc80 syz-executor 38945 508362 88229 0 3 0x2 0x80 kqread syz-executor 88229 407608 14314 0 3 0x100002 0x88 sigsusp ksh 14314 38396 28371 0 3 0x10 0x88 kqread sshd-session 28371 163690 7612 0 3 0x12 0x80 kqread sshd-session 7612 319471 1 0 3 0 0x88 kqread sshd 15624 29764 78357 73 3 0x1100010 0x80 kqread syslogd 78357 365061 1 0 3 0x100002 0x80 sbwait syslogd 60023 77478 1 0 3 0x100000 0x80 kqread resolvd 70038 279373 1509 77 3 0x100012 0x80 kqread dhcpleased 71073 299695 1509 77 3 0x100012 0x80 kqread dhcpleased 1509 383380 1 0 3 0 0x80 kqread dhcpleased 11710 426984 0 0 3 0x14000 0x200 bored smr 38400 454125 0 0 2 0x14000 0x200 zerothread 26480 194554 0 0 3 0x14000 0x200 aiodoned aiodoned 14831 132969 0 0 3 0x14000 0x200 syncer update 94798 223211 0 0 3 0x14000 0x200 cleaner cleaner 84531 496185 0 0 3 0x14000 0x200 reaper reaper 92214 354332 0 0 3 0x14000 0x200 pgdaemon pagedaemon 87042 311792 0 0 3 0x14000 0x200 bored viomb 43671 251157 0 0 3 0x14000 0x40000200 acpi0 acpi0 37944 299701 0 0 3 0x14000 0x200 bored softnet0 32903 503962 0 0 3 0x14000 0x200 smrbar systqmp 59403 316212 0 0 3 0x14000 0x200 bored systq 70005 246778 0 0 2 0x14000 0x40000200 softclock 79753 216854 0 0 3 0x14000 0x40000200 idle0 1 352070 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10010000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11085 12268K 13178K 166960K 14262 0 pcb 17 15K 19K 166960K 385 0 rtable 221 9K 10K 166960K 777 0 pf 38 14K 20K 166960K 247 0 ifaddr 38 6K 8K 166960K 123 0 ifgroup 59 2K 2K 166960K 185 0 sysctl 4 1K 9K 166960K 18 0 counters 37 18K 18K 166960K 99 0 ioctlops 0 0K 4K 166960K 807 0 iov 0 0K 20K 166960K 266 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1419 89K 90K 166960K 2986 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 27 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 232 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 17 61K 93K 166960K 1613 0 sigio 0 0K 0K 166960K 20 0 proc 60 59K 83K 166960K 891 0 subproc 72 4K 4K 166960K 126 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 451 0 in_multi 67 4K 7K 166960K 197 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 30 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 709 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 231 153K 167K 166960K 15693 0 UVM aobj 131 4K 4K 166960K 134 0 pinsyscall 38 76K 92K 166960K 2894 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 66 0 NDP 13 0K 2K 166960K 84 0 temp 58 9115K 9186K 166960K 39559 0 kqueue 13 20K 36K 166960K 317 0 SYN cache 2 16K 24K 166960K 4 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 248 0 245 3 2 1 3 0 8 0 rtentry 136 237 0 152 5 1 4 5 0 8 0 unpcb 144 1286 0 1269 7 5 2 6 0 8 1 syncache 336 14 0 14 1 1 0 1 0 8 0 tcpqe 32 8 0 8 1 1 0 1 0 8 0 tcpcb 736 763 0 751 11 4 7 7 0 8 4 arp 96 51 0 32 1 0 1 1 0 8 0 ipq 40 5 0 3 1 0 1 1 0 8 0 ipqe 40 11 0 9 1 0 1 1 0 8 0 inpcb 328 2033 0 2015 10 3 7 7 0 8 3 ip6q 72 4 0 1 1 0 1 1 0 8 0 ip6af 40 5 0 2 1 0 1 1 0 8 0 nd6 112 52 0 37 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 1 1 0 8 1 kcovpl 48 14 0 6 1 0 1 1 0 8 0 ppxss 1072 46 0 44 1 0 1 1 0 8 0 pppxif 1416 9 0 7 2 1 1 1 0 8 0 pfstscr 40 10 0 4 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 9 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 1 1 1 0 1 0 8 0 pfstitem 24 10 0 2 1 0 1 1 0 8 0 pfstkey 128 13 0 3 1 0 1 1 0 8 0 pfstate 384 7 0 3 1 0 1 1 0 8 0 pfrule 1360 8 0 7 1 0 1 1 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 902 0 561 36 11 25 36 0 8 0 art_table 40 905 0 561 6 0 6 6 0 8 0 art_node 32 237 0 161 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 8 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 72 190 0 180 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 4419 0 2957 92 0 92 92 0 8 0 ffsino 256 4419 0 2957 92 0 92 92 0 8 0 nchpl 144 6671 0 4954 64 0 64 64 0 8 0 rtmask 32 6 0 6 2 1 1 1 0 8 1 vnodes 216 5397 0 0 300 0 300 300 0 8 0 namei 1024 25367 0 25367 3 2 1 2 0 8 1 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 kstatmem 264 109 0 82 2 0 2 2 0 8 0 scsiplug 72 9 0 9 2 1 1 1 0 8 1 scxspl 216 26143 0 26143 8 7 1 8 1 8 1 plimitpl 152 435 0 419 1 0 1 1 0 8 0 sigapl 424 1924 0 1881 8 2 6 8 0 8 0 knotepl 120 74330 0 74283 42 34 8 25 0 8 4 kqueuepl 184 562 0 553 5 2 3 3 0 8 2 pipepl 304 339 0 310 10 2 8 8 0 8 4 fdescpl 448 1890 0 1861 5 1 4 5 0 8 0 filepl 120 13951 0 13719 20 6 14 15 0 8 4 lockfpl 104 743 0 741 3 2 1 3 0 8 0 lockfspl 48 225 0 223 1 0 1 1 0 8 0 sessionpl 144 341 0 332 1 0 1 1 0 8 0 pgrppl 48 364 0 347 1 0 1 1 0 8 0 ucredpl 104 2488 0 2477 1 0 1 1 0 8 0 zombiepl 144 1885 0 1881 1 0 1 1 0 8 0 processpl 1152 1924 0 1881 5 0 5 5 0 8 0 procpl 664 3987 0 3938 8 2 6 8 0 8 0 sosppl 176 15 0 15 2 1 1 1 0 8 1 sockpl 552 3702 0 3664 14 6 8 12 0 8 2 mcl64k 65536 154 0 152 1 0 1 1 0 8 0 mcl16k 16384 6 0 6 2 1 1 1 0 8 1 mcl12k 12288 3 0 3 2 1 1 1 0 8 1 mcl9k128 9344 5 0 5 2 1 1 1 0 8 1 mcl8k 8192 112 0 112 2 1 1 1 0 8 1 mcl4k 4096 4571 0 4520 14 6 8 14 0 8 1 mcl2k 2048 1320 0 1317 5 4 1 5 0 8 0 mextrefs 64 790 0 789 2 1 1 1 0 8 0 mtagpl 96 9 0 9 1 1 0 1 0 8 0 mbufpl 256 22096 0 21977 103 82 21 78 0 8 5 bufpl 272 8192 0 1976 415 0 415 415 0 8 0 anonpl 24 241642 0 238338 74 29 45 74 0 187 5 amapchunkpl 152 53170 0 52467 44 14 30 36 0 158 0 amappl16 200 4565 0 4536 37 24 13 24 0 8 8 amappl15 192 19 0 19 1 1 0 1 0 8 0 amappl14 184 487 0 486 1 0 1 1 0 8 0 amappl13 176 128 0 118 1 0 1 1 0 8 0 amappl12 168 2158 0 2130 2 0 2 2 0 8 0 amappl11 160 10 0 10 1 1 0 1 0 8 0 amappl10 152 61 0 51 1 0 1 1 0 8 0 amappl9 144 342 0 341 1 0 1 1 0 8 0 amappl8 136 120 0 118 1 0 1 1 0 8 0 amappl7 128 161 0 149 1 0 1 1 0 8 0 amappl6 120 212 0 209 1 0 1 1 0 8 0 amappl5 112 93 0 85 1 0 1 1 0 8 0 amappl4 104 293 0 274 1 0 1 1 0 8 0 amappl3 96 9449 0 9349 3 0 3 3 0 8 0 amappl2 88 1999 0 1926 2 0 2 2 0 8 0 amappl1 80 16645 0 16092 13 1 12 13 0 8 0 amappl 88 14642 0 14474 5 0 5 5 0 92 0 uvmvnodes 80 151 0 0 4 0 4 4 0 8 0 dma16384 16384 2 0 2 2 1 1 1 0 8 1 dma8192 8192 1 0 1 1 1 0 1 0 8 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 7 0 7 1 1 0 1 0 8 0 dma128 128 254 0 254 1 1 0 1 0 8 0 dma64 64 7 0 7 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 1890 0 1861 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1890 0 1861 1 0 1 1 0 8 0 vmmpekpl 168 15334 0 15282 3 0 3 3 0 8 0 vmmpepl 168 121679 0 119859 99 10 89 99 0 357 4 vmsppl 368 1889 0 1861 4 1 3 4 0 8 0 rwobjpl 40 32085 0 30928 15 1 14 15 0 8 0 pdppl 4096 3786 0 3722 108 42 66 80 0 8 2 pvpl 32 772848 0 763868 153 38 115 153 0 265 11 pmappl 216 1889 0 1861 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 907 0 160 23 0 23 23 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace sysctl_sysvipc(ffff80002a7fd3d8,1,200000000100,ffff80002a7fd408) at sysctl_sysvipc+0x529 sys/kern/kern_sysctl.c:2779 kern_sysctl(ffff80002a7fd3d4,2,200000000100,ffff80002a7fd408,0,37,509f5d19a96f798a) at kern_sysctl+0x139 sys/kern/kern_sysctl.c:736 sys_sysctl(ffff80002a8a2038,ffff80002a7fd530,ffff80002a7fd480) at sys_sysctl+0x3e5 sys/kern/kern_sysctl.c:-1 syscall(ffff80002a7fd530) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7fd530) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75b210332f0, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace sysctl_sysvipc(ffff80002a7fd3d8,1,200000000100,ffff80002a7fd408) at sysctl_sysvipc+0x529 sys/kern/kern_sysctl.c:2779 kern_sysctl(ffff80002a7fd3d4,2,200000000100,ffff80002a7fd408,0,37,509f5d19a96f798a) at kern_sysctl+0x139 sys/kern/kern_sysctl.c:736 sys_sysctl(ffff80002a8a2038,ffff80002a7fd530,ffff80002a7fd480) at sys_sysctl+0x3e5 sys/kern/kern_sysctl.c:-1 syscall(ffff80002a7fd530) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7fd530) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75b210332f0, count: -5