From nobody Mon Nov 23 12:11:04 2026
X-Original-To: ipfw@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 4jY4Xm4QFdz72ls0
	for <ipfw@mlmmj.nyi.freebsd.org>; Mon, 23 Nov 2026 12:11:04 +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)
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 4jY4Xm3rP1z4TB8
	for <ipfw@FreeBSD.org>; Mon, 23 Nov 2026 12:11:04 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795435864;
	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=K426eCCuBycOj0bfoek/sbUVjL97RhLB8gLlwIaVoKE=;
	b=GAaWkq9xoD4z4p4ZeE9XhRvJl7OgTm8FBWVZ5pyBwjYDjkMJA4AkfcNbFinn73wolGjT/u
	Z6Nv4ff5VyXwkr8cEkCgkqaGIv7LZ/e+L86+NSJelevfTBsCPAT797ZpeSJFpp7qDKNrjs
	IdENdisEK7uYuEH8gpn318E26i4O3Y/qE0Sy9h1b+N1VrNVArUEEYJlov2/Y/1fJjZu+P2
	wuEFYTfPLxXfDrpqW76bALFlbdI9i1VHYwCyMedr8p7hgQOigOGtVNttzG8N3rh4ip0Lq9
	DLcHXw3xXV9ND14ulKV42s7fCiyZSK+sfxmFYGr0Y4YToVjZmySl719nMgGCbA==
ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1795435864;
	b=jfP0mThSUI5NISj+f9LN9J4PqofmFdt6uPti7Mdrdz+G2PodTNKgkRUU0JNRCBv54OfEJV
	+roAzd+OwDW1DTfOTjxG54z7bKYo6KzTqXmPC2K8mjV7p8nw3yAzD7+FscvJCmxC8UfNmn
	6gHi5WAspOomZPpBkKuAUuD85iHearSy37YTEcg0jMTFYiXqB+84HR2S0po6iJVIu2v5T7
	m85BypFINox1xml42bcsmPq6p83sxWfMVSRqVPCFRWFJbRPt8vFRgXbQPbGe4R+1CQvNT1
	mtIeNnaKRIAGq34Xh0+v3IgjDN1Ah1vmYHICvbt0/Raf450S4IrVLd38Q75GMw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1795435864;
	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=K426eCCuBycOj0bfoek/sbUVjL97RhLB8gLlwIaVoKE=;
	b=gZksq5P40LmAy8s+uiaieZsQcLa1gM5ah5z1HoO5KRTUQxpKyvdRZCE0DFl0A0NSGBmyrj
	kG89ngu0UsivIRRSZwAub4kkSx+nP2vy0thlgzvWm/wPnLujzARl56/YydpNK8BYl2C287
	ynpzWEL31CzgTt5VNmpBZY4hQTOPkBEaDxGmWA495pz+/7IoTXZIxnJEk0WislL0ujOYzD
	a9We/0/vKxT9QJCaeectwFiNfxEdUe7i6tQuUFr8TI29rgjda5Pl+gDqLfF6fp+mqKpF79
	HwlDqTatjH4tmOLN8lq71Kjui884IlwYBT3RBi71v4rhawmMIfpMyE787sRrZw==
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 4jY4Xm3VqNzrL0
	for <ipfw@FreeBSD.org>; Mon, 23 Nov 2026 12:11:04 +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 6ANCB4ff014959
	for <ipfw@FreeBSD.org>; Mon, 23 Nov 2026 12:11:04 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from bugzilla@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 6ANCB4C0014958
	for ipfw@FreeBSD.org; Mon, 23 Nov 2026 12:11:04 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f
From: bugzilla-noreply@freebsd.org
To: ipfw@FreeBSD.org
Subject: [Bug 300803] ipfw: page fault in ipfw_link_table_values() when
 adding many distinct table values
Date: Mon, 23 Nov 2026 12:11:04 +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: 16.0-CURRENT
X-Bugzilla-Keywords: crash
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: commit-hook@FreeBSD.org
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: ipfw@FreeBSD.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-300803-8303-RjxK9INblw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-300803-8303@https.bugs.freebsd.org/bugzilla/>
References: <bug-300803-8303@https.bugs.freebsd.org/bugzilla/>
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Archive: https://lists.freebsd.org/archives/freebsd-ipfw
List-Id: IPFW Technical Discussions <freebsd-ipfw.FreeBSD.org>
List-Post: <mailto:freebsd-ipfw@FreeBSD.org>
List-Help: <mailto:freebsd-ipfw+help@FreeBSD.org>
List-Subscribe: <mailto:freebsd-ipfw+subscribe@FreeBSD.org>
List-Unsubscribe: <mailto:freebsd-ipfw+unsubscribe@FreeBSD.org>
List-Owner: <mailto:freebsd-ipfw+owner@FreeBSD.org>
Precedence: list
MIME-Version: 1.0

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D300803

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3De6e4e05afb96ab8ccd0473a13ce5b23dc=
573390b

commit e6e4e05afb96ab8ccd0473a13ce5b23dc573390b
Author:     Andrey V. Elsukov <ae@FreeBSD.org>
AuthorDate: 2026-11-23 12:06:03 +0000
Commit:     Andrey V. Elsukov <ae@FreeBSD.org>
CommitDate: 2026-11-23 12:06:03 +0000

    ipfw: fix value index allocation on shared value storage resize

    alloc_table_vidx() treated a successful resize_shared_value_storage()
    as complete success and returned an uninitialized vidx instead of
    allocating a new index in the grown bitmap. The removed restart
    machinery in b0c13e7e2446 used to handle this case by restarting the
    whole operation.

    Also refresh pval pointer in ipfw_link_table_values() after the resize,
    otherwise the new value object is registered against the freed old stor=
age.

    PR:             300802, 300803
    Reported by:    pouria
    Tested by:      pouria

 sys/netpfil/ipfw/ip_fw_table_value.c | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=

From nobody Mon Nov 23 12:11:05 2026
X-Original-To: ipfw@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 4jY4Xn5n1fz72ls1
	for <ipfw@mlmmj.nyi.freebsd.org>; Mon, 23 Nov 2026 12:11:05 +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)
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 4jY4Xn4Pf0z4T5s
	for <ipfw@FreeBSD.org>; Mon, 23 Nov 2026 12:11:05 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795435865;
	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=B558jWUYyzRjH0EabxMt5K8DFJWSo2dmCEtsddW3pLA=;
	b=WjGB6XrqqmZ2COo65LnNMlDlZQX8DLQEThGIraC266+HHj6+4hw3rpdOZnyVOQjrBoeklR
	2t0PbAobuEAs9Lrcnjl6K6ERcvHOBvi87C23V0xEqlSJdlOgG4/K5MHa4qSJOq0XUxLAw/
	LIY/8MXTmqFQP61HHDdd6T6l54Avi8n5BC/1Ge4uCeAyzE2Xge2Oh6eYhNZ2VOssvBE+zH
	Y+lmjQVlqbaB0iEeZaSpJZBekTXAxG7OILxzASt8mwhLHXOCq8mOeOs7AaGzghoeq7+kG2
	lDVKZG3hQ4EEYOOfMoK6O3oauuQ/vzA9RRqsz8vj4DaGTOVdws+Zo2ZEb0L74g==
ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1795435865;
	b=JPPerYaua4ZiL27j4Jl6KKMNfPVpjPdYQw3TyfsSQ1ctQKEOfXJlqUaqZAtEq8mnn0/wQt
	JBJBGejh/K+1aV+JTEiP6hFyuVxgrruTfNMaIndp5HXHKGQWW+dPF/ivGEN5zHTLARG78/
	LllkXI6o783V2EJH67e2AvKCYogrdUIDOhy8e2cHGFvKvzgipKCmpE+TgUhOdDsuXnHoWf
	hiYCdJ/g41KQtTNKnCwgeIi0Q6swrac/0oLa0J5IoIxgYHHbaH7hfSGIICv0HbpPyxq7Rz
	6aekDLeT4FqXpWlleJj8VLfIqEHMeVcSyYXxw3NicAypFfX5PwvwbpRBWQjObA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1795435865;
	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=B558jWUYyzRjH0EabxMt5K8DFJWSo2dmCEtsddW3pLA=;
	b=llEntw7T48hjMpexOoG/fuBIMSuuPgFqrNn5Vo1smjhtNe86e19k/+RsUcU4EIS74cUeHy
	FbSLUiBfh3gbLLDOxQl631uH3l+TLScTYYrYAxIHZNfEDRi7Ot5rwyaDVyRRSUtbYLgfMy
	JBtxx2XP3tVuuje2ebu88qXcb3wPyeWuhCcsVL4EQrcBVQRhmyVLV9pnbeVFsolyN2c6Ch
	FTOIQAkfdej0ujpRflty/XsZuay8hMMAqzYfXq8KZBLTrwtpRwLLH72zQQGfL8ayVK7SMm
	uKfOadkyw0hOeiyMtO2KUFHPHXYkzztCDxkfzBD3WMGgTzHif2dL8HkLoUIu3Q==
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 4jY4Xn43xXzrL1
	for <ipfw@FreeBSD.org>; Mon, 23 Nov 2026 12:11:05 +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 6ANCB5m1015018
	for <ipfw@FreeBSD.org>; Mon, 23 Nov 2026 12:11:05 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from bugzilla@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 6ANCB5q5015017
	for ipfw@FreeBSD.org; Mon, 23 Nov 2026 12:11:05 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f
From: bugzilla-noreply@freebsd.org
To: ipfw@FreeBSD.org
Subject: [Bug 300802] ipfw: KASSERT "Refcount is 0 on kidx 63" when
 destroying a table with 64 distinct values
Date: Mon, 23 Nov 2026 12:11:05 +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: 16.0-CURRENT
X-Bugzilla-Keywords: crash
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: commit-hook@FreeBSD.org
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: ipfw@FreeBSD.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-300802-8303-dyd6lQge77@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-300802-8303@https.bugs.freebsd.org/bugzilla/>
References: <bug-300802-8303@https.bugs.freebsd.org/bugzilla/>
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Archive: https://lists.freebsd.org/archives/freebsd-ipfw
List-Id: IPFW Technical Discussions <freebsd-ipfw.FreeBSD.org>
List-Post: <mailto:freebsd-ipfw@FreeBSD.org>
List-Help: <mailto:freebsd-ipfw+help@FreeBSD.org>
List-Subscribe: <mailto:freebsd-ipfw+subscribe@FreeBSD.org>
List-Unsubscribe: <mailto:freebsd-ipfw+unsubscribe@FreeBSD.org>
List-Owner: <mailto:freebsd-ipfw+owner@FreeBSD.org>
Precedence: list
MIME-Version: 1.0

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D300802

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3De6e4e05afb96ab8ccd0473a13ce5b23dc=
573390b

commit e6e4e05afb96ab8ccd0473a13ce5b23dc573390b
Author:     Andrey V. Elsukov <ae@FreeBSD.org>
AuthorDate: 2026-11-23 12:06:03 +0000
Commit:     Andrey V. Elsukov <ae@FreeBSD.org>
CommitDate: 2026-11-23 12:06:03 +0000

    ipfw: fix value index allocation on shared value storage resize

    alloc_table_vidx() treated a successful resize_shared_value_storage()
    as complete success and returned an uninitialized vidx instead of
    allocating a new index in the grown bitmap. The removed restart
    machinery in b0c13e7e2446 used to handle this case by restarting the
    whole operation.

    Also refresh pval pointer in ipfw_link_table_values() after the resize,
    otherwise the new value object is registered against the freed old stor=
age.

    PR:             300802, 300803
    Reported by:    pouria
    Tested by:      pouria

 sys/netpfil/ipfw/ip_fw_table_value.c | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=

From nobody Mon Nov 23 20:46:09 2026
X-Original-To: ipfw@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 4jYHz60m7hz71Xc8
	for <ipfw@mlmmj.nyi.freebsd.org>; Mon, 23 Nov 2026 20:46: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)
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 4jYHz60Ctxz4kGj
	for <ipfw@FreeBSD.org>; Mon, 23 Nov 2026 20:46:10 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795466770;
	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=Zfwim/Piu1wc8ynuR80g5Z/dBNgzwZuVThCaqNfH9LQ=;
	b=cRjIgLkreQHpOoxNylXikcQ5ZJhEXy+dXu/wVHycbFrfWVxIezxpLmIRhdL52jwPTTnpxh
	arhufz1qlLZ9cPLTCSP8mPhRLuiuTKnR1GUubuRU68XthKFMpIjDB5Qtk7+hRlgLoSQmoA
	UJNHFVrmknvdc1ED5N0+2mUFfqIwZgqkY0GjyD8hJ7eXGjjbpDnF0KRYjYJ6Db+nVTeWg+
	jXeZN0OAbP/1wjBU3tf4cciaZYExKfxR6p5MVc4yTAYRGJzLKXoCgx5a9Vs2Sg6ssYIUvI
	jv5Iz0ZvCseRIjzoqh4AekBgGDgkCvr+jkbwzpGjDqOdcXMLzjbVFpAr2sZ+LA==
ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1795466770;
	b=vhSP+ZK5jFpQ5xdktQLNCxJAVR7Ox0BqTOZVC1hDgdZN20aI7uM+OXpUyY8sGkJ6gJLr6q
	kP6IAYVeH243MWkGk+fNY1Wj0EajsIUZD0HTOwTEpHg2srjdPOqexeao5lNoASH0tMTkGV
	KeoxcNKzYqN+3wDI4BV3UI3ei1HwTwRzmcIhbTLG7Qo5rQJxXLOODLX9yzRNFAL8hXTXHQ
	/Zga/rhkqdVpddK0DQnelGS6C8agE/BtxnGcg/6g55oUCP6s+xBakMXfEKMbFFwp60Qt8N
	Tp1F/bKG2kEH1q1f44kHoLJc0fBb9hFoBwjqXUP38f6ZewLKaQeOMB9rjYj5YQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1795466770;
	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=Zfwim/Piu1wc8ynuR80g5Z/dBNgzwZuVThCaqNfH9LQ=;
	b=uiarLX0oGjzl4w36sMQEe8D1cPMFA5QOXfEQXtQjWfKDOVOJv1rmecd9sL9F2DVqQe5sl8
	nFrRO2KN7Vh2QmsGZQBYEjILMpB9T7398itxE67AJb6VtT2nQT61/rQmXjYEKFnXVi2NNs
	TxZUVTvlHVMvyo2JTOjgRBXGxd+WgY28jIBhuOoYvlJfq2Yj+TA5g0EBIbfYcT361g/8VX
	Hydetu1ZSbjVRRlsGETjB1UZ0ZSR2ZZ4zhMqD+3TRVYkaysjEImZb09vCgdHtC9M/T8Yph
	5aJaIaEyupWmQmVYXqnw3GloDSuidyQtvYVwD9GGJqKF/bB+RXqjtPJ9f0vm5w==
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 4jYHz570qbz15xs
	for <ipfw@FreeBSD.org>; Mon, 23 Nov 2026 20:46: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 6ANKk96U016813
	for <ipfw@FreeBSD.org>; Mon, 23 Nov 2026 20:46:09 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 6ANKk9Ct016812
	for ipfw@FreeBSD.org; Mon, 23 Nov 2026 20:46: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: ipfw@FreeBSD.org
Subject: [Bug 224485] [ipfw][dummynet] "REDZONE: Buffer overflow detected."
 after "ipfw pipe show"
Date: Mon, 23 Nov 2026 20:46: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: 11.1-STABLE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: Osvaldo.JaneriFilho@amd.com
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: ipfw@FreeBSD.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-224485-8303-4WOzJwgKyl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224485-8303@https.bugs.freebsd.org/bugzilla/>
References: <bug-224485-8303@https.bugs.freebsd.org/bugzilla/>
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Archive: https://lists.freebsd.org/archives/freebsd-ipfw
List-Id: IPFW Technical Discussions <freebsd-ipfw.FreeBSD.org>
List-Post: <mailto:freebsd-ipfw@FreeBSD.org>
List-Help: <mailto:freebsd-ipfw+help@FreeBSD.org>
List-Subscribe: <mailto:freebsd-ipfw+subscribe@FreeBSD.org>
List-Unsubscribe: <mailto:freebsd-ipfw+unsubscribe@FreeBSD.org>
List-Owner: <mailto:freebsd-ipfw+owner@FreeBSD.org>
Precedence: list
MIME-Version: 1.0

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224485

--- Comment #2 from Janeri Filho, Osvaldo <Osvaldo.JaneriFilho@amd.com> ---
copy_obj() writes the whole struct dn_schk (192 bytes) for a scheduler
but only reserves sizeof(struct dn_sch) (92), since 0ac43d9728a7.  KASAN
reports it on the first "ipfw pipe show".  Fix:
https://reviews.freebsd.org/D61962

--=20
You are receiving this mail because:
You are the assignee for the bug.=

From nobody Tue Nov 24 13:30:40 2026
X-Original-To: ipfw@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 4jYkG80J4Cz717fB
	for <ipfw@mlmmj.nyi.freebsd.org>; Tue, 24 Nov 2026 13:30:40 +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)
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 4jYkG76vr3z4RRb
	for <ipfw@FreeBSD.org>; Tue, 24 Nov 2026 13:30:39 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795527040;
	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=EXDN0E9B2oDIiUG5dbNfkeugyEKYE5ES4Z94PFyAcVU=;
	b=jjiwA/7TOgJCyZwzimWpPU2x0yXtA0bzqe8H+nsaum3amYJSoUU+SRYPakrqmEEuYHaBsU
	NJ/HKgiRVSL+vQvYsGCuYT6E+nI4mVvegHUnD9pFAOOe3Un8PHXp68rjfyIMJGmmyiWQll
	f3bNip+E1/Wc36g1t9BlFLnYbFeWsiFAUi9f4kqU66l/EKjKbeFfC5FIrTa8c0mTohspnO
	phrJK052U2ycbeKnKAVaM2MxgdC0QowgyURetQN24FJmSzSP3C33t0UBtowj5BpUVn615p
	C4T4wtWCNFVIziugYGb9BgyWIOZPYB7IGVJF2P3HZwjQwZyLZ+BA8oe2foMSWg==
ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1795527040;
	b=Kw1xYzOHtbZ7Nb4DTddjxStcnCRN5LnaZG0Eso87LpjyMXPSfjaK/27hL1pMBSfb/tfYYl
	ljC5Kvf974BN9c0nnU6Y7RqLyqIAhu9/AGKGwXpv+uywCkJrQEs2kJ6hz+VijcSxAwvjdq
	DxReckn8OiZ7H8mOSBPEff/0M2PKuwS+VgCDRBl9jbyR/wt82gOMz4a21zJZbIiUg9D2qk
	qK0lsPZADJMV+j49ohGMphBl0WiWrd2n5NjoftUm8/ryZsCTxakIkNCK0eq1RNkjnBXId3
	NI0XovAvK9v7O0FWwUXbov0VVH8dYaJWcOIxdiqcir2dGN7IO7OLfhWNb8kCrw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1795527040;
	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=EXDN0E9B2oDIiUG5dbNfkeugyEKYE5ES4Z94PFyAcVU=;
	b=BfCZLqq4WGA9nE/Aqx7hvWVhhpmJPc0dYoV2TlWaTl+IYPpjSCO6f73BouMs01ZXTpS+tN
	OVlbvojDc2HlKmjH4vwXZqJwA0zY8PNI2R4gSpACUymIuD4Z+oN9ASSMt8Bvxl9o8nRXFn
	bSdc9NIbjoVy78IftFrbBk3STSoZdacKtBCyc34MFpUBrKY20/mCksW9utlHnEEYfPBHi3
	PVQHGpRvZV+F+0vvzkulmnwo8WZvZHtLrZe3CI/fYsD8t9dVXmFQAHHFUWDIeoCHA0OrfV
	dfjBKWP4WS/UFFLoFK6hQxPo+bAokMRRuTlVCyXl04bkAMalvLg5my7XsMla3A==
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 4jYkG76b9JzhG3
	for <ipfw@FreeBSD.org>; Tue, 24 Nov 2026 13:30:39 +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 6AODUd0t097049
	for <ipfw@FreeBSD.org>; Tue, 24 Nov 2026 13:30:39 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 6AODUd8H097048
	for ipfw@FreeBSD.org; Tue, 24 Nov 2026 13:30:39 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: ipfw@FreeBSD.org
Subject: [Bug 300803] ipfw: page fault in ipfw_link_table_values() when
 adding many distinct table values
Date: Tue, 24 Nov 2026 13:30:40 +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: 16.0-CURRENT
X-Bugzilla-Keywords: crash
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: ae@FreeBSD.org
X-Bugzilla-Status: Closed
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: ipfw@FreeBSD.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: resolution bug_status
Message-ID: <bug-300803-8303-iEcPLLB2ga@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-300803-8303@https.bugs.freebsd.org/bugzilla/>
References: <bug-300803-8303@https.bugs.freebsd.org/bugzilla/>
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Archive: https://lists.freebsd.org/archives/freebsd-ipfw
List-Id: IPFW Technical Discussions <freebsd-ipfw.FreeBSD.org>
List-Post: <mailto:freebsd-ipfw@FreeBSD.org>
List-Help: <mailto:freebsd-ipfw+help@FreeBSD.org>
List-Subscribe: <mailto:freebsd-ipfw+subscribe@FreeBSD.org>
List-Unsubscribe: <mailto:freebsd-ipfw+unsubscribe@FreeBSD.org>
List-Owner: <mailto:freebsd-ipfw+owner@FreeBSD.org>
Precedence: list
MIME-Version: 1.0

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D300803

Andrey V. Elsukov <ae@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|New                         |Closed

--=20
You are receiving this mail because:
You are the assignee for the bug.=

