Date: Sat, 19 Aug 2023 01:43:09 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 273207] pf_syncookie_mac for IPv6 random cause panic Message-ID: <bug-273207-227-PE4yMfvaho@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-273207-227@https.bugs.freebsd.org/bugzilla/> References: <bug-273207-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273207 --- Comment #15 from Rin Cat <dev@rincat.ch> --- #11 0xffffffff82abac5a in pf_syncookie_mac (pd=3Dpd@entry=3D0xfffffe00c5fc3= b10, cookie=3D..., seq=3D<optimized out>) at /usr/src/sys/netpfil/pf/pf_syncooki= es.c:444 (kgdb) p pd $19 =3D (struct pf_pdesc *) 0xfffffe00c5fc3b10 (kgdb) p *pd $20 =3D {lookup =3D {done =3D 0, uid =3D 0, gid =3D 0}, tot_len =3D 72, hdr= =3D {tcp =3D {th_sport =3D 47873, th_dport =3D 6321, th_seq =3D 3504939527, th_ack =3D 2= 232635287, th_x2 =3D 0 '\000', th_off =3D 8 '\b', th_flags =3D 16 '\020', th_win =3D 9= 729, th_sum =3D 49434, th_urp =3D 0}, udp =3D { uh_sport =3D 47873, uh_dport =3D 6321, uh_ulen =3D 8711, uh_sum =3D 5= 3481}, icmp =3D {icmp_type =3D 1 '\001', icmp_code =3D 187 '\273', icmp_cksum =3D 6321,= icmp_hun =3D {ih_pptr =3D 7 '\a', ih_gwaddr =3D {s_addr =3D 3504939527}, ih_idseq =3D {i= cd_id =3D 8711, icd_seq =3D 53481},=20 ih_void =3D -790027769, ih_pmtu =3D {ipm_void =3D 8711, ipm_nextmtu= =3D 53481}, ih_rtradv =3D {irt_num_addrs =3D 7 '\a', irt_wpa =3D 34 '"', irt_lifetime = =3D 53481}}, icmp_dun =3D {id_ts =3D {its_otime =3D 2232635287, its_rtime =3D 637603968,= its_ttime =3D 49434}, id_ip =3D {idi_ip =3D { ip_hl =3D 7 '\a', ip_v =3D 9 '\t', ip_tos =3D 79 'O', ip_len = =3D 34067, ip_id =3D 4224, ip_off =3D 9729, ip_ttl =3D 26 '\032', ip_p =3D 193 '\301',= ip_sum =3D 0, ip_src =3D {s_addr =3D 0}, ip_dst =3D {s_addr =3D 0}}}, id_radv =3D {ira_ad= dr =3D 2232635287, ira_preference =3D 637603968},=20 id_mask =3D 2232635287, id_data =3D "\227"}}, any =3D 0xfffffe00c5f= c3b28 "\001\273\261\030\a\"\351=D0=97O\023\205\200\020\001&\032\301"}, nat_rule = =3D 0x0, src =3D 0xfffff801d35cc06e, dst =3D 0xfffff801d35cc07e, sport =3D 0x0, dport = =3D 0x0, pf_mtag =3D 0x0, act =3D {qid =3D 0, pqid =3D 0},=20 p_len =3D 0, ip_sum =3D 0x0, proto_sum =3D 0x0, flags =3D 0, af =3D 28 '\= 034', proto =3D 6 '\006', tos =3D 0 '\000', dir =3D 1 '\001', sidx =3D 0 '\000', didx =3D 1= '\001'} (kgdb) p pd->src $21 =3D (struct pf_addr *) 0xfffff801d35cc06e (kgdb) p *pd->src $22 =3D {pfa =3D {v4 =3D {s_addr =3D 2969XXXXX}, v6 =3D {__u6_addr =3D {__u= 6_addr8 =3D "&\a\370\260@\006\b XXXXX000\000\000\000 \n", __u6_addr16 =3D {XXXX, XXXXX,= XXXX, XXX, 0, 0, 0, XXXX}, __u6_addr32 =3D {XXXXXXXXXX, XXXXXXXX, XXXXXXXXXX, XXXXXXXXX}}},=20 addr8 =3D "&\a\370\260@\006\b \000\000\000\000\000\000 \n", addr16 =3D {XXXXXXX, XXXXX, XXXX, XXXXX, XXXX, XXXX, XXXXX, XXXXXX}, addr32 =3D {XXXXX= XX, XXXXXX, XXXXXX, XXXXXXX}}} --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273207-227-PE4yMfvaho>