From nobody Sat Sep 27 15:15:07 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 4cYrbw3SCLz68F15 for ; Sat, 27 Sep 2025 15:15:08 +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 4cYrbv0rnFz462S for ; Sat, 27 Sep 2025 15:15:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758986107; 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=pctblROj845oXyJGGg/kSW3xwkuflr+MQ8+/q28l1KM=; b=CGIOUQm+yJuENLp6qHREOYO5cVb0d/HtiqawqskijePubi49hrklWjOFnETAqFEwnKsu/1 73gF2WB4qNnrKSyHCTg/gemM9jRAiBTkFcvHF8X4o6J4pq7Bz5TywqoJp37XEf333w4CLG iKKwyRfmLw6qsHo3Qzn4PfRuBI2YKXpfA5fsCdhg+dK7G+axk7+ijjaSfaOkKF8kDb/qKb sTiRL/0NbvjFp+rVQo/WQk5BbNQsIa9WcDiJSyOa/OkyaLZIYmwL3zcqR9szi83w6+X4wq bkfD90vyi3qCqAWHOHcY+L16taQJMXzBW6ykHzFZOdijFAoPbJgiwr9ACmDfEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758986107; 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=pctblROj845oXyJGGg/kSW3xwkuflr+MQ8+/q28l1KM=; b=tC0YJd7R9jxkeCZBGLH3DgVSaSE7vMg4393XrNUN65hGRZDZT+NKtNO7U2azDyFix8iLdO 8ZnlyWDQpzE9Ai73CnvblOUC4YJD6iGlhQjUZi3dRS4IUvY3rIMQFUhthUCu4uOmstlBQK PyWy+obr4IY+mk6RYxsRligLXzo+uwsiTWUqeDiJb/MHqd+Z0WFnfo9PhQKHInP19bXKNI KeQV7qUm2UCHoYDSiFtAvdb1VEl76oiOn2RMZpFanVhpFObw1QPkwT/c3DBFcylRvBJue9 E5P7rsHgDPgC2SjajWeCYnDifeMfKwJYv5meuSM2BOIO5+K8fnn33krczttmkA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758986107; a=rsa-sha256; cv=none; b=jw/u0ON4RP8ph53JNjhR2cO1hTS1ekbA9zJ2iUvw+vPBtC2N/XrauoBHy57yMRaEQtUL8W lBmuXkXEAws3om7ePJj+nIbuhe++8peGPb65aGoLCcS+eLaElwIpA6w8pcXA4RMm6GzE+F QemgxncrFL1NWw9BqBJ97iarIg0ren2eC6cWoWwD1AUOOWhXSwhOM+5RXi4SLjhk4wBnoB P5JIwfipuljtjFjtd8EhsE6mAgjmHlhkMuTmzop53o0G/3aqvUa0K5kwngGZJpMR/ULBVm 9nhkGFAWCeDYIp7qcwU6Lxzaoan6ijq3XOQPEPszXh/zkXsWJXVIoroja6ETbA== 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 4cYrbv0NhQzftT for ; Sat, 27 Sep 2025 15:15:07 +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 58RFF634073088 for ; Sat, 27 Sep 2025 15:15:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 58RFF6dr073087 for net@FreeBSD.org; Sat, 27 Sep 2025 15:15:06 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: Sat, 27 Sep 2025 15:15:07 +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 #3 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Ddc32441e3825a90027b61259c3c77ef6e= 213728a commit dc32441e3825a90027b61259c3c77ef6e213728a Author: Zhenlei Huang AuthorDate: 2025-09-03 19:16:40 +0000 Commit: Zhenlei Huang CommitDate: 2025-09-27 15:11:37 +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 (cherry picked from commit b5c46895fdddcdb7dd1994598925d6989ea7c8f2) 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.=