uvm_fault(0xfffffd806f000cf8, 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(ffff800000ceb540,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ceb540) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d71780) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80706fc7e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd8070707560) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8070707560,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8070707560,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd807025b348,ffff8000ffff2dd8) at soo_close+0x44 fdrop(fffffd807025b348,ffff8000ffff2dd8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd807025b348,ffff8000ffff2dd8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000ffff2dd8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000ffff2dd8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000ffff2dd8,ffff800026592120,ffff800026592170) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000265921f0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75b0ad71be90, 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(0xfffffd806f000cf8, 0x4, 0, 1) -> e ddb> trace igmp_leavegroup(ffff800000ceb540,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ceb540) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d71780) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80706fc7e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd8070707560) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8070707560,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8070707560,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd807025b348,ffff8000ffff2dd8) at soo_close+0x44 fdrop(fffffd807025b348,ffff8000ffff2dd8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd807025b348,ffff8000ffff2dd8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000ffff2dd8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000ffff2dd8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000ffff2dd8,ffff800026592120,ffff800026592170) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000265921f0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75b0ad71be90, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff800026591db0 rbx 0x8 rdx 0 rcx 0x1 rax 0 r8 0 r9 0 r10 0x3ab7740b49976c5f r11 0x5cb5615bf41db28d r12 0 r13 0x3 r14 0xffff800000ceb540 r15 0xffff8000006b7000 rip 0xffffffff81175bef igmp_leavegroup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800026591d80 ss 0x10 igmp_leavegroup+0xaf: movl 0x4(%rax),%r12d ddb> show proc PROC (syz-executor.0) pid=326983 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff3600,0xffff8000ffff2b30 process=0xffff80002172ebd0 user=0xffff80002658d000, vmspace=0xfffffd806f000cf8 estcpu=32, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 24016 368505 42281 0 2 0x480 syz-executor.3 24016 493234 42281 0 3 0x4000080 kqread syz-executor.3 24016 55302 42281 0 3 0x4000080 fsleep syz-executor.3 24016 452340 42281 0 3 0x4000080 fsleep syz-executor.3 57713 117429 22546 0 2 0 syz-executor.6 57713 373322 22546 0 3 0x4000080 fsleep syz-executor.6 92662 225242 96896 0 2 0 syz-executor.5 92662 325091 96896 0 3 0x4000080 fsleep syz-executor.5 42281 475471 9893 0 2 0x482 syz-executor.3 77048 119614 9893 0 2 0x2 syz-executor.2 74848 270782 9893 0 3 0x82 nanoslp syz-executor.4 96896 476868 9893 0 3 0x82 nanoslp syz-executor.5 35819 52970 9893 0 2 0x2 syz-executor.1 64169 218862 9893 0 2 0x482 syz-executor.7 22546 288915 9893 0 3 0x82 nanoslp syz-executor.6 47205 137529 9893 0 3 0x82 nanoslp syz-executor.0 34312 393983 0 0 3 0x14280 nfsidl nfsio 91732 406596 0 0 3 0x14280 nfsidl nfsio 11729 313057 0 0 3 0x14280 nfsidl nfsio 28888 3754 0 0 3 0x14280 nfsidl nfsio 25058 34113 0 0 3 0x14280 nfsidl nfsio 97583 98778 0 0 3 0x14280 nfsidl nfsio 48568 116526 0 0 3 0x14280 nfsidl nfsio 13936 212243 0 0 3 0x14280 nfsidl nfsio 1014 104432 0 0 3 0x14280 nfsidl nfsio 18394 266480 0 0 3 0x14280 nfsidl nfsio 75126 182518 0 0 3 0x14280 nfsidl nfsio 64378 144867 0 0 3 0x14280 nfsidl nfsio 21999 126924 0 0 3 0x14280 nfsidl nfsio 97302 334243 0 0 3 0x14280 nfsidl nfsio 58131 209267 0 0 3 0x14280 nfsidl nfsio 18750 508881 0 0 3 0x14280 nfsidl nfsio 76008 114835 0 0 3 0x14280 nfsidl nfsio 55785 369947 0 0 3 0x14280 nfsidl nfsio 66274 281364 0 0 3 0x14280 nfsidl nfsio 58119 498642 0 0 3 0x14280 nfsidl nfsio 87032 188663 0 0 3 0x14200 bored sosplice 9893 83677 57869 0 3 0x82 thrsleep syz-fuzzer 9893 73943 57869 0 3 0x4000082 nanoslp syz-fuzzer 9893 44600 57869 0 3 0x4000082 thrsleep syz-fuzzer 9893 457387 57869 0 3 0x4000082 wait syz-fuzzer 9893 402832 57869 0 3 0x4000082 thrsleep syz-fuzzer 9893 362558 57869 0 3 0x4000082 wait syz-fuzzer 9893 502241 57869 0 3 0x4000082 wait syz-fuzzer 9893 194537 57869 0 3 0x4000082 wait syz-fuzzer 9893 5264 57869 0 3 0x4000082 wait syz-fuzzer 9893 352179 57869 0 3 0x4000082 wait syz-fuzzer 9893 240021 57869 0 3 0x4000082 thrsleep syz-fuzzer 9893 54360 57869 0 3 0x4000082 kqread syz-fuzzer 9893 169127 57869 0 3 0x4000082 wait syz-fuzzer 9893 451698 57869 0 3 0x4000082 wait syz-fuzzer 57869 208996 87272 0 3 0x10008a sigsusp ksh 87272 337722 85367 0 3 0x9a kqread sshd 29013 392492 1 0 3 0x100083 ttyin getty 85367 31063 1 0 3 0x88 kqread sshd 17228 91233 42823 73 3 0x1100090 kqread syslogd 42823 93091 1 0 3 0x100082 netio syslogd 95447 322410 1 0 3 0x100080 kqread resolvd 14575 86307 0 0 3 0x14200 bored smr 41614 143736 0 0 2 0x14200 zerothread 47728 196188 0 0 3 0x14200 aiodoned aiodoned 20083 103388 0 0 3 0x14200 syncer update 28562 450702 0 0 3 0x14200 cleaner cleaner 86752 504017 0 0 3 0x14200 reaper reaper 41281 309738 0 0 3 0x14200 pgdaemon pagedaemon 85415 134298 0 0 3 0x14200 bored viomb 51042 269434 0 0 3 0x40014200 acpi0 acpi0 14963 119580 0 0 3 0x14200 bored softnet3 74295 501102 0 0 3 0x14200 bored softnet2 53633 204455 0 0 3 0x14200 bored softnet1 62378 173550 0 0 3 0x14200 bored softnet0 3936 494230 0 0 3 0x14200 bored systqmp 2521 249852 0 0 3 0x14200 bored systq 64521 340009 0 0 2 0x40014200 softclock 25611 318527 0 0 3 0x40014200 idle0 1 304398 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 10185 6410K 6872K 78643K 20552 0 pcb 14 18K 22K 78643K 1724 0 rtable 199 15K 16K 78643K 1865 0 ifaddr 82 22K 24K 78643K 552 0 sysctl 2 0K 0K 78643K 4 0 counters 28 17K 17K 78643K 183 0 ioctlops 0 0K 4K 78643K 476 0 iov 0 0K 16K 78643K 652 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1412 88K 89K 78643K 5738 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 53 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 2350 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 73K 78643K 6077 0 sigio 0 0K 0K 78643K 67 0 proc 55 43K 75K 78643K 1232 0 subproc 104 6K 6K 78643K 364 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 1037 0 in_multi 81 5K 6K 78643K 693 0 ether_multi 1 0K 0K 78643K 55 0 mrt 1 0K 0K 78643K 37 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 163 731K 731K 78643K 163 0 exec 0 0K 1K 78643K 1481 0 pfkey data 0 0K 0K 78643K 9 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 333 94K 102K 78643K 57260 0 UVM aobj 94 5K 7K 78643K 112 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 247 0 NDP 14 0K 1K 78643K 179 0 temp 137 5858K 6878K 78643K 55512 0 kqueue 7 12K 26K 78643K 573 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 520 0 519 8 7 1 5 0 8 0 rtentry 112 632 0 548 5 2 3 4 0 8 0 unpcb 144 5248 0 5236 58 57 1 10 0 8 0 syncache 296 36 0 36 11 11 0 1 0 8 0 tcpqe 32 442 2 442 5 5 0 2 0 8 0 tcpcb 776 2413 0 2406 86 85 1 14 0 8 0 arp 88 76 0 61 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 3 0 3 1 1 0 1 0 8 0 inpcb 336 7250 0 7239 105 103 2 20 0 8 0 nd6 104 96 0 76 1 0 1 1 0 8 0 pkpcb 40 15 0 15 4 4 0 1 0 8 0 kcovpl 48 28 0 20 1 0 1 1 0 8 0 mppekey 1024 13 0 13 5 5 0 1 0 8 0 ppxss 1160 86 0 86 17 17 0 1 0 8 0 pppxif 1360 41 0 41 12 12 0 1 0 8 0 pfstscr 40 17 0 12 1 0 1 1 0 8 0 pfanchor 1288 784 0 409 41 4 37 37 0 8 0 pfstitem 24 15 0 6 1 0 1 1 0 8 0 pfstkey 128 44 0 34 1 0 1 1 0 8 0 pfstate 352 25 0 20 1 0 1 1 0 8 0 rttmr 136 3 0 3 1 0 1 1 0 8 1 art_heap8 4096 5 0 4 3 2 1 3 0 8 0 art_heap4 256 2744 0 2353 51 26 25 30 0 8 0 art_table 32 2749 0 2357 4 0 4 4 0 8 0 art_node 16 625 0 552 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 0 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 2348 0 2338 1 0 1 1 0 8 0 shmpl 112 109 0 18 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 9092 0 7644 91 0 91 91 0 8 0 ffsino 240 9092 0 7644 86 0 86 86 0 8 0 nchpl 144 18201 0 17662 63 41 22 63 0 8 0 rtmask 32 3 0 3 1 1 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 67579 0 67578 8 7 1 3 0 8 0 kstatmem 264 228 0 200 9 7 2 3 0 8 0 scsiplug 72 6 0 6 2 2 0 1 0 8 0 scxspl 216 55926 0 55926 21 20 1 8 0 8 1 plimitpl 152 1057 0 1043 1 0 1 1 0 8 0 sigapl 424 6358 0 6297 8 0 8 8 0 8 0 futexpl 64 70484 0 70480 3 2 1 1 0 8 0 knotepl 120 104956 0 104890 78 74 4 15 0 8 0 kqueuepl 184 1353 0 1347 18 17 1 4 0 8 0 pipepl 288 1327 0 1299 34 31 3 7 0 8 0 fdescpl 432 6320 0 6298 4 0 4 4 0 8 0 filepl 120 48176 0 47943 84 75 9 16 0 8 1 lockfpl 104 1618 0 1617 3 2 1 2 0 8 0 lockfspl 48 572 0 571 1 0 1 1 0 8 0 sessionpl 144 43 0 28 1 0 1 1 0 8 0 pgrppl 48 168 0 153 1 0 1 1 0 8 0 ucredpl 104 4242 0 4233 1 0 1 1 0 8 0 zombiepl 144 6300 0 6297 2 1 1 1 0 8 0 processpl 1008 6358 0 6297 10 1 9 9 0 8 0 procpl 696 15124 0 15045 13 4 9 10 0 8 0 sosppl 168 120 0 120 18 18 0 1 0 8 0 sockpl 456 13037 0 13014 281 276 5 35 0 8 1 mcl64k 65536 276 0 276 13 12 1 1 0 8 1 mcl16k 16384 130 0 130 16 15 1 1 0 8 1 mcl12k 12288 169 0 169 11 10 1 1 0 8 1 mcl9k 9216 161 0 161 14 13 1 1 0 8 1 mcl8k 8192 353 0 353 15 14 1 1 0 8 1 mcl4k 4096 919 0 919 9 8 1 1 0 8 1 mcl2k2 2112 51 0 51 15 14 1 1 0 8 1 mcl2k 2048 85726 0 85684 61 54 7 29 0 8 0 mtagpl 96 659 0 659 12 12 0 8 0 8 0 mbufpl 256 208787 0 208660 421 406 15 76 0 8 0 bufpl 288 15056 0 8668 457 0 457 457 0 8 0 anonpl 24 696941 0 682947 198 93 105 161 0 188 0 amapchunkpl 152 190304 0 189476 105 68 37 68 0 158 0 amappl16 200 13301 0 12846 52 27 25 36 0 8 0 amappl15 192 10 0 10 2 2 0 1 0 8 0 amappl14 184 214 0 205 2 1 1 2 0 8 0 amappl13 176 9 0 9 1 1 0 1 0 8 0 amappl12 168 7250 0 7224 2 0 2 2 0 8 0 amappl11 160 46 0 42 1 0 1 1 0 8 0 amappl10 152 44 0 34 2 1 1 1 0 8 0 amappl9 144 197 0 196 2 1 1 2 0 8 0 amappl8 136 351 0 264 4 0 4 4 0 8 0 amappl7 128 90 0 71 1 0 1 1 0 8 0 amappl6 120 412 0 396 2 1 1 2 0 8 0 amappl5 112 337 0 333 1 0 1 1 0 8 0 amappl4 104 895 0 867 2 1 1 2 0 8 0 amappl3 96 36078 0 36011 6 3 3 3 0 8 0 amappl2 88 6727 0 6683 4 2 2 3 0 8 0 amappl1 80 32438 0 32034 22 11 11 22 0 8 0 amappl 88 56476 0 56262 7 1 6 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 111 0 18 2 0 2 2 0 8 0 uaddrrnd 24 6320 0 6298 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6320 0 6298 1 0 1 1 0 8 0 vmmpekpl 168 46555 0 46494 4 0 4 4 0 8 0 vmmpepl 168 387313 0 385364 196 94 102 120 0 357 1 vmsppl 368 6319 0 6298 3 0 3 3 0 8 0 rwobjpl 24 98189 0 90846 47 1 46 46 0 8 0 pdppl 4096 12646 0 12596 450 392 58 68 0 8 8 pvpl 32 1875704 0 1856573 478 299 179 334 0 265 0 pmappl 216 6319 0 6298 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1846 0 1089 25 1 24 24 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace igmp_leavegroup(ffff800000ceb540,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ceb540) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d71780) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80706fc7e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd8070707560) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8070707560,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8070707560,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd807025b348,ffff8000ffff2dd8) at soo_close+0x44 fdrop(fffffd807025b348,ffff8000ffff2dd8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd807025b348,ffff8000ffff2dd8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000ffff2dd8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000ffff2dd8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000ffff2dd8,ffff800026592120,ffff800026592170) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000265921f0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75b0ad71be90, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace igmp_leavegroup(ffff800000ceb540,ffff8000006b7000) at igmp_leavegroup+0xaf sys/netinet/igmp.c:512 in_delmulti(ffff800000ceb540) at in_delmulti+0xd8 sys/netinet/in.c:908 ip_freemoptions(ffff800000d71780) at ip_freemoptions+0x5d sys/netinet/ip_output.c:1770 in_pcbdetach(fffffd80706fc7e0) at in_pcbdetach+0x97 sys/netinet/in_pcb.c:591 udp_detach(fffffd8070707560) at udp_detach+0x3f sys/netinet/udp_usrreq.c:1113 soclose(fffffd8070707560,0) at soclose+0x253 pru_detach sys/sys/protosw.h:281 [inline] soclose(fffffd8070707560,0) at soclose+0x253 sys/kern/uipc_socket.c:397 soo_close(fffffd807025b348,ffff8000ffff2dd8) at soo_close+0x44 fdrop(fffffd807025b348,ffff8000ffff2dd8) at fdrop+0xcb sys/kern/kern_descrip.c:1274 closef(fffffd807025b348,ffff8000ffff2dd8) at closef+0x11b sys/kern/kern_descrip.c:1258 fdfree(ffff8000ffff2dd8) at fdfree+0xf3 sys/kern/kern_descrip.c:1190 exit1(ffff8000ffff2dd8,0,0,1) at exit1+0x35d sys/kern/kern_exit.c:197 sys_exit(ffff8000ffff2dd8,ffff800026592120,ffff800026592170) at sys_exit+0x1a sys/kern/kern_exit.c:89 syscall(ffff8000265921f0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75b0ad71be90, count: -14