uvm_fault(0xfffffd8069cbda20, 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(ffff800000d25ac0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d25ac0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d20530) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80769a9a80) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd80766978f0) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd80766978f0,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd80766978f0,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80660a9108,ffff8000283df8a8) at soo_close+0x44 fdrop(fffffd80660a9108,ffff8000283df8a8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80660a9108,ffff8000283df8a8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000283df8a8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000283df8a8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000283df8a8,ffff8000216f6820,ffff8000216f6870) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000216f68f0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7308a68c2900, 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(0xfffffd8069cbda20, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000d25ac0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d25ac0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d20530) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80769a9a80) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd80766978f0) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd80766978f0,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd80766978f0,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80660a9108,ffff8000283df8a8) at soo_close+0x44 fdrop(fffffd80660a9108,ffff8000283df8a8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80660a9108,ffff8000283df8a8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000283df8a8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000283df8a8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000283df8a8,ffff8000216f6820,ffff8000216f6870) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000216f68f0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7308a68c2900, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff8000216f64b0 rbx 0xa rdx 0 rcx 0x1 rax 0 r8 0x30 r9 0x9419 __ALIGN_SIZE+0x8419 r10 0x3f60145793e4463f r11 0xa995b045894a4dbe r12 0 r13 0x3 r14 0xffff800000d25ac0 r15 0xffff8000006b7000 rip 0xffffffff8176f97f igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000216f6480 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.0) pid=441898 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff80002b815340,0xffff800023163b88 process=0xffff8000fffee7f0 user=0xffff8000216f1000, vmspace=0xfffffd8069cbda20 estcpu=34, cpticks=1, pctcpu=0.2 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 54745 385030 82098 0 2 0 syz-executor.7 54745 172961 82098 0 2 0x4000000 syz-executor.7 15922 327704 76587 0 2 0 syz-executor.2 15922 429493 76587 0 3 0x4000080 kqread syz-executor.2 15922 450888 76587 0 3 0x4000080 fsleep syz-executor.2 15922 110948 76587 0 3 0x4000080 fsleep syz-executor.2 71512 195658 94495 0 2 0 syz-executor.5 71512 456998 94495 0 3 0x4000080 fsleep syz-executor.5 35403 322040 95308 0 3 0x82 nanoslp syz-executor.3 83511 97020 95308 0 3 0x82 nanoslp syz-executor.6 82098 490830 95308 0 3 0x82 nanoslp syz-executor.7 76587 323857 95308 0 3 0x82 nanoslp syz-executor.2 24690 447207 95308 0 3 0x82 nanoslp syz-executor.4 70774 290381 95308 0 3 0x82 nanoslp syz-executor.1 91652 219741 95308 0 3 0x82 nanoslp syz-executor.0 93283 163211 0 0 3 0x14280 nfsidl nfsio 33027 458685 0 0 3 0x14280 nfsidl nfsio 26833 371189 0 0 3 0x14280 nfsidl nfsio 26048 167789 0 0 3 0x14280 nfsidl nfsio 35792 227085 0 0 3 0x14280 nfsidl nfsio 66303 295840 0 0 3 0x14280 nfsidl nfsio 13558 31376 0 0 3 0x14280 nfsidl nfsio 40350 32632 0 0 3 0x14280 nfsidl nfsio 52651 76650 0 0 3 0x14280 nfsidl nfsio 9645 375663 0 0 3 0x14280 nfsidl nfsio 56905 119137 0 0 3 0x14280 nfsidl nfsio 35919 480972 0 0 3 0x14280 nfsidl nfsio 17184 214635 0 0 3 0x14280 nfsidl nfsio 15731 299037 0 0 3 0x14280 nfsidl nfsio 67024 183501 0 0 3 0x14280 nfsidl nfsio 55348 25252 0 0 3 0x14280 nfsidl nfsio 949 205215 0 0 3 0x14280 nfsidl nfsio 75328 295916 0 0 3 0x14280 nfsidl nfsio 39248 339242 0 0 3 0x14280 nfsidl nfsio 36040 37959 0 0 3 0x14280 nfsidl nfsio 51531 469506 0 0 3 0x14200 bored sosplice 94495 360070 95308 0 3 0x82 nanoslp syz-executor.5 95308 187895 12385 0 3 0x82 wait syz-fuzzer 95308 21470 12385 0 3 0x4000082 thrsleep syz-fuzzer 95308 72237 12385 0 3 0x4000082 wait syz-fuzzer 95308 4274 12385 0 3 0x4000082 kqread syz-fuzzer 95308 97973 12385 0 3 0x4000082 thrsleep syz-fuzzer 95308 159656 12385 0 3 0x4000082 thrsleep syz-fuzzer 95308 112219 12385 0 3 0x4000082 wait syz-fuzzer 95308 224768 12385 0 3 0x4000082 thrsleep syz-fuzzer 95308 274845 12385 0 3 0x4000082 wait syz-fuzzer 95308 50208 12385 0 3 0x4000082 wait syz-fuzzer 95308 185361 12385 0 3 0x4000082 thrsleep syz-fuzzer 95308 174437 12385 0 3 0x4000082 wait syz-fuzzer 95308 118942 12385 0 3 0x4000082 wait syz-fuzzer 95308 66498 12385 0 3 0x4000082 thrsleep syz-fuzzer 95308 1871 12385 0 3 0x4000082 wait syz-fuzzer 12385 216463 91895 0 3 0x10008a sigsusp ksh 91895 369329 1586 0 3 0x9a kqread sshd 58874 96748 1 0 3 0x100083 ttyin getty 1586 334406 1 0 3 0x88 kqread sshd 86169 430072 55738 73 3 0x1100090 kqread syslogd 55738 288821 1 0 3 0x100082 netio syslogd 18667 126752 1 0 3 0x100080 kqread resolvd 35866 83788 0 0 3 0x14200 bored smr 95205 71217 0 0 2 0x14200 zerothread 31800 249628 0 0 3 0x14200 aiodoned aiodoned 84157 169290 0 0 3 0x14200 syncer update 13497 231009 0 0 3 0x14200 cleaner cleaner 49318 408808 0 0 3 0x14200 reaper reaper 8588 521676 0 0 3 0x14200 pgdaemon pagedaemon 41745 217027 0 0 3 0x14200 bored viomb 3224 418220 0 0 3 0x40014200 acpi0 acpi0 77206 102598 0 0 3 0x14200 bored softnet3 85489 326047 0 0 3 0x14200 bored softnet2 11120 202141 0 0 3 0x14200 bored softnet1 82384 193700 0 0 3 0x14200 bored softnet0 54629 254853 0 0 3 0x14200 bored systqmp 38958 144131 0 0 3 0x14200 bored systq 42588 247375 0 0 3 0x40014200 bored softclock 1572 185692 0 0 3 0x40014200 idle0 1 410665 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 10191 6424K 6665K 78643K 12089 0 pcb 13 16K 18K 78643K 1744 0 rtable 205 15K 17K 78643K 1425 0 ifaddr 77 22K 23K 78643K 410 0 sysctl 2 0K 0K 78643K 2 0 counters 27 17K 17K 78643K 181 0 ioctlops 0 0K 4K 78643K 344 0 iov 0 0K 28K 78643K 598 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1364 85K 85K 78643K 2947 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 28 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 110 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 15 53K 73K 78643K 3304 0 sigio 0 0K 0K 78643K 48 0 proc 55 43K 83K 78643K 1074 0 subproc 104 6K 6K 78643K 329 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 798 0 in_multi 86 5K 6K 78643K 413 0 ether_multi 1 0K 0K 78643K 19 0 mrt 1 0K 0K 78643K 19 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 223 996K 996K 78643K 223 0 exec 0 0K 1K 78643K 1202 0 pfkey data 0 0K 0K 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 283 85K 100K 78643K 27126 0 UVM aobj 104 3K 4K 78643K 107 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 404 0 NDP 12 0K 2K 78643K 132 0 temp 128 5858K 14054K 78643K 42076 0 kqueue 7 12K 24K 78643K 299 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 347 0 346 6 5 1 3 0 8 0 rtentry 112 416 0 327 4 0 4 4 0 8 0 unpcb 144 2782 0 2776 23 22 1 10 0 8 0 syncache 296 18 0 18 5 5 0 1 0 8 0 tcpqe 32 187 0 187 4 4 0 1 0 8 0 tcpcb 776 1631 0 1625 38 37 1 14 0 8 0 arp 88 54 0 38 1 0 1 1 0 8 0 ipq 40 4 0 4 1 1 0 1 0 8 0 ipqe 40 7 0 7 1 1 0 1 0 8 0 inpcb 336 5471 0 5460 67 60 7 18 0 8 5 nd6 104 81 0 59 1 0 1 1 0 8 0 pkpcb 40 15 0 15 3 3 0 1 0 8 0 kcovpl 48 25 0 17 1 0 1 1 0 8 0 mppekey 1024 8 0 8 3 2 1 1 0 8 1 ppxss 1160 98 0 98 8 7 1 1 0 8 1 pppxif 1360 23 0 23 5 4 1 1 0 8 1 pfanchor 1288 383 0 135 26 3 23 26 0 8 0 rttmr 136 4 0 4 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1943 0 1558 45 18 27 29 0 8 2 art_table 32 1944 0 1558 4 0 4 4 0 8 0 art_node 16 412 0 334 1 0 1 1 0 8 0 sysvmsgpl 40 27 0 19 1 0 1 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 108 0 98 1 0 1 1 0 8 0 shmpl 112 104 0 3 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6106 0 4662 91 0 91 91 0 8 0 ffsino 240 6106 0 4662 86 0 86 86 0 8 0 nchpl 144 10984 0 9340 63 0 63 63 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 40234 0 40234 3 2 1 3 0 8 1 kstatmem 264 154 0 130 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 29629 0 29629 13 12 1 8 0 8 1 plimitpl 152 466 0 452 1 0 1 1 0 8 0 sigapl 424 3586 0 3523 8 0 8 8 0 8 0 futexpl 64 33851 0 33848 1 0 1 1 0 8 0 knotepl 120 46590 0 46522 29 22 7 13 0 8 4 kqueuepl 184 1146 0 1139 18 14 4 6 0 8 3 pipepl 288 687 0 659 7 0 7 7 0 8 4 fdescpl 432 3549 0 3526 4 0 4 4 0 8 0 filepl 120 26917 0 26688 43 30 13 15 0 8 4 lockfpl 104 552 0 551 1 0 1 1 0 8 0 lockfspl 48 185 0 184 1 0 1 1 0 8 0 sessionpl 144 40 0 25 1 0 1 1 0 8 0 pgrppl 48 48 0 33 1 0 1 1 0 8 0 ucredpl 104 4519 0 4512 1 0 1 1 0 8 0 zombiepl 144 3528 0 3523 1 0 1 1 0 8 0 processpl 1008 3586 0 3523 9 1 8 8 0 8 0 procpl 696 8173 0 8091 13 4 9 9 0 8 0 sosppl 168 40 0 39 4 3 1 1 0 8 0 sockpl 456 8689 0 8671 179 169 10 32 0 8 7 mcl64k 65536 133 0 133 7 6 1 1 0 8 1 mcl16k 16384 115 0 115 7 6 1 1 0 8 1 mcl12k 12288 122 0 122 6 5 1 1 0 8 1 mcl9k 9216 76 0 76 7 6 1 1 0 8 1 mcl8k 8192 276 0 276 7 6 1 1 0 8 1 mcl4k 4096 306 0 306 4 3 1 1 0 8 1 mcl2k2 2112 21 0 21 7 6 1 1 0 8 1 mcl2k 2048 81079 0 81038 40 32 8 30 0 8 2 mtagpl 96 7 0 7 2 2 0 1 0 8 0 mbufpl 256 161693 0 161602 180 169 11 55 0 8 1 bufpl 288 9550 0 3165 457 0 457 457 0 8 0 anonpl 24 496737 0 484030 118 18 100 110 0 188 0 amapchunkpl 152 86308 0 85579 67 34 33 45 0 158 1 amappl16 200 10399 0 9898 47 19 28 40 0 8 0 amappl15 192 25 0 25 1 1 0 1 0 8 0 amappl14 184 207 0 199 2 1 1 2 0 8 0 amappl13 176 38 0 37 1 0 1 1 0 8 0 amappl12 168 4454 0 4431 2 0 2 2 0 8 0 amappl11 160 69 0 65 1 0 1 1 0 8 0 amappl10 152 44 0 34 1 0 1 1 0 8 0 amappl9 144 192 0 191 2 1 1 2 0 8 0 amappl8 136 267 0 204 3 0 3 3 0 8 0 amappl7 128 71 0 54 1 0 1 1 0 8 0 amappl6 120 368 0 350 2 1 1 2 0 8 0 amappl5 112 269 0 265 1 0 1 1 0 8 0 amappl4 104 890 0 862 2 1 1 2 0 8 0 amappl3 96 20279 0 20206 3 0 3 3 0 8 0 amappl2 88 3971 0 3924 4 2 2 3 0 8 0 amappl1 80 58224 0 57665 25 11 14 22 0 8 0 amappl 88 26391 0 26208 6 0 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 106 0 3 2 0 2 2 0 8 0 uaddrrnd 24 3549 0 3526 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3549 0 3526 1 0 1 1 0 8 0 vmmpekpl 168 29854 0 29797 3 0 3 3 0 8 0 vmmpepl 168 310953 0 308664 212 79 133 159 0 357 25 vmsppl 368 3548 0 3526 3 0 3 3 0 8 0 rwobjpl 24 89581 0 82090 46 0 46 46 0 8 0 pdppl 4096 7104 0 7052 273 217 56 68 0 8 4 pvpl 32 1203917 0 1186283 334 142 192 334 0 265 25 pmappl 216 3548 0 3526 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1292 0 527 24 0 24 24 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000d25ac0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d25ac0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d20530) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80769a9a80) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd80766978f0) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd80766978f0,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd80766978f0,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80660a9108,ffff8000283df8a8) at soo_close+0x44 fdrop(fffffd80660a9108,ffff8000283df8a8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80660a9108,ffff8000283df8a8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000283df8a8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000283df8a8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000283df8a8,ffff8000216f6820,ffff8000216f6870) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000216f68f0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7308a68c2900, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000d25ac0,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000d25ac0) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d20530) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80769a9a80) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd80766978f0) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd80766978f0,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd80766978f0,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd80660a9108,ffff8000283df8a8) at soo_close+0x44 fdrop(fffffd80660a9108,ffff8000283df8a8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd80660a9108,ffff8000283df8a8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000283df8a8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000283df8a8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000283df8a8,ffff8000216f6820,ffff8000216f6870) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000216f68f0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7308a68c2900, count: -14