From nobody Thu Jan 9 16:21:28 2025 X-Original-To: pf@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 4YTVQx3Smgz5l3yS for ; Thu, 09 Jan 2025 16:21:29 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YTVQx1tBbz4ND0 for ; Thu, 9 Jan 2025 16:21:29 +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=1736439689; 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=poZ0sAr1foVkafzmOCWKyT+31K+vi+zJlBvxaBA7ZeA=; b=ia0W12bvM5ag4VsVKyTwXISMeHHDMEZ6MFa2aD8DWUW902gfEdI51jYk2CkV8AjJ3pPvex ss2hZ8vaMnv1CeHdfNxYKvmqrfVSpJzenwGqhvVvByLV+cJiuW4Ib+wHlsRC+YokNW0i17 A1QftpvKNSdfNstNSmKBbBfCHUqyu+As0lYgpC0cWXusCJn2RAu2XEjCbX+kdnZzBUAKTV U+p8ojInD0iZbc7WwOTVENTsJMcAZ7ekwRVbLPK8Wn87a4/ToF/LRDHjRCnb9tl7AYYk09 j8/gODZTMryc1/B0EoR8EVZXgxlnFNYT1Akb7yiUzTl2VVC9YJsDgrtaw9ycnQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736439689; a=rsa-sha256; cv=none; b=VHjXbDZJlFMI7uNQk1zA8i3RuFiSh6tqcbFuI69ykK1ydilYsN/4rA641gqp83mss5ztcO kxbD1Y3URX5/YgcasFrwCjjWRJLF8vjNuWlCkImEG3XQSMqkbYaSkip7pxivKVko7q9R9+ +/CCqbCC0QTg95UeZz59Y9BOvB26Dse+5aNQy+2GZbUy88xnsyOeKkYfP0JIZIbd/X9ToW MFkJHZAefSE7wWZKCjgFrU0xnp+j7JgTO8mGYWSEqMRONq67ORwQMFXMsqIQo3wLt5rLNs OftVSAmXdtn2KP1/2Adel0CrYr4JlS6CvoD4qQ5ORUD8m44/gWzoYQSKJyln9Q== 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 4YTVQx1RBczZ86 for ; Thu, 09 Jan 2025 16:21:29 +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 509GLTOg087611 for ; Thu, 9 Jan 2025 16:21:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 509GLT0H087610 for pf@FreeBSD.org; Thu, 9 Jan 2025 16:21:29 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: pf@FreeBSD.org Subject: [Bug 282496] PF source tracking counter wrapping around Date: Thu, 09 Jan 2025 16:21:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mkrzewicki@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-Id: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-pf@freebsd.org Sender: owner-freebsd-pf@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282496 --- Comment #7 from mkrzewicki@gmail.com --- Hi, I had some time to look further and devise a better fix (against 14.2-RELEASE). It seems pf_purge_expired_src_nodes(void) asserts the src_node_lock and it was called with only the hashrow lock there. Added loc= king in following patch: https://github.com/mkrzewic/freebsd-src/commit/464b5b9e787fa972ea65bae58a27= 7995e75151d0 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Jan 10 08:20:46 2025 X-Original-To: pf@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 4YTvjq0wYVz5jpFP for ; Fri, 10 Jan 2025 08:20:47 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YTvjp4ZN2z3xln for ; Fri, 10 Jan 2025 08:20:46 +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=1736497246; 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=ilyWtROIcj32zHtqX2sc1y3q52ffxLvYGP9Gj74F5V8=; b=JAZr1WGajhAMjn3XZAeO9dMAUT5HK71FZX37V2c91WcwJ6gTvxai6cQYawdOY6SFxD1HIS qt1fO8pS5eXvWjRwYrcVsGqFPQHQX42nbZVB1fZ4vCl+zskI2n/qkmV3qgvZWKOYQpXis+ SXrUvvCFJ6dTWsWZEdVNOtYDxhNy90P2JMcE4X+bHrZ/wEWIh+BV0ic9fYwO8m5FBXKn8f 5LE5eyBmygsO7dOlB9pOzpKZsZ8JOo7Br/rv1XRyG4h/8hTYIQO/ilDKxJBncac36BrVsx qPYCFfIbZmsnfq8FmWVhdWuqBihlD4TEqdxKUymOL1vTuNzWDbsXcRiyPc9e7g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736497246; a=rsa-sha256; cv=none; b=V3cJrbthXl7dxUr7RoUlciWpXclCkJExzCWf/G+6XF7GH6vvX+Ewulzy6+c1JW3kYUUW+W xXF4gGkY8Y18OZz5tP9523zNK2DTLzuYtJz3F/yNlQfI8iupZhGiZk8Zxz2v9nbI/ckc3i ScXXEHX+Qp0e4K+TsOqvxcGVNfFe9FYjy3BMcs5Gr0asTQ3baSsosH2bTRj7rrssFyGGFy MRzQCqfAdT244kiURm3lEpbHFb78fyehF0s7Svkfmg+kXcny5YPyxZ9X6KFiWITqBj7ppn PRXE/WYhRJfzCQrs7PCJPIG3RXR1rCfO2lxJwq1wXiU2ATY3Akh2gA/NUQSV0g== 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 4YTvjp45WLz13Xh for ; Fri, 10 Jan 2025 08:20:46 +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 50A8KkJu007832 for ; Fri, 10 Jan 2025 08:20:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50A8Kk9L007831 for pf@FreeBSD.org; Fri, 10 Jan 2025 08:20:46 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: pf@FreeBSD.org Subject: [Bug 282496] PF source tracking counter wrapping around Date: Fri, 10 Jan 2025 08:20:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vegeta@tuxpowered.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-Id: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-pf@freebsd.org Sender: owner-freebsd-pf@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282496 --- Comment #8 from Kajetan Staszkiewicz --- The issue should have been fixed in the main branch, I've started backporti= ng it to FreeBSD 14, but then Christmas happened. I'll see where I've left it. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Jan 10 08:38:55 2025 X-Original-To: pf@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 4YTw6m0fNrz5jrmN for ; Fri, 10 Jan 2025 08:38:56 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YTw6l6jp6z430b for ; Fri, 10 Jan 2025 08:38:55 +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=1736498335; 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=6oKo/B9Fzxb1NANf2ZAvob6AAXTvrFgFIXS3HAQGpFA=; b=mWQcb+bKoa4gje9d7ROcsoB/TnE38TUV7YXWIIGxTEm5zzzU5Cyejj4ekDaz3S0PDquCl+ 2mZnImtjNKSLrqDRHXtOJBy66IELCQPwReyOQnP6+YwISEvVitR96WhLWOj90byXhCOsZw SVCKZ74CtH9zO3dMSIGY03cpTE4a6ZaEfrv0lwdthpKfzB2BhBksYhZs15WgZNQ6ZOXgzJ vkwBaTIHWxNU08SSO84dYV1aR7iXiICoreRRkc39ZY/W0FBEAmOOwJkSgdPv+1gaVPQxRc h9tQvRN3OR+tni4aA/LU5f8uuSMLP6aNBqMQqAREgI5mXqb+7SVqYlZoSUvJOQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736498335; a=rsa-sha256; cv=none; b=x3H3X1C3HbTRVEIgzT8UmSD288gw0Bx7oTf03Njk/eAPUT/y+cmJ8WA70RuVwJ/BKYoI0N yxjKfv8vIm1p3bBJKvqQ8h/eOwl/lDXVvwYCKYizrqFvGcCCGuSr3aIttR5PLG41uSPlod b7UkxCdLyn4sS48oa3BMw8E2q4e1rSKvJf9F2GvhZVCby2VtB7us9rkhcUfoT5hTLPpx3h IVPP5xEkzAkX/4XR2jT29+5cW2eSh33Qxd2rF77d7XMrSAgKPkyJzXlqtAHjr49WqnOlaU EPKOZvKFopfjUXY9NlFLmszlFo0hNmRMkGFYmE6YoSOwdgUcgmpbSV+zDKYn4A== 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 4YTw6l63Cbz13lL for ; Fri, 10 Jan 2025 08:38:55 +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 50A8ctaj042027 for ; Fri, 10 Jan 2025 08:38:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50A8ctH3042026 for pf@FreeBSD.org; Fri, 10 Jan 2025 08:38:55 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: pf@FreeBSD.org Subject: [Bug 282496] PF source tracking counter wrapping around Date: Fri, 10 Jan 2025 08:38:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mkrzewicki@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-Id: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-pf@freebsd.org Sender: owner-freebsd-pf@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282496 --- Comment #9 from mkrzewicki@gmail.com --- (In reply to Kajetan Staszkiewicz from comment #8) ok, thanks, let me know if I can help testing on freebsd 14 --=20 You are receiving this mail because: You are the assignee for the bug.=