Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 93A7B3B8BBF for ; Wed, 25 Mar 2026 10:34:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434856; cv=none; b=ZR1SzVdoFLtoV2zR7AzDOCcg1Afy9Eu1hKNcXKLxgBzMnNoiS+fdxLMTwuQJ34vTaCGLR0i0VrFpFPmdcl6VYX17QxFqz6YkY7Ti6s7SB0yYJEDQRRHFUAfn6dChQyQaFPR8WVx/5WV4jXX9aMjJSHSZUio1wat/FE+IJhtMDXQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434856; c=relaxed/simple; bh=ghIv8LRcXpg4Yawa8NO4/RDDvzbdmLa+t8LoCnggDlA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=b71vqSCGJhzTlKBAK7ZfUI++5UPkgGpXJO+sJkIAb0phciyFWoxyvqyuuOJMISCt29pexTEvlG1BKhvvIt1Yjb9wHsCWQ5NTW757yMgGlGA35cFwjwt5AOc+Ryi3OTCz6Uq1PSuMHw1NsEIQPmk4S7PtqV6W3Y5aYQs54MtJNDU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qV9VmcYT; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qV9VmcYT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B2A3C2BC9E; Wed, 25 Mar 2026 10:34:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434856; bh=ghIv8LRcXpg4Yawa8NO4/RDDvzbdmLa+t8LoCnggDlA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=qV9VmcYTWMvIPo3/YsdjYHJGqZCnCR4daGgko3bo5zSRyA44yXBNM63R5r7k4sLJe ev0X35U66c7BbKu49aVS2tvX+T6DY8nQzr+vtSvIOFDZnpiP22K+PpX8pEu7Q8L5FU kRkWlerPujBfMHlDiNqfjplpkwDmq08iVIx36ASk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23393: bridge: cfm: Fix race condition in peer_mep deletion Date: Wed, 25 Mar 2026 11:32:51 +0100 Message-ID: <2026032548-CVE-2026-23393-c395@gregkh> X-Mailer: git-send-email 2.53.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=3670; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=U1B7jWtdIu0yv0zN6D8jatAbZMLXu8bjcoNT+tiRLyo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHd17wU0vecmh1d+eRg5JzP6Z+mSX7pEGxy+Csis6vL b4J7+ZndMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEepwZ5heWPv6V+NHRfPMU Dq5jcTNObPP52cywYHpIMMPeVgud6B1TnO/M3d/MdGH6VQA= 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: bridge: cfm: Fix race condition in peer_mep deletion When a peer MEP is being deleted, cancel_delayed_work_sync() is called on ccm_rx_dwork before freeing. However, br_cfm_frame_rx() runs in softirq context under rcu_read_lock (without RTNL) and can re-schedule ccm_rx_dwork via ccm_rx_timer_start() between cancel_delayed_work_sync() returning and kfree_rcu() being called. The following is a simple race scenario: cpu0 cpu1 mep_delete_implementation() cancel_delayed_work_sync(ccm_rx_dwork); br_cfm_frame_rx() // peer_mep still in hlist if (peer_mep->ccm_defect) ccm_rx_timer_start() queue_delayed_work(ccm_rx_dwork) hlist_del_rcu(&peer_mep->head); kfree_rcu(peer_mep, rcu); ccm_rx_work_expired() // on freed peer_mep To prevent this, cancel_delayed_work_sync() is replaced with disable_delayed_work_sync() in both peer MEP deletion paths, so that subsequent queue_delayed_work() calls from br_cfm_frame_rx() are silently rejected. The cc_peer_disable() helper retains cancel_delayed_work_sync() because it is also used for the CC enable/disable toggle path where the work must remain re-schedulable. The Linux kernel CVE team has assigned CVE-2026-23393 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit dc32cbb3dbd7da38c700d6e0fc6354df24920525 and fixed in 6.12.78 with commit e89dbd2736a45f0507949af4748cbbf3ff793146 Issue introduced in 5.11 with commit dc32cbb3dbd7da38c700d6e0fc6354df24920525 and fixed in 6.18.20 with commit d8f35767bacb3c7769d470a41cf161e3f3c07e70 Issue introduced in 5.11 with commit dc32cbb3dbd7da38c700d6e0fc6354df24920525 and fixed in 6.19.10 with commit 1fd81151f65927fd9edb8ecd12ad45527dbbe5ab Issue introduced in 5.11 with commit dc32cbb3dbd7da38c700d6e0fc6354df24920525 and fixed in 7.0-rc5 with commit 3715a00855316066cdda69d43648336367422127 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-23393 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/bridge/br_cfm.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/e89dbd2736a45f0507949af4748cbbf3ff793146 https://git.kernel.org/stable/c/d8f35767bacb3c7769d470a41cf161e3f3c07e70 https://git.kernel.org/stable/c/1fd81151f65927fd9edb8ecd12ad45527dbbe5ab https://git.kernel.org/stable/c/3715a00855316066cdda69d43648336367422127