Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CADDF3B38BC for ; Thu, 28 May 2026 09:40:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961237; cv=none; b=oZu6bXociFEHTn9noBBhTsCR0rnuy6jis6hyTV+L6K8ymxad9YznhCVHIhD1Snn6eDTR/wvNxz9ltUkEEnnIl/mBF6I2LnxhYWEHtFkE7p2nsJ9H/4E3BOrd4kXlHT4RT3kqw/abT01Jm4WsSJQRjDg9+XNUTDFefO4c2AQsono= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961237; c=relaxed/simple; bh=piay+tyWFyIufyspqG/BJiL10qqWZPyAMme2rhsptKE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AWUwLYtPmIb6iSn2vRinb3tHiwR1qtka6+MLbjaIdYqDPkxT5uhoDiC3hAjPmnxXsN60KBZfadtkBVZE4E50yhAv/KD/BZIahjaO/FnZFDAlJHGrTQ+NVHFseYJCb+e0M61Ezn58boHTgGrHG0Bum+rIvYzVIK9OVmW+ltIjnjg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hWv8mGor; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="hWv8mGor" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22B711F000E9; Thu, 28 May 2026 09:40:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961235; bh=7AWAAVqRKf1cyQXdd30+b1EOLHUxjX5it9bzc+R++Z4=; h=From:To:Cc:Subject:Date:Reply-To; b=hWv8mGorGa6Pc8H/gOic7b90bMMtBeTgVYTuPRqbp3oouOVcIay00087SZ/oIjUTN hMjypuyju6O2Gfhj3BKxICzZdvmNAEhFAu46qo+a8g8O8t/bGNvEaihcoxTvWozSKA FD7wOZS0UJP3nM534dMnyfyDSdMFyJ8OGyI3vMq4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46165: openvswitch: vport: fix self-deadlock on release of tunnel ports Date: Thu, 28 May 2026 11:37:10 +0200 Message-ID: <2026052825-CVE-2026-46165-08d2@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3627; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=88TqbhpnZZVXKavvsOmuxOssU2iySst6avpBoPHNMDs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSPDMvPXBnSXFSWyg90ePRk7i/26Y+rTO1W1k3f+3cr ew3mZq+dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEfssyzNORZL68+L/F5s3f y8w/fW+OWyC54BvDgp13zrIvU71e0Tf3eUG5xm2m6EBRMwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: openvswitch: vport: fix self-deadlock on release of tunnel ports vports are used concurrently and protected by RCU, so netdev_put() must happen after the RCU grace period. So, either in an RCU call or after the synchronize_net(). The rtnl_delete_link() must happen under RTNL and so can't be executed in RCU context. Calling synchronize_net() while holding RTNL is not a good idea for performance and system stability under load in general, so calling netdev_put() in RCU call is the right solution here. However, when the device is deleted, rtnl_unlock() will call netdev_run_todo() and block until all the references are gone. In the current code this means that we never reach the call_rcu() and the vport is never freed and the reference is never released, causing a self-deadlock on device removal. Fix that by moving the rcu_call() before the rtnl_unlock(), so the scheduled RCU callback will be executed when synchronize_net() is called from the rtnl_unlock()->netdev_run_todo() while the RTNL itself is already released. The Linux kernel CVE team has assigned CVE-2026-46165 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.131 with commit 42f0d3d81209654c08ffdde5a34b9b92d2645896 and fixed in 6.6.140 with commit c741433f6c8dcdecd1d9549d89053761fd1ea413 Issue introduced in 6.12.80 with commit bbe7bd722bfaea36aab3da6cc60fb4a05c644643 and fixed in 6.12.88 with commit 6522d59fb7de55ce0f0f285d962243ddffebb01f Issue introduced in 6.18.21 with commit 98b726ab5e2a4811e27c28e4d041f75bba147eab and fixed in 6.18.30 with commit 3df75fff46b1517eb479d8e6b8e3500763715dd0 Issue introduced in 7.0 with commit 6931d21f87bc6d657f145798fad0bf077b82486c and fixed in 7.0.7 with commit 366c482965c673565ecb8bcfb15d5548f13a6a10 Issue introduced in 7.0 with commit 6931d21f87bc6d657f145798fad0bf077b82486c and fixed in 7.1-rc3 with commit aa69918bd418e700309fdd08509dba324fb24296 Issue introduced in 6.1.168 with commit 9d56aced21fb9c104e8a3f3be9b21fbafe448ffc Issue introduced in 6.19.11 with commit b8c56a3fc5d879c0928f207a756b0f067f06c6a8 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-46165 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/openvswitch/vport-netdev.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/c741433f6c8dcdecd1d9549d89053761fd1ea413 https://git.kernel.org/stable/c/6522d59fb7de55ce0f0f285d962243ddffebb01f https://git.kernel.org/stable/c/3df75fff46b1517eb479d8e6b8e3500763715dd0 https://git.kernel.org/stable/c/366c482965c673565ecb8bcfb15d5548f13a6a10 https://git.kernel.org/stable/c/aa69918bd418e700309fdd08509dba324fb24296