From nobody Wed Sep 3 19:18:19 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 4cHC7b53yfz660gb for ; Wed, 03 Sep 2025 19:18:19 +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 4cHC7b4XFHz3V4k for ; Wed, 03 Sep 2025 19:18:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756927099; 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=3Tw8O6CovK7nnR6tAQGM4jE/zxMFtIpk/RpizY3EQg0=; b=ynbhABPLxhoue5hW1o2KogKydghWHUz+AqUAVW+23vVbcp+69AB2VsKNmYkJpxNPWlhU6x t/Zff//nvcQUoIatt+jW6qTJUm1SeXfAZxRKIvtMxn3slvWSi8amz/VtVAuhRed1r/mjve BLIG00oJrfXvFk+wEZy+O3snTL6hIZwbTeW2HxB/xY1uYY/PlMwGkfNk9xq3dJ5D4b0wcI sWCVrVyfCCDuy/S+AJ8oOCy6fV46EHT5haFH7Q2mSXK3FZ8TBqTebxWWQninmfyYMeLc9g jNBKEP30XBN/RaU78jDStd489VHkoYB0oiiYYOguhBDrXnbYpB9mqVwWwPCFyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756927099; 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=3Tw8O6CovK7nnR6tAQGM4jE/zxMFtIpk/RpizY3EQg0=; b=tuS3cRELRcwZmDUAJg6BQft1dS839z+/LErpXh8iDm952TqQnByA+GCfaCuyq2kokTmdi+ Fc1TiaHGsEEX9Yp3NomPA86JffmiqQDrYvj4i/yw0P4FmNu454LbScyk42sis7X4ywGtkv qbfB/SR7QXYMRmv5vWd2dnQe0jwsdDjcS7KExm9gph5g6C6xwMR5wjlGABlEts/dt2wp/1 2WwbMT1Xpam2iX6ao5L+MtpY8ltasR6yQ348MsyWyi8Dxv98da7vpgIepDce3BkmtFPJms tOTG301YTsf7zrJetMFdzuGTTrMuqBezNhVedkUqWQGPHN7zhb6h4hURD41FeA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756927099; a=rsa-sha256; cv=none; b=bvzCQtegiRzN2f8FUn2zwjBEExhikrQqtQgbCZHbX9JZrNL9uLeut7pNV6rjWGdEAF19OP 5o9AmvC9X1p5DM+7iDruiJ/lDvKHO03ZFqSkCIEkBQyk8BjHkXUbUy18kU0ex5WCMFkON7 06Vpgy4cHlphk3SbxEx47aEcXzJ7g4Afb/JIW2l9e2moDQomeI7itBrQ1D0XHC2t5Y93Li Zy2S6/EYyMzacwX6J0UYZMX+xlT6R6nkuO75QgCnOB4DQ/zg/e+LTRSztM7XzYXh7Xk3YD dtPwUwxPJxmzHMZdzhI81NuQuZVyBnW6yDWPxU021mDgtXecy7NeGGI3Mo+Pzw== 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 4cHC7b3s3nzTh9 for ; Wed, 03 Sep 2025 19:18:19 +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 583JIJu2005655 for ; Wed, 3 Sep 2025 19:18:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 583JIJ0X005654 for net@FreeBSD.org; Wed, 3 Sep 2025 19:18:19 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: Wed, 03 Sep 2025 19:18:19 +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 #18 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.=