From nobody Sat Aug 19 01:43:09 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RSM2Q2Bj9z4g30d for ; Sat, 19 Aug 2023 01:43:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RSM2P44ZWz3MKZ for ; Sat, 19 Aug 2023 01:43:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692409389; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pv/C2UM2rRnLJw4e4slEd672le6ykQnzt2Rxvx4EQWI=; b=tVuZSkJqdulylc9Tt4LgktLKS+fMY8xzMjsS1diJ/xUhMco/9iHrdnhXC4RYERIAJTXP8K iUxGg9VZ3tNtaLlwK5aA2udtCyiBEoi38E1bckqUt79RX5wwiG8IAUlpjx6QYE4dd/JWy+ MuigmiKDzSD0QNqd1xoVd2TKYHA3lq+k5lE8t38EMYlIbFF0UgO3nmE5QkAB2yxwojWxsM Ztfl3b/6/X3xmqyksXkjfhOEcoYOJn889ZNVGyN9LkiXpN1YaMGAi/OpubancFnTmwG1Jd vZKdoQYcuZJzurq9XZMSFmqsf+ycz81Pe5mSE0DW3o/E5Erlv7Hv3/wPatiywg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692409389; a=rsa-sha256; cv=none; b=UAA54bSYmY8pqNYZ/DWmWQkK2q6gN1NiotPs2asjY/mWS4+dH2OrTh8c2jEvaJW7y6Ydew d6525a1JfTDZVIZwHfQqelDoY+pOtaCFUfnbcaP5+dgbNtKX41nBeJRXcgjyvxQi27gpvc j/pg7c2qQFkK114R2VvS++Vnpzq1mqIsldHJ09TieiOJYF0/sWOl2qaav2RnrOe5KgP1+P A+q4zVVKO8+au0O1M/pglkECxbjFUolkI5TETBFhEfunqvZpSOhZt7o8wwUhJ0gkdA0VQw 4TLNPpX0PekIgki8fVFg3t5WN0xKj1xRA0CI8QIzTvRHJYE6fW9Ro5OCeedJCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RSM2P38Fkzfw9 for ; Sat, 19 Aug 2023 01:43:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 37J1h98B088159 for ; Sat, 19 Aug 2023 01:43:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37J1h9Hl088158 for bugs@FreeBSD.org; Sat, 19 Aug 2023 01:43:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 273207] pf_syncookie_mac for IPv6 random cause panic Date: Sat, 19 Aug 2023 01:43:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dev@rincat.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273207 --- Comment #15 from Rin Cat --- #11 0xffffffff82abac5a in pf_syncookie_mac (pd=3Dpd@entry=3D0xfffffe00c5fc3= b10, cookie=3D..., seq=3D) 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.=