uvm_fault(0xffffffff82d63498, 0x8, 0, 2) -> e kernel: page fault trap, code=2 Stopped at softclock+0xd7: movq %rcx,0x8(%rax) TID PID UID PRFLAGS PFLAGS CPU COMMAND softclock(0) at softclock+0xd7 sys/kern/kern_timeout.c:751 softintr_dispatch(0) at softintr_dispatch+0xcd sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffffffff82cc1ff0) at sched_idle+0x41d sys/kern/kern_sched.c:183 end trace frame: 0x0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xffffffff82d63498, 0x8, 0, 2) -> e ddb{0}> trace softclock(0) at softclock+0xd7 sys/kern/kern_timeout.c:751 softintr_dispatch(0) at softintr_dispatch+0xcd sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffffffff82cc1ff0) at sched_idle+0x41d sys/kern/kern_sched.c:183 end trace frame: 0x0, count: -5 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a1028b0 rbx 0xffffffff82d7ce60 timeout_todo rdx 0 rcx 0xffffffff82d7ce60 timeout_todo rax 0 r8 0xb7 r9 0xb7 r10 0x2f6052efd996d41f r11 0x8562fe7bc5ad3126 r12 0xffffffff r13 0xffffffff82e8f6b0 logsoftc+0x30 r14 0 r15 0xfffffd8059cd6f00 rip 0xffffffff81809b37 softclock+0xd7 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a102870 ss 0x10 softclock+0xd7: movq %rcx,0x8(%rax) ddb{0}> show proc PROC (idle0) tid=488555 pid=6343 tcnt=1 stat=onproc flags process=14000 proc=40000200 runpri=0, usrpri=50, slppri=0, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xf6f1571cb161d9e, list=0xffff80002a0fcd38,0xffff80002a0fc7f8 process=0xffff8000ffffe7f0 user=0xffff80002a0fd000, vmspace=0xffffffff82d63498 estcpu=0, cpticks=118578, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 450 360500 34769 0 3 0x82 piperd syz-executor.6 41442 93994 34769 0 3 0x82 piperd syz-executor.1 10939 403049 34769 0 3 0x82 piperd syz-executor.2 85373 179648 34769 0 3 0x82 piperd syz-executor.4 50176 137272 34769 0 3 0x82 piperd syz-executor.5 60656 412796 1 0 3 0x18100083 ttyin getty 76925 65497 34769 0 2 0x482 syz-executor.0 93240 414201 34769 0 3 0x82 piperd syz-executor.3 66888 245351 0 0 3 0x14280 nfsidl nfsio 9807 178642 0 0 3 0x14280 nfsidl nfsio 96840 72755 0 0 3 0x14280 nfsidl nfsio 99112 41502 0 0 3 0x14280 nfsidl nfsio 49796 234093 0 0 3 0x14280 nfsidl nfsio 45528 165290 0 0 3 0x14280 nfsidl nfsio 77980 435938 0 0 3 0x14280 nfsidl nfsio 15988 56269 0 0 3 0x14280 nfsidl nfsio 38754 490117 0 0 3 0x14280 nfsidl nfsio 68380 151398 0 0 3 0x14280 nfsidl nfsio 3811 338442 0 0 3 0x14280 nfsidl nfsio 95905 461626 0 0 3 0x14280 nfsidl nfsio 83549 296888 0 0 3 0x14280 nfsidl nfsio 57009 405964 0 0 3 0x14280 nfsidl nfsio 43659 85830 0 0 3 0x14280 nfsidl nfsio 50857 247822 0 0 3 0x14280 nfsidl nfsio 41423 72947 0 0 3 0x14280 nfsidl nfsio 6574 110994 0 0 3 0x14280 nfsidl nfsio 69060 363748 0 0 3 0x14280 nfsidl nfsio 76923 396486 0 0 3 0x14280 nfsidl nfsio 93586 169335 34769 0 3 0x82 piperd syz-executor.7 5135 357570 0 0 3 0x14200 bored sosplice 34769 126931 80448 0 3 0x1a000082 kqread syz-fuzzer 34769 325035 80448 0 3 0x1e000082 thrsleep syz-fuzzer 34769 523643 80448 0 3 0x1e000082 wait syz-fuzzer 34769 24848 80448 0 3 0x1e000082 thrsleep syz-fuzzer 34769 65919 80448 0 3 0x1e000082 thrsleep syz-fuzzer 34769 448075 80448 0 3 0x1e000082 wait syz-fuzzer 34769 329934 80448 0 3 0x1e000082 wait syz-fuzzer 34769 27104 80448 0 3 0x1e000082 thrsleep syz-fuzzer 34769 123692 80448 0 3 0x1e000082 wait syz-fuzzer 34769 426283 80448 0 3 0x1e000082 wait syz-fuzzer 34769 252297 80448 0 3 0x1e000082 thrsleep syz-fuzzer 34769 118622 80448 0 3 0x1e000082 wait syz-fuzzer 34769 237612 80448 0 3 0x1e000082 wait syz-fuzzer 34769 402575 80448 0 3 0x1e000082 thrsleep syz-fuzzer 34769 261052 80448 0 3 0x1e000082 wait syz-fuzzer 34769 426439 80448 0 3 0x1e000082 thrsleep syz-fuzzer 80448 50712 32449 0 3 0x810008a sigsusp ksh 32449 300875 71276 0 3 0x1800009a kqread sshd 71276 432833 1 0 3 0x18000088 kqread sshd 78695 296161 30271 74 3 0x19100092 bpf pflogd 30271 232195 1 0 3 0x18000080 netio pflogd 90828 320706 94943 73 3 0x19100090 kqread syslogd 94943 133457 1 0 3 0x18100082 netio syslogd 53483 27788 1 0 3 0x18100080 kqread resolvd 7072 259760 46402 77 3 0x18100092 kqread dhcpleased 25183 204224 46402 77 3 0x18100092 kqread dhcpleased 46402 106100 1 0 3 0x18000080 kqread dhcpleased 83956 425039 0 0 3 0x14200 bored smr 98018 446112 0 0 3 0x14200 pgzero zerothread 37332 499121 0 0 3 0x14200 aiodoned aiodoned 71173 128256 0 0 3 0x14200 syncer update 12693 272140 0 0 3 0x14200 cleaner cleaner 38068 401430 0 0 3 0x14200 reaper reaper 80992 349548 0 0 3 0x14200 pgdaemon pagedaemon 76724 381177 0 0 3 0x14200 bored viomb 23214 188409 0 0 3 0x40014200 acpi0 acpi0 99043 178247 0 0 7 0x40014200 idle1 74250 479247 0 0 3 0x14200 bored softnet3 8557 115570 0 0 3 0x14200 bored softnet2 38753 18285 0 0 3 0x14200 bored softnet1 98442 147092 0 0 3 0x14200 bored softnet0 28418 495103 0 0 3 0x14200 bored systqmp 15892 200218 0 0 3 0x14200 bored systq 87084 379464 0 0 3 0x14200 tmoslp softclockmp 99224 229138 0 0 3 0x40014200 tmoslp softclock * 6343 488555 0 0 7 0x40014200 idle0 1 144720 0 0 3 0x8080082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex /syzkaller/managers/multicore/kernel/sys/kern/kern_timeout.c:57 r = 0 (0xffffffff82cbd260) #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 softclock_process_tick_timeout+0x19d sys/kern/kern_timeout.c:723 #4 softclock+0x139 sys/kern/kern_timeout.c:755 #5 softintr_dispatch+0xcd sys/arch/amd64/amd64/softintr.c:90 #6 Xsoftclock+0x27 #7 acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206 #8 sched_idle+0x41d sys/kern/kern_sched.c:183 #9 proc_trampoline+0x10 Process 6343 (idle0) thread 0xffff80002a0fca90 (488555) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10234 6527K 10802K 166960K 36338 0 pcb 15 22K 24K 166960K 4452 0 rtable 244 7K 8K 166960K 9991 0 pf 36 10K 11K 166960K 1150 0 ifaddr 85 29K 29K 166960K 1079 0 ifgroup 63 2K 3K 166960K 1706 0 sysctl 4 1K 2K 166960K 24 0 counters 68 36K 37K 166960K 1042 0 ioctlops 0 0K 4K 166960K 4467 0 iov 0 0K 28K 166960K 5739 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1639 103K 103K 166960K 16671 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 546 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 6477 0 dirhash 12 2K 2K 166960K 327 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 11 37K 93K 166960K 51694 0 sigio 0 0K 0K 166960K 1324 0 proc 79 92K 116K 166960K 6323 0 subproc 104 6K 7K 166960K 1965 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 3205 0 in_multi 99 7K 7K 166960K 2460 0 ether_multi 1 0K 0K 166960K 59 0 mrt 1 0K 0K 166960K 37 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 253 1129K 1129K 166960K 253 0 exec 0 0K 1K 166960K 7147 0 pfkey data 0 0K 2K 166960K 63 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 705 1359K 1361K 166960K 503451 0 UVM aobj 131 8K 8K 166960K 142 0 pinsyscall 26 52K 108K 166960K 5881 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 1817 0 NDP 14 0K 2K 166960K 839 0 temp 74 6812K 7448K 166960K 398477 0 kqueue 12 18K 28K 166960K 3953 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> 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 3662 0 3659 51 50 1 5 0 8 0 rtentry 112 3289 0 3178 6 2 4 4 0 8 0 unpcb 144 44898 0 44883 390 387 3 11 0 8 2 syncache 336 423 0 423 65 65 0 1 0 8 0 sackhl 24 2 54 2 1 1 0 1 0 8 0 tcpqe 32 861 0 861 62 62 0 1 0 8 0 tcpcb 808 14454 0 14443 385 383 2 15 0 8 0 arp 120 691 0 673 1 0 1 1 0 8 0 ipq 40 6 0 6 2 2 0 1 0 8 0 ipqe 40 18 0 18 2 2 0 1 0 8 0 inpcb 392 37199 0 37083 578 565 13 26 0 8 0 nd6 136 498 0 472 1 0 1 1 0 8 0 pkpcb 40 158 0 158 33 33 0 1 0 8 0 kcovpl 48 143 0 135 1 0 1 1 0 8 0 ppxss 1168 220 0 220 50 49 1 1 0 8 1 pffrag 232 398 0 397 14 13 1 1 0 482 0 pffrnode 88 394 0 393 14 13 1 1 0 8 0 pffrent 40 891 0 890 14 13 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 1407 0 1376 1 0 1 1 0 8 0 pfstkey 128 1463 0 1432 5 3 2 2 0 8 0 pfstate 376 1463 0 1432 30 26 4 6 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 7 0 6 5 4 1 3 0 8 0 art_heap4 256 10379 0 9907 105 75 30 33 0 8 0 art_table 32 10386 0 9913 6 1 5 5 0 8 0 art_node 16 3112 0 3011 1 0 1 1 0 8 0 sysvmsgpl 40 30 0 10 2 1 1 1 0 8 0 semapl 112 6475 0 6465 1 0 1 1 0 8 0 shmpl 112 139 0 11 4 0 4 4 0 8 0 dirhash 1024 227 0 210 3 0 3 3 0 8 0 dino2pl 256 67139 0 65398 110 0 110 110 0 8 0 ffsino 272 67139 0 65398 117 0 117 117 0 8 0 nchpl 144 135505 0 133781 67 1 66 67 0 8 0 uvmvnodes 80 9806 0 0 201 0 201 201 0 8 0 vnodes 216 9806 0 0 545 0 545 545 0 8 0 namei 1024 442590 0 442590 20 19 1 2 0 8 1 percpumem 16 535 0 487 1 0 1 1 0 8 0 vcpupl 2048 512 0 0 64 0 64 64 0 8 0 vmpool 696 565 0 53 47 0 47 47 0 8 0 kstatmem 264 1002 0 974 17 14 3 3 0 8 0 scxspl 216 424088 0 424088 118 117 1 8 1 8 1 plimitpl 152 5125 0 5109 1 0 1 1 0 8 0 sigapl 424 51910 0 51847 19 11 8 9 0 8 0 futexpl 64 384864 0 384864 22 21 1 1 0 8 1 knotepl 120 2003 0 0 20 2 18 18 0 8 0 kqueuepl 216 10901 0 10893 170 167 3 10 0 8 2 pipepl 320 8678 0 8650 198 190 8 13 0 8 5 fdescpl 496 51737 0 51713 13 9 4 5 0 8 0 filepl 152 295177 0 294936 401 387 14 26 0 8 1 lockfpl 104 12242 0 12213 27 26 1 3 0 8 0 lockfspl 48 3855 0 3833 1 0 1 1 0 8 0 sessionpl 144 163 0 146 1 0 1 1 0 8 0 pgrppl 48 956 0 939 1 0 1 1 0 8 0 ucredpl 104 34785 0 34772 1 0 1 1 0 8 0 zombiepl 144 51848 0 51847 4 3 1 1 0 8 0 processpl 1136 51910 0 51847 9 3 6 6 0 8 0 procpl 680 142488 0 142410 19 10 9 10 0 8 0 srpgc 96 178 0 178 54 54 0 1 0 8 0 sosppl 168 551 0 548 23 22 1 1 0 8 0 sockpl 584 86146 0 86012 743 727 16 34 0 8 5 mcl64k 65536 41 0 0 3 0 3 3 0 8 0 mcl16k 16384 65 0 0 6 3 3 3 0 8 0 mcl12k 12288 90 0 0 3 1 2 2 0 8 0 mcl9k 9216 19 0 0 2 0 2 2 0 8 0 mcl8k 8192 73 0 0 3 0 3 3 0 8 0 mcl4k 4096 102 0 0 10 4 6 7 0 8 0 mcl2k2 2112 24 0 0 2 0 2 2 0 8 0 mcl2k 2048 874 0 0 35 18 17 35 0 8 0 mtagpl 96 605 0 0 13 4 9 13 0 8 0 mbufpl 256 3146 0 0 72 0 72 72 0 8 0 bufpl 280 86359 0 76553 701 0 701 701 0 8 0 anonpl 24 5056918 0 5042625 497 369 128 180 0 186 0 amapchunkpl 152 1609022 0 1608200 292 249 43 70 0 158 0 amappl16 200 100922 0 100284 252 205 47 53 0 8 0 amappl15 192 209 0 207 2 1 1 1 0 8 0 amappl14 184 682 0 661 2 0 2 2 0 8 0 amappl13 176 56 0 56 6 6 0 1 0 8 0 amappl12 168 54475 0 54438 6 3 3 3 0 8 0 amappl11 160 67 0 53 1 0 1 1 0 8 0 amappl10 152 317 0 298 1 0 1 1 0 8 0 amappl9 144 638 0 636 1 0 1 1 0 8 0 amappl8 136 2449 0 2181 12 2 10 10 0 8 0 amappl7 128 329 0 312 1 0 1 1 0 8 0 amappl6 120 2684 0 2642 3 1 2 2 0 8 0 amappl5 112 1671 0 1655 1 0 1 1 0 8 0 amappl4 104 2471 0 2411 3 1 2 3 0 8 0 amappl3 96 309084 0 309024 3 0 3 3 0 8 0 amappl2 88 54396 0 54297 5 2 3 4 0 8 0 amappl1 80 198257 0 197725 24 11 13 23 0 8 0 amappl 88 500623 0 500317 13 4 9 9 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 141 0 11 3 0 3 3 0 8 0 uaddrrnd 24 52302 0 51766 4 0 4 4 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 52302 0 51766 4 0 4 4 0 8 0 vmmpekpl 168 351929 0 351797 7 0 7 7 0 8 0 vmmpepl 168 3081420 0 3078286 1000 808 192 213 0 357 7 vmsppl 448 52301 0 51766 68 7 61 61 0 8 0 rwobjpl 56 723188 0 711175 210 36 174 175 0 8 0 pdppl 4096 104611 0 104044 1841 1260 581 581 0 8 14 pvpl 32 48843 0 0 396 2 394 395 0 265 0 pmappl 248 52301 0 51766 35 1 34 34 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 3727 0 2626 32 0 32 32 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace softclock(0) at softclock+0xd7 sys/kern/kern_timeout.c:751 softintr_dispatch(0) at softintr_dispatch+0xcd sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffffffff82cc1ff0) at sched_idle+0x41d sys/kern/kern_sched.c:183 end trace frame: 0x0, count: -5 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffff800029cebff0) 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 acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800029cebff0) at sched_idle+0x41d sys/kern/kern_sched.c:183 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800029cebff0) 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 acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800029cebff0) at sched_idle+0x41d sys/kern/kern_sched.c:183 end trace frame: 0x0, count: -5