From nobody Wed Apr 8 12:58:25 2026 X-Original-To: bugs@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 4frNR61JBYz6Y5pX for ; Wed, 08 Apr 2026 12:58:26 +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" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4frNR56KLqz3WyG for ; Wed, 08 Apr 2026 12:58:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775653105; 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=WH7x9ONwPdkLFh6uloxfZl6heD3quBSsDiK1co4JEgc=; b=vGg7rz1rNivRXs8kCgUUsONzhdHq2B9AJqofVWp4KWWHZX2lWEhtxaLiak07ZPPZEDIHgU pNOIGKCaJ7F7PAXbmwHlj8jV+2lU7H5UH7Tk25T1Upkz+IpH8xZ/reWCKWjfJ9GgorxuMP 7gdV5BHhDv+LC9QilIkUuxyXjcLVOCE4C8tZCtbnnaom+8/4gVy677x63HjmD7dnCLt+eE 5vVeUpGhYmZbbNPygOwuo5Dq8u941/B5Jf0txeAVs+LHUARaePW2DUGIAcXHrn6uHkCdoJ LVk2jaIAfyiYDYDFSWjbMNaX/PcEnQFiDTNH4ZMH1uhyto0mBmcxqayjiDJSQw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1775653105; a=rsa-sha256; cv=none; b=fDjjX51Bm/Eroa/QbZpG87E8CbFt+vSsGz6Yms+AXSSheo+UU1WXEmCqLtgFqONJ01nk+1 vCxDnLrZyO2v7WIn4DTxsdwzKhcnw85XNDv4fz2IjEJphVXhyWBOrDRzN2vK6XihBKBMkz OPEvzI9R1F4Xma7HV88m4rfk6mEkP+J4suvX1dDSgyE2TFj5GBmQXFR5nvBHpOpaOu6zhP RmOBTv4NGt5ZcwRoeS4/RsDkLyYy2xz3QO0++gOnRsdEajeZPGVNJNrO30B0JmaLe83SaR ZBJhiyPxD+6/FM3sPaQAuRI2m7Q2YSXZKMmOFZde0jkue2HQfpfzMS6MJbr/aQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775653105; 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=WH7x9ONwPdkLFh6uloxfZl6heD3quBSsDiK1co4JEgc=; b=X+Hk9ohHh4ZW+iKrmr77sew4vGPfJei9HERsK/admW5dSBG9RRVDkAo/pRIlv5D+gcMyE4 3YgFrM3VtHSMpqQiZuXCip6ypw5ECwFhQmzqC2oxCKApmCvLQ/dtaxYkGsNyEDZD8iCQE/ GqhDC9zQajlzuR4pNjxmTyvV+45Ks8HojQpkGQr38ugz/gTd7p3ak+oGkOM5v2scYEI1TE tivrlCWjnU/uN3Da+k3CI+ulzmPnwIArtCXnJycD30rO2DeKPuKKkD2ySP7sBjWqeuT6WV +iXx9H3kx6jUToTZv4q1YArGrnPgL9L4zMv75sJuMj2jegihxmUL+pkQy2JMLw== 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 4frNR55gGBzBX7 for ; Wed, 08 Apr 2026 12:58:25 +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 638CwPnp001222 for ; Wed, 8 Apr 2026 12:58:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 638CwPYJ001221 for bugs@FreeBSD.org; Wed, 8 Apr 2026 12:58:25 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: bugs@FreeBSD.org Subject: [Bug 294312] Page fault with vmx0 interface (devctl disable / enable) Date: Wed, 08 Apr 2026 12:58:25 +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.3-RELEASE X-Bugzilla-Keywords: crash, vendor X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mibelanger@qnx.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294312 --- Comment #1 from Mike Belanger --- A simple fix would be to add a NULL check where the crash is occurring. But perhaps iflib should check the device state in the ioctl handler to ign= ore requests when the device is in the DS_ATTACHING state. (i.e. device_is_attached(ctx->ifc_dev) =3D=3D false) Otherwise any iflib driver has to be prepared to handle any ioctl before it runs its ifdi_post_attach callback. --=20 You are receiving this mail because: You are the assignee for the bug.=