Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795100785; b=b89QhQjMtm1uBL7W8TKBVRRGSG0lRxTacrX5LAAoE42kzSHEhL7P1lpTfXhZHicq8tWh jLnMBqmthXNpP9dz1DtsCNDzctgOTsuIGmQTJREH8bAFxbqDAbTqor+B9H2iYTn5wHh0P 5JQzxkNfr42x8rur87KaMw7Lp/7WR210zTjDQ68FdAB2iwj4KbT5244iJdfz/ap8Fwbh7 Qe9oMHUyOlT0ppoaL63JtJyfDp6uPCveRhbJjdZ9q2y/jVwnmPjdd/kfGCOawVqaL/sTt Ywi1WaDSQi+B56hdKy/wuid5cQQDlNjRmMT+RPTsVYKEaOd45Idmhs+n4Bt8oUHNkKg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100785; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=/bZdKgFA1iDNMmr9C36fR88DEC3K55U5XTkQIfxT/gI=; b=r7tj8NO8Sp4Q/4U4qD7z9/QdlLJGQ8C45r93ywWGlGuwVJOxuGrOzsI0g4ihy6l31RCe InrMj6m1/fh3pDoBWWBd+wFYJpEibb619xF0MaylZOdrhqefmMmTUR4cFT5tOcOIvhzcf GUKjjXHrGSxz72hp+mZLFH1n4UdbyePeCNuhZgQslcXhQEqhDXmGhLm2WaA8tvb9a3fEo 9EMIO2onpJ5ldqe9OQKS9ShLS8ph62pnv135ORBjpW83ZLXd97Ecz1QhG1llVZZN5ndzR HH2qdTUD/ew4W53uEJgYLCq8RAq/wJ5h739smBTaax1iXrVls5yt3KAP2GMH593Wy5w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ltG9sIiF; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7DFDC60A3834 for ; Thu, 19 Nov 2026 15:06:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ltG9sIiF Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4291F1F00931; Thu, 19 Nov 2026 15:06:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100785; bh=/bZdKgFA1iDNMmr9C36fR88DEC3K55U5XTkQIfxT/gI=; h=From:To:Cc:Subject:Date:Reply-To; b=ltG9sIiFXfGXVYk4lHFxbVbriAMTO50Zy+BeKEftDeZx4zsztAoBAQvfbXKy8BmsH eRon3jmv375lp2Rj4rEut3MJhfuztRwZ05eaiaP/C3qy8itNu1thkmZw0SL31+sMSQ M4Wjw05ZChqdZSRyXDaC/bUNNxwdAE8Hg+/ReKMc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99552: ocfs2/dlm: drain join handlers before releasing module text Date: Thu, 19 Nov 2026 15:27:30 +0100 Message-ID: <2026111926-CVE-2026-99552-6f9e@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=5832; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=r+cjtWSYBv8Yr1ti5MP3PoIqq9XGO8hPhPlyfzoe4Xg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2WYfmM2rzJtw+d59o5mK94rWK1vv5rhxM5Pv+651a sWJU1xndMSwMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEarsZFpyry+avXeepMvn/ q4xpngb7Xz97a8kwPdOCu+ywHW/esVOqndZ2CyyKuH4AAA== 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: ocfs2/dlm: drain join handlers before releasing module text The code for a registered DLM handler must remain resident until its last invocation finishes. dlm_unregister_net_handlers() only removes dlm_join_handlers from the o2net registry. o2net_handler_get() takes a kref on the wrapper, but that reference does not pin ocfs2_dlm text. o2net_process_message() calls nh_func after dropping o2net_handler_lock. With CONFIG_OCFS2_FS_O2CB=m, ocfs2_dlm can be loaded independently of ocfs2_stack_o2cb while nodemanager continues handling messages from a configured, heartbeating peer. If no dependent module or module reference prevents normal unload, the following ordering is possible: Receive worker Module unload -------------- ------------- o2net_handler_get() take wrapper kref drop handler lock dlm_exit() unregister handlers release DLM module text call saved nh_func in released module text Use o2net_unregister_and_flush_handler_list() in the shared DLM unregister helper. It first prevents new lookups, then waits for the ordered o2net workqueue to drain, including a concurrent destruction of that queue. The acquired invocation therefore finishes before dlm_exit() returns and the loader releases the callback code. The same helper covers partial registration and dlm_init() error unwind before module memory is released. Skip the drain when the private join-handler list is empty. Early dlm_init() failures can reach this helper before any handler has been published. Partial-registration failure also reaches it a second time after the first call has already unregistered and drained the list. Neither case needs to take o2net_wq_mutex or drain unrelated work. The list is changed only by serialized module init/exit paths; a nonempty list still uses the full unregister-and-flush helper. Oops report as below: Oops: int3: 0000 [#1] SMP KASAN NOPTI CPU: 2 UID: 0 PID: 54 Comm: kworker/u16:3 Not tainted 7.3.0-rc4-next-20260921-pmb-ocfs2-functional-v1+ #1 PREEMPT(lazy) Hardware identification omitted. Workqueue: o2net o2net_rx_until_empty [ocfs2_nodemanager] RIP: 0010:0xffffffffc0423871 [Instruction byte dump omitted.] Register dump omitted. Call Trace: ? o2net_rx_until_empty+0x19b1/0x3300 [ocfs2_nodemanager] ? __pfx_o2net_rx_until_empty+0x10/0x10 [ocfs2_nodemanager] ? lock_acquire+0x190/0x300 ? process_one_work+0x935/0x1b40 ? process_one_work+0x834/0x1b40 ? srso_alias_return_thunk+0x5/0xfbef5 ? lock_release+0xc8/0x290 ? srso_alias_return_thunk+0x5/0xfbef5 ? process_one_work+0x9a8/0x1b40 ? __pfx_process_one_work+0x10/0x10 ? lock_acquire+0x190/0x300 ? lock_is_held_type+0x8f/0x100 ? srso_alias_return_thunk+0x5/0xfbef5 ? worker_thread+0x65c/0xe40 ? srso_alias_return_thunk+0x5/0xfbef5 ? __kthread_parkme+0x177/0x220 ? srso_alias_return_thunk+0x5/0xfbef5 ? __pfx_worker_thread+0x10/0x10 ? kthread+0x351/0x460 ? srso_alias_return_thunk+0x5/0xfbef5 ? __pfx_kthread+0x10/0x10 ? ret_from_fork+0x659/0x940 ? __pfx_ret_from_fork+0x10/0x10 ? srso_alias_return_thunk+0x5/0xfbef5 ? __switch_to+0x74f/0xf70 ? __pfx_kthread+0x10/0x10 ? ret_from_fork_asm+0x1a/0x30 Modules linked in: ocfs2_nodemanager [last unloaded: ocfs2_dlm] ---[ end trace 0000000000000000 ]--- The Linux kernel CVE team has assigned CVE-2026-99552 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.16 with commit 6714d8e86bf443f6f7af50f9d432025649f091f5 and fixed in 6.12.117 with commit d2b05b1190bdecbff2d26f48b376345b6f5ec5ea Issue introduced in 2.6.16 with commit 6714d8e86bf443f6f7af50f9d432025649f091f5 and fixed in 6.18.61 with commit 912327bb4cfdc38e83dd52300a087a7e68826ece Issue introduced in 2.6.16 with commit 6714d8e86bf443f6f7af50f9d432025649f091f5 and fixed in 7.3.2 with commit 57a474ce387bd68f77b470bba7c0ce10bdb62dfa Issue introduced in 2.6.16 with commit 6714d8e86bf443f6f7af50f9d432025649f091f5 and fixed in 7.4-rc1 with commit 28f366d84023651e50e32e29931401ba0df3e679 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-99552 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: fs/ocfs2/dlm/dlmdomain.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/d2b05b1190bdecbff2d26f48b376345b6f5ec5ea https://git.kernel.org/stable/c/912327bb4cfdc38e83dd52300a087a7e68826ece https://git.kernel.org/stable/c/57a474ce387bd68f77b470bba7c0ce10bdb62dfa https://git.kernel.org/stable/c/28f366d84023651e50e32e29931401ba0df3e679