From nobody Sat Aug 19 02:07:02 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 4RSMYz2RVsz4g4LC for ; Sat, 19 Aug 2023 02:07:03 +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 4RSMYy5m6Kz3Qnh for ; Sat, 19 Aug 2023 02:07:02 +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=1692410822; 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=8/Vk8Fv3c9hAyaz2/FDMIb+ArbUzZpmTM2kJHsz/XQk=; b=bbrQPmidcd3gtsD2ldaYBDTA5/DduA4MLO8ashHZXFwf8N+jqk7UnELqW26fZ97jxpjG92 +xCWrFJV8YbsgIk/cmYpgyANLcB2uJgoFn4z+RhW/lig/V9vt8S+VLxNbL6HF2MqVNn376 LF4vEjliY4Crh+KbuDeu8tfX90k0mv8GxHt78wJF7jZbR+xyIYSixNJHYlRGMUyHmgxaEJ kJfY5I68BfDFWIa6BSGdEXTH4/ovGeBkfHQrnFN9SVdCuA7Tmti/8adGLzGhevLVAe6YX1 JtMoQfd8YZQfxncTF0kC7Qx8hMx1+XO8IEgWSyhrX0yD/zlOmGHsDrEM7LmBhA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692410822; a=rsa-sha256; cv=none; b=dfaOXdw/Qie3UNGUqagcdj7mANO6SHUsXmSv/5A5ZnMWbuoMyw02pkF0GhMgxlxZIJ2U8z m94pFEvFw7qFREoWxV4aNe4KpsWbXBj6GJrgSUCbQFnkyVO5ImdsHr5LbPRKHmXj7Ke1rr BgetpcMLCvGcwhQdznqzFOpCUqJ379pAizm7AENlqklHpC6Z8izgDyqSTKI4UHshrQ0/uK 8vaBSBqWZ0n7y1rGxspQ/O4FBReUgWMKZl58qzJMmMSBxRr3McWcqctGKw0Tnwck5E217Q OJZg0DgAKVvEbebd15AD1XrxHLTLpB1L01K/K0nM2NSHcHANPx0Fn5oGy0rDAA== 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 4RSMYy4qbLzgQ3 for ; Sat, 19 Aug 2023 02:07:02 +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 37J272hb022493 for ; Sat, 19 Aug 2023 02:07:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37J272M5022492 for bugs@FreeBSD.org; Sat, 19 Aug 2023 02:07:02 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 02:07:02 +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 #16 from Rin Cat --- Not sure what's happened,=20 SipHash_Update(&ctx, pd->src, sizeof(pd->src->v6)); pd->src (struct pf_addr *) 0xfffff8010a3cae6e become (const uint8_t *) 0x0 in SipHash_Update Before=20 if (ctx->buflen > 0 || len < 8) len -=3D SipBuf(ctx, &s, len, 0); And you cannot copy from NULL. bcopy(*src, &ctx->buf.b8[ctx->buflen], x); --=20 You are receiving this mail because: You are the assignee for the bug.=