From nobody Mon Dec 11 13:38:27 2023 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 4SpjW83Fsgz53cDM for ; Mon, 11 Dec 2023 13:38:28 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SpjW82C3dz3SSd for ; Mon, 11 Dec 2023 13:38:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702301908; a=rsa-sha256; cv=none; b=jVWtD+8u66WtLuklfvDx9YuEQSXLPqdbgGpNp7Zbu/fNIgTJenTrXEAf3HHTurj1SUwWWw nkqMAIeHbq8rDd1RRrRz2wVjWybbFQ75n41fvb53NFKsJqscXouoK5D3FyPjIP9uGxQEfr P938VRHW3yYMJ5GYXkQAHjb7gY+Q3CqjedxPzUCB7/TBjrC7r8s27nSOpYA1KglSGY6j3o y7ugpmyOtJakuNFjQIHfZ3AAm0poV9mAhi1YMSF1Tn8LB+rkrGOuvJiF8mW8bOVLwVnHrN mBnAsqja/EGGYazn+G94ych7LPNdJhD0QKasVy+2QRu1x/HaWsGEGIwU6P9sfw== 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=1702301908; 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=FALA8k6Mx2pfWtbmRouBdiwsCxj+oSCvmveYETVUbzs=; b=PMZ+U/jA30xSgR0BM6TY6bwPuFwUkLQRuXq6SehkYuoEga8ftg9dVHoCxjty5KGxey6f9o 7UldqROtPVWlAyhfBbNOc/Zg0EVSyd7Yaq5fwJBa45Op+VXmxtsSEevE7RtMgkHHOI6ish jUPGDI0DmYliRTPkUhQ3R4KWM0+MhRqv036GdiHTpBQ5r3NZ1yUGzr3V90WHFhpZZC5OF3 uEA/2ihQrqLkT84V0CPJKfJiHaVjqN2bEhaRb2PZW7LvkCnyvNr5CxdmobtEnKqkKgllda mT6PTgAAWqBmb4mCLbROLHOMaskbohCVDAIb0YrT8Ms1NaSVbV/I5dPT8p7Wvw== 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 4SpjW81C6PzYTc for ; Mon, 11 Dec 2023 13:38:28 +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 3BBDcSgG042451 for ; Mon, 11 Dec 2023 13:38:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BBDcSZx042450 for net@FreeBSD.org; Mon, 11 Dec 2023 13:38:28 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: net@FreeBSD.org Subject: [Bug 266999] tun(4): kernel: panic: make_dev_sv: bad si_name (error=17, si_name=tun2) in in make_dev_sv > tun_create_device > tunclone Date: Mon, 11 Dec 2023 13:38:27 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: stephane.rochoy@stormshield.eu X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D266999 St=C3=A9phane Rochoy changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stephane.rochoy@stormshield | |.eu --- Comment #6 from St=C3=A9phane Rochoy -= -- Not sure if relevant but interface renaming seems to conflict with the name checks performed by `make_dev_sv`. For example, the following commands trig= ger the panic: # Destroy all existing tuns ifconfig -l -g tun | xargs -I {} ifconfig {} destroy # Create a new tun "/dev/tun0", and add a symbolic link "/dev/tun1" pointing on it ifconfig tun create name tun1 # KERNEL PANIC here # panic: make_dev_sv: bad si_name (error=3D17, si_name=3Dtun1) ifconfig tun create (Tested on 653738e895ba, which is a bit old) --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=