uvm_fault(0xfffffd8069d8ecb8, 0x4, 0, 1) -> e kernel: page fault trap, code=0 Stopped at igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d TID PID UID PRFLAGS PFLAGS CPU COMMAND igmp_leavegroup(ffff800000ce8980,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce8980) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6980) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1794 in_pcbdetach(fffffd806f072690) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd8073ec1928) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8073ec1928,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8073ec1928,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8069232d30,ffff80002174c860) at soo_close+0x44 fdrop(fffffd8069232d30,ffff80002174c860) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8069232d30,ffff80002174c860) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002174c860) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002174c860,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002174c860,ffff80002ce45240,ffff80002ce45290) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002ce45310) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70bc3f3f03f0, count: 1 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(0xfffffd8069d8ecb8, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000ce8980,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce8980) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6980) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1794 in_pcbdetach(fffffd806f072690) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd8073ec1928) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8073ec1928,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8073ec1928,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8069232d30,ffff80002174c860) at soo_close+0x44 fdrop(fffffd8069232d30,ffff80002174c860) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8069232d30,ffff80002174c860) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002174c860) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002174c860,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002174c860,ffff80002ce45240,ffff80002ce45290) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002ce45310) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70bc3f3f03f0, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002ce44ed0 rbx 0x4 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x3bae083b08a4a0ef r11 0x445ed4449718c63b r12 0 r13 0x3 r14 0xffff800000ce8980 r15 0xffff8000006b7000 rip 0xffffffff8228112f igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002ce44ea0 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.6) pid=299032 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff80002b4178b8,0xffff8000ffff1b60 process=0xffff8000216e37a0 user=0xffff80002ce40000, vmspace=0xfffffd8069d8ecb8 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 45250 254005 77257 0 2 0 syz-executor.7 45250 274020 77257 0 3 0x4000080 fsleep syz-executor.7 37185 277730 19103 0 2 0 syz-executor.4 37185 506095 19103 0 3 0x4000080 fsleep syz-executor.4 9370 127236 66468 0 2 0 syz-executor.5 9370 90316 66468 0 3 0x4000080 kqread syz-executor.5 71109 352863 4876 0 2 0 syz-executor.0 71109 395224 4876 0 3 0x4000080 fsleep syz-executor.0 71109 216449 4876 0 3 0x4000080 fsleep syz-executor.0 11652 353069 43450 0 2 0 syz-executor.2 11652 481387 43450 0 2 0x4000000 syz-executor.2 33714 183946 3809 0 2 0 syz-executor.1 33714 423374 3809 0 3 0x4000080 fsleep syz-executor.1 66468 406601 45194 0 3 0x82 nanoslp syz-executor.5 19103 13542 45194 0 3 0x82 nanoslp syz-executor.4 43450 513437 45194 0 3 0x82 nanoslp syz-executor.2 77257 331920 45194 0 3 0x82 nanoslp syz-executor.7 3809 116225 45194 0 3 0x82 nanoslp syz-executor.1 87782 483500 0 0 3 0x14200 acct acct 91894 253138 45194 0 2 0x2 syz-executor.3 56549 491740 45194 0 3 0x82 nanoslp syz-executor.6 4876 136211 45194 0 3 0x82 nanoslp syz-executor.0 66422 155152 0 0 3 0x14280 nfsidl nfsio 47176 452408 0 0 3 0x14280 nfsidl nfsio 48378 488089 0 0 3 0x14280 nfsidl nfsio 69601 155472 0 0 3 0x14280 nfsidl nfsio 49362 404693 0 0 3 0x14280 nfsidl nfsio 46588 393026 0 0 3 0x14280 nfsidl nfsio 78832 80618 0 0 3 0x14280 nfsidl nfsio 2803 326044 0 0 3 0x14280 nfsidl nfsio 63141 299263 0 0 3 0x14280 nfsidl nfsio 99044 330083 0 0 3 0x14280 nfsidl nfsio 99203 101813 0 0 3 0x14280 nfsidl nfsio 63888 276901 0 0 3 0x14280 nfsidl nfsio 16803 418369 0 0 3 0x14280 nfsidl nfsio 70590 215745 0 0 3 0x14280 nfsidl nfsio 45899 431417 0 0 3 0x14280 nfsidl nfsio 11401 379331 0 0 3 0x14280 nfsidl nfsio 83230 76760 0 0 3 0x14280 nfsidl nfsio 77122 4219 0 0 3 0x14280 nfsidl nfsio 18123 145787 0 0 3 0x14280 nfsidl nfsio 47317 127186 0 0 3 0x14280 nfsidl nfsio 87592 141068 0 0 3 0x14200 bored sosplice 45194 464305 68526 0 3 0x82 kqread syz-fuzzer 45194 467443 68526 0 2 0x4000002 syz-fuzzer 45194 350229 68526 0 3 0x4000082 wait syz-fuzzer 45194 495240 68526 0 3 0x4000082 thrsleep syz-fuzzer 45194 61815 68526 0 3 0x4000082 wait syz-fuzzer 45194 21341 68526 0 3 0x4000082 wait syz-fuzzer 45194 264155 68526 0 3 0x4000082 wait syz-fuzzer 45194 401534 68526 0 3 0x4000082 thrsleep syz-fuzzer 45194 105494 68526 0 3 0x4000082 wait syz-fuzzer 45194 80824 68526 0 3 0x4000082 thrsleep syz-fuzzer 45194 231725 68526 0 3 0x4000082 wait syz-fuzzer 45194 245687 68526 0 3 0x4000082 wait syz-fuzzer 45194 47596 68526 0 3 0x4000082 thrsleep syz-fuzzer 45194 333474 68526 0 3 0x4000082 wait syz-fuzzer 45194 468485 68526 0 3 0x4000082 thrsleep syz-fuzzer 68526 143967 78717 0 3 0x10008a sigsusp ksh 78717 299137 77816 0 3 0x9a kqread sshd 90103 336761 1 0 3 0x100083 ttyin getty 77816 28322 1 0 3 0x88 kqread sshd 94885 144630 79413 73 3 0x1100090 kqread syslogd 79413 346299 1 0 3 0x100082 netio syslogd 43201 132788 1 0 3 0x100080 kqread resolvd 99969 52601 15378 77 3 0x100092 kqread dhcpleased 68654 51971 15378 77 3 0x100092 kqread dhcpleased 15378 154591 1 0 3 0x80 kqread dhcpleased 41971 486881 0 0 3 0x14200 bored smr 41293 515980 0 0 2 0x14200 zerothread 35212 41193 0 0 3 0x14200 aiodoned aiodoned 3933 414103 0 0 3 0x14200 syncer update 6476 105289 0 0 3 0x14200 cleaner cleaner 53765 140329 0 0 3 0x14200 reaper reaper 66760 434733 0 0 3 0x14200 pgdaemon pagedaemon 79393 478204 0 0 3 0x14200 bored viomb 43112 483111 0 0 3 0x40014200 acpi0 acpi0 17841 472987 0 0 3 0x14200 bored softnet 78254 455546 0 0 3 0x14200 bored softnet 97870 95090 0 0 3 0x14200 bored softnet 79821 55028 0 0 3 0x14200 bored softnet 92524 200207 0 0 3 0x14200 bored systqmp 49867 282359 0 0 3 0x14200 bored systq 46358 2505 0 0 3 0x40014200 bored softclock 42227 457514 0 0 3 0x40014200 idle0 1 355727 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10201 6431K 7309K 78643K 17939 0 pcb 13 18K 21K 78643K 924 0 rtable 195 15K 16K 78643K 2441 0 ifaddr 79 23K 24K 78643K 710 0 sysctl 2 0K 2K 78643K 6 0 counters 27 17K 17K 78643K 216 0 ioctlops 0 0K 4K 78643K 701 0 iov 0 0K 24K 78643K 688 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1601 100K 100K 78643K 5573 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 62 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 1037 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 69K 78643K 6881 0 sigio 0 0K 0K 78643K 201 0 proc 59 59K 91K 78643K 1432 0 subproc 104 6K 6K 78643K 455 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 346 0 in_multi 81 5K 7K 78643K 672 0 ether_multi 1 0K 0K 78643K 49 0 mrt 1 0K 0K 78643K 16 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 247 1102K 1102K 78643K 247 0 exec 0 0K 1K 78643K 1488 0 pfkey data 0 0K 4K 78643K 7 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 8 62K 64K 78643K 10 0 UVM amap 387 95K 108K 78643K 64375 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 243 0 NDP 13 0K 1K 78643K 241 0 temp 128 5850K 14046K 78643K 77986 0 kqueue 13 20K 26K 78643K 579 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 957 0 954 12 9 3 3 0 8 2 rtentry 112 619 0 537 4 0 4 4 0 8 0 unpcb 144 8397 0 8384 62 57 5 10 0 8 4 syncache 296 41 0 41 9 9 0 1 0 8 0 tcpqe 32 476 0 476 7 7 0 2 0 8 0 tcpcb 776 2723 0 2717 63 55 8 11 0 8 7 arp 88 84 0 70 1 0 1 1 0 8 0 ipq 40 24 0 22 3 2 1 1 0 8 0 ipqe 40 69 0 67 3 2 1 1 0 8 0 inpcb 336 13971 0 13956 105 89 16 16 0 8 14 nd6 104 133 0 114 1 0 1 1 0 8 0 pkpcb 40 24 0 24 8 8 0 1 0 8 0 kcovpl 48 35 0 27 1 0 1 1 0 8 0 mppekey 1024 4 0 4 2 2 0 1 0 8 0 ppxss 1160 105 0 105 10 9 1 1 0 8 1 pppxif 1360 36 0 36 6 5 1 1 0 8 1 pfstscr 40 15 0 9 1 0 1 1 0 8 0 pfosfp 40 90 0 88 1 0 1 1 0 8 0 pfosfpen 112 90 0 87 1 0 1 1 0 8 0 pfanchor 1288 785 42 273 46 3 43 43 0 8 0 pfstitem 24 23 0 20 1 0 1 1 0 8 0 pfstkey 128 35 0 25 1 0 1 1 0 8 0 pfstate 352 20 0 14 1 0 1 1 0 8 0 rttmr 136 3 0 3 1 1 0 1 0 8 0 art_heap8 4096 3 0 2 3 2 1 2 0 8 0 art_heap4 256 2735 0 2372 48 23 25 30 0 8 0 art_table 32 2738 0 2374 4 0 4 4 0 8 0 art_node 16 573 0 502 1 0 1 1 0 8 0 sysvmsgpl 40 42 0 2 1 0 1 1 0 8 0 semapl 112 1035 0 1025 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 10171 0 8706 92 0 92 92 0 8 0 ffsino 240 10171 0 8706 87 0 87 87 0 8 0 nchpl 144 19805 0 19278 63 41 22 63 0 8 0 rtmask 32 5 0 5 2 2 0 1 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 69712 0 69711 8 7 1 3 0 8 0 kstatmem 264 306 0 282 2 0 2 2 0 8 0 scsiplug 72 10 0 10 3 3 0 1 0 8 0 scxspl 216 55419 0 55419 21 20 1 8 0 8 1 plimitpl 152 828 0 813 1 0 1 1 0 8 0 sigapl 424 7146 0 7080 8 0 8 8 0 8 0 futexpl 64 71262 0 71257 1 0 1 1 0 8 0 knotepl 120 136260 0 136178 45 38 7 12 0 8 2 kqueuepl 184 1390 0 1381 19 18 1 6 0 8 0 pipepl 288 1619 0 1591 34 31 3 9 0 8 0 fdescpl 432 7108 0 7080 5 1 4 4 0 8 0 filepl 120 56630 0 56388 69 55 14 18 0 8 6 lockfpl 104 1728 0 1726 3 2 1 2 0 8 0 lockfspl 48 573 0 571 1 0 1 1 0 8 0 sessionpl 144 50 0 34 1 0 1 1 0 8 0 pgrppl 48 367 0 351 1 0 1 1 0 8 0 ucredpl 104 4641 0 4627 1 0 1 1 0 8 0 zombiepl 144 7081 0 7080 1 0 1 1 0 8 0 processpl 1008 7146 0 7080 10 1 9 9 0 8 0 procpl 696 17000 0 16913 13 3 10 10 0 8 1 sosppl 168 57 0 57 8 8 0 1 0 8 0 sockpl 456 23363 0 23332 446 420 26 34 0 8 22 mcl64k 65536 359 0 359 5 4 1 1 0 8 1 mcl16k 16384 126 0 126 9 9 0 1 0 8 0 mcl12k 12288 270 0 270 10 9 1 1 0 8 1 mcl9k 9216 118 0 118 10 9 1 1 0 8 1 mcl8k 8192 451 0 450 7 6 1 1 0 8 0 mcl4k 4096 919 0 919 5 4 1 1 0 8 1 mcl2k2 2112 48 0 48 14 13 1 1 0 8 1 mcl2k 2048 88627 0 88583 88 80 8 37 0 8 1 mtagpl 96 582 0 504 13 11 2 8 0 8 0 mbufpl 256 213088 0 212835 303 284 19 76 0 8 0 bufpl 288 14816 0 8425 457 0 457 457 0 8 0 anonpl 24 737799 0 723444 117 18 99 108 0 188 0 amapchunkpl 152 204980 0 204050 74 34 40 47 0 158 2 amappl16 200 13443 0 12958 41 15 26 29 0 8 0 amappl15 192 14 0 14 1 1 0 1 0 8 0 amappl14 184 240 0 225 2 0 2 2 0 8 0 amappl13 176 9 0 9 2 2 0 1 0 8 0 amappl12 168 8131 0 8101 2 0 2 2 0 8 0 amappl11 160 49 0 39 1 0 1 1 0 8 0 amappl10 152 60 0 51 2 1 1 1 0 8 0 amappl9 144 197 0 197 14 14 0 2 0 8 0 amappl8 136 390 0 302 4 0 4 4 0 8 0 amappl7 128 85 0 64 1 0 1 1 0 8 0 amappl6 120 518 0 502 2 1 1 2 0 8 0 amappl5 112 395 0 389 1 0 1 1 0 8 0 amappl4 104 1121 0 1085 2 0 2 2 0 8 0 amappl3 96 40626 0 40540 3 0 3 3 0 8 0 amappl2 88 7489 0 7424 4 2 2 3 0 8 0 amappl1 80 35303 0 34793 22 10 12 22 0 8 0 amappl 88 63451 0 63197 7 0 7 7 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 7108 0 7080 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7108 0 7080 1 0 1 1 0 8 0 vmmpekpl 168 53553 0 53499 3 0 3 3 0 8 0 vmmpepl 168 437153 0 434785 324 201 123 200 0 357 11 vmsppl 360 7107 0 7080 3 0 3 3 0 8 0 rwobjpl 24 107150 0 99564 48 2 46 47 0 8 0 pdppl 4096 14222 0 14160 470 406 64 66 0 8 2 pvpl 32 1991312 0 1971353 420 243 177 359 0 265 0 pmappl 216 7107 0 7080 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1735 0 954 24 0 24 24 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000ce8980,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce8980) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6980) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1794 in_pcbdetach(fffffd806f072690) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd8073ec1928) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8073ec1928,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8073ec1928,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8069232d30,ffff80002174c860) at soo_close+0x44 fdrop(fffffd8069232d30,ffff80002174c860) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8069232d30,ffff80002174c860) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002174c860) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002174c860,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002174c860,ffff80002ce45240,ffff80002ce45290) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002ce45310) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70bc3f3f03f0, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000ce8980,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ce8980) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff8000006c6980) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1794 in_pcbdetach(fffffd806f072690) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd8073ec1928) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8073ec1928,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8073ec1928,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd8069232d30,ffff80002174c860) at soo_close+0x44 fdrop(fffffd8069232d30,ffff80002174c860) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd8069232d30,ffff80002174c860) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff80002174c860) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff80002174c860,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff80002174c860,ffff80002ce45240,ffff80002ce45290) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff80002ce45310) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70bc3f3f03f0, count: -14