From nobody Sat Sep 27 15:15:08 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 4cYrby3lbGz68Dh0 for ; Sat, 27 Sep 2025 15:15: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 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 4cYrbw6vvbz460C for ; Sat, 27 Sep 2025 15:15:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758986109; 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=risV5sX84V26t3X0ySvTFCoGvyTK3tzJVu0XksjHy6E=; b=rbIboxX9NgO5oVJ6uxAbc1Op2YK1DaN5pVCYOPKU86XByT37Li5nyyBl5fWVTI8MvVZMX2 GImRwYYa5t0ZKPHsvdhZH1HWWNIAYhlIb9OjfrBrXmvXoA7e2DDasSSQ9W+7aYeFOVwYCA sRxHJr8O769vN26rGenie8hUvQ+8UHELVDMoYKEC81KxHJW3gkketR7FfqCDJ9uYu1RDDe 16zHv9NbXHB2zUPi3BaRAoA9Hi6uIITYNThNcWpNyN4cqR/5UGCoppUg9B+waLKRCvlNUN qJEWIV0WSRLvkOl5zXNuR8JhVyt6x7sQcuMM63z+A5GJ84IXaOyPiniQuKygZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758986109; 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=risV5sX84V26t3X0ySvTFCoGvyTK3tzJVu0XksjHy6E=; b=pdQ4sNTMZUY2XtsDs537LHhLZm8/b+HSAJIHgpVZrv8os1j55O68urqksWtZjiLbOiK1be omMApRTMJHFNEvESQwBhSt3xPcZKy6Y63dSGida2wGEc/pNC1AjufAiOltRlej7j02cxRy ksXVXP9mzXJm7zHesxWLX4YMFtZlyjLiRL8ttu/Hz4js+sjmKKRTAhfrOe8IUjmcYExN2A ol9hN0kur2OjsJ3XQrklhtvxCL3XfrHryh1p/CbM70cytzEzSPzxqgDF9jl43cFiuyB6n5 B4eXAZ7RhUnDprVQVtB+PIls1EahSECTfgNwgcFHOzB9Tjpo+q0e3wl+Z3b3jA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758986109; a=rsa-sha256; cv=none; b=TfH3f3vtUGOFCmfNF+AbjKZItk0ebSYXuo1C9JNGwr286bdZmXZuAtxdxbTx+PEXJ3sc4c 6e+VSo72aSuIyJ6tbpEQdJiDdYVBv4U8C7LuQRxP4/NFh4K55CvkuecwX11cW4tWZBqwr6 AtIS/J/xzVJOunjwpqWotl8qbST1h8R43toAD+IPWdYhFGLsDxBUES1ZMVvO80IcLHiasu EKjpFRISxtUW7MlAUe/2n886N9USNSXzSjzbXajmL1Sco4UUSDydvg9BZJFQGKpNFXf19k K99o+XHOhK7kUkZjTlARrJhthMRZiYsxlnu1bM1Smyz9biAZe90QrYA2LWfeLg== 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 4cYrbw6TTLzg7K for ; Sat, 27 Sep 2025 15:15:08 +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 58RFF8UL073169 for ; Sat, 27 Sep 2025 15:15:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 58RFF8O4073168 for net@FreeBSD.org; Sat, 27 Sep 2025 15:15:08 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 279653] Page fault in in6_selecthlim Date: Sat, 27 Sep 2025 15:15:08 +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.0-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People 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: needs_errata? 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=3D279653 --- Comment #19 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.=