From nobody Wed Sep 3 19:18:21 2025 X-Original-To: net@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 4cHC7d4sD1z660TF for ; Wed, 03 Sep 2025 19:18:21 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cHC7d4HnWz3V5C for ; Wed, 03 Sep 2025 19:18:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756927101; 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=znBiDp0+9ZOQMYfSJukRVDdO3GYopB/nprVlgVinpS4=; b=qmCYrCj3bo9Em1qzkISqmxfNKYQGTbW2HgC2bK3rX0NclvvMCy0Il+jqpYByGLOLIdZSai c+4B8PCIslYUSuoK3IW1gs1fuNvKoq8MPAbHAtrxOZ+EAI9nQTM74dfOc3FCfCKGfnGyA2 9gQPfK2ZUCG2VXApu8AH/ULoNMAqwpBaTF0Vmz/Ov2VAxAEFJvj/HBcbLeCfVFbO27o/68 zjERdz+R8tqtEk3qYO3jZ4NHzaqvg8+APtRNigqw8of8tw3yOo2yae9cRvCfs1xCoAiWU9 izKncrMcYEQlw3AydzD8wtuKp4gWYKdZrXNCDyQMWn8NHS60F9CE3SkfW5nNIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756927101; 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=znBiDp0+9ZOQMYfSJukRVDdO3GYopB/nprVlgVinpS4=; b=jOO46Owg6hZamaEwvlaam6ZKckOJ9LGUC+vY3hF+RxMrnmMzFkoDNVq0j1RHx8aJHgnq/s GQxxJOCc+NRhp/mR8K+y0jYbdHhD6jhnfgX3CzlYIc2bdBYCaz4HIh5WBr/XNlmEwZciw/ /xUZUowBMEEEbdu60KOVbeLpE17zX7z0cBI+0CpkWmX22mcc0GBpZ0+ruCKkpOwSJi2nGK l8I1q5DNFfKeQRjzFW8Iy+YIfeVIf7ooPRfuAm9nrSO9L+Ax3oGb359Vjd8Z12lwjQ7VP9 MNanefTpK02sjRaLbeP5lg/x0tByj5YexnC5B96E2/xXLPuoHI+ukPuwCYtHWw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756927101; a=rsa-sha256; cv=none; b=fzXGhBERyaNGOEgXTqSodHwY5WqyTcdQbEoZpI4NXVPoIXHrvxOh/cOmPpSyP99VWKp/1s 9gKmknulana/dzrIIOaZFdH4HJvXnBpFfaXkX5PA27zs1Jt6MAZMX4G3I/h23SYPDiuLzh 0D+P75kwQtwlUAwWoxaarHYV78fUBRR3Cq3YzbFfhPe4Qo3dWfDnFgS/i6J9rqshpalS2E eRzNa+GKlz0hTgjQUVakQpqev1BzMNtTMyIS3dtfmxk/ReDxD5XQGzJ36cifad+pJQASNb +n9kuYWpJ2unKAEKYs8gNceb1LrrDWoQpZ2puiybsdKXHx/6N4MJekcAJMXuAg== 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 4cHC7d3tKhzTkN for ; Wed, 03 Sep 2025 19:18:21 +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 583JILlW005695 for ; Wed, 3 Sep 2025 19:18:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 583JILox005694 for net@FreeBSD.org; Wed, 3 Sep 2025 19:18:21 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: net@FreeBSD.org Subject: [Bug 285129] netinet(6)/route: uninitialized access of ifp->if_data in ip6_tryforward() with PPPoE/ng interface Date: Wed, 03 Sep 2025 19:18:21 +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: 14.2-STABLE X-Bugzilla-Keywords: vendor 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: net@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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285129 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db5c46895fdddcdb7dd1994598925d6989= ea7c8f2 commit b5c46895fdddcdb7dd1994598925d6989ea7c8f2 Author: Zhenlei Huang AuthorDate: 2025-09-03 19:16:40 +0000 Commit: Zhenlei Huang CommitDate: 2025-09-03 19:16:40 +0000 ifnet: Defer detaching address family dependent data While diagnosing PR 279653 and PR 285129, I observed that thread may write to freed memory but the system does not crash. This hides the real problem. A clear NULL pointer derefence is much better than writing to freed memory. PR: 279653 PR: 285129 Reviewed by: glebius MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D49444 sys/net/if.c | 26 +++++++++++++++++++++----- sys/netinet/in.c | 2 ++ sys/netinet6/in6.c | 2 ++ 3 files changed, 25 insertions(+), 5 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=