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=1795100781; b=XTOP47ogau12VvgcFEr6GjR9R6INDKrMoM3YqLYaRFqTbC9ir+wLsElcqS4V8DKV1Wvo VgaWDYPk7aMKyVySsbSsb+gdWEuQafTaUtvjj5JDDqjqJvhFTrGh2KSgE9ttrGUexncKd TQFsrZ4GSpNU9+QK8tn1bB1Ca+Y2guY9U8Kq6C+v6hLWcQkjSH0ugbmrpGMmI30flSnXg CT4T3BX8hfWH7FUgZwjQ3131vGC+U8dcIOpCPWPed1V6pq0hLzb16jIymIuyw6QbCYwnU y6NZpoQIPPWg9v1SAqWgsXxX0jr5PDlqwnDytPgZQO/ezpXr7vhWyhtYOh6rIpeMfDA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100781; 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=FM0myFDclteRioLDvAdrRwNsVxY4nx5VdZTZdFemB8o=; b=e8/dO0AcgDRmxGIIJ/HyQWgosiPVQJZup17Or1AwtHvXXVoRGEUwMh3CutgLwF+/CrqO ehvoUT81KPhZxeAlgYVDPSF8jIvI1kHG8g6QxOEgi4YStdnUqhTa1Nclb8aOuvxH9Matd uePAC2IJruaQ9HCtNKjO7iUEWL8TQxPzsIbGbiX38aiyHXfkjiEp6YcHsqzmMAff2pHbF zrXfify0lGqsoehdBwfAlj8ZCmB9lxAq0Tdvj9cljB/Z6UlDWBCVCtaIQFN8eviSbGibB vTj/HQVFQhEy3dz+MHi1ZBP++bQL0W5yy+0bGA7cxZ0wOf3HI0Dxiko3V107TUfPm5A== 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=KIcEA2o0; 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 56E1560A261C for ; Thu, 19 Nov 2026 15:06:21 +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=KIcEA2o0 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FE131F000CC; Thu, 19 Nov 2026 15:06:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100781; bh=FM0myFDclteRioLDvAdrRwNsVxY4nx5VdZTZdFemB8o=; h=From:To:Cc:Subject:Date:Reply-To; b=KIcEA2o0zfTP9kS+2RVipgjbvDFX3U8B+KSGaybCAOGXHtWcIsgem+zNS7gXRqlt5 fmVYcMztNx5CnYsqDAmu4JwsIjPE66M5U5AAGzYnu9hegIvldL9uCODQnFNN3NNNgc ieUCCJIzcM46VCcyTOFF2ExGSrLdy+yeuepx+F2U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99551: ocfs2: drain quorum work before removing the cluster Date: Thu, 19 Nov 2026 15:27:29 +0100 Message-ID: <2026111926-CVE-2026-99551-c1b4@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=5712; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zy2U4XIOaafYwaRpR901r/cJg8D29WhqRcg1WF6GBSI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2WZdPi1yNv6FVnhx9LPwH4v/fIqY8vaKiU3Xv01SL lsX1Gef7ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJzNjCsKC7UMUhqCVdv6Wq XDvcyHKZxMwdjQwLFv21sV5130rv3cSGB+mOMvf/C85mBQA= 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: drain quorum work before removing the cluster The configured cluster must remain available until an in-flight quorum decision has finished using its fencing method. o2quo_make_decision() drops qs_lock before calling o2quo_fence_self(), which marks heartbeat regions for unclean stop and then reads o2nm_single_cluster->cl_fence_method. Cluster removal clears the singleton without waiting for this independent system-workqueue item. When a failed-quorum decision overlaps removal of the heartbeat regions, nodes and cluster through configfs, the worker can be preempted after marking the regions and resume after the singleton has been cleared: Quorum worker Configfs removal select fence; drop qs_lock o2hb_stop_all_regions() remove regions; join heartbeat threads remove nodes; stop o2net clear singleton; release cluster read cl_fence_method The resumed read dereferences NULL instead of applying the configured fencing method. The heartbeat thread's dependency protects the local node only until the thread exits, and draining o2net does not wait for qs_work. Add o2quo_flush_work() to drain pending or running quorum decisions before clearing the singleton in o2nm_cluster_group_drop_item(). By this point the heartbeat regions and nodes have been removed, so their work publishers are stopped. The worker can finish while the cluster and its configured fencing method remain available. It does not acquire the configfs mutex held by the removal path. Keep o2quo_exit() as the counterpart of o2quo_init() for module teardown and initialization failure, and have it call the same drain helper. Cluster removal uses only the explicitly named drain operation. KASAN report as below: Oops: general protection fault, probably for non-canonical address 0xdffffc000000011b: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x00000000000008d8-0x00000000000008df] CPU: 0 UID: 0 PID: 72 Comm: kworker/0:2 Not tainted 7.3.0-rc4-next-20260921-pmb-ocfs2-functional-v1+ #1 PREEMPT(lazy) Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: events o2quo_make_decision RIP: 0010:o2quo_fence_self+0x65/0x200 Register dump omitted. Call Trace: o2quo_make_decision+0x345/0x3a0 ? __pfx_o2quo_make_decision+0x10/0x10 ? 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: ---[ end trace 0000000000000000 ]--- The Linux kernel CVE team has assigned CVE-2026-99551 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.33 with commit f6656d26d17b2598f43cd41be088853fa2a03397 and fixed in 6.12.117 with commit 102ebaf4db4c81668db6a85d88273826dc94e539 Issue introduced in 2.6.33 with commit f6656d26d17b2598f43cd41be088853fa2a03397 and fixed in 6.18.61 with commit 1c77b387fc305c9c314f29cd034a490bff7f81bd Issue introduced in 2.6.33 with commit f6656d26d17b2598f43cd41be088853fa2a03397 and fixed in 7.3.2 with commit ef1a59804c07e2e17885cd6c723c4638489cf58a Issue introduced in 2.6.33 with commit f6656d26d17b2598f43cd41be088853fa2a03397 and fixed in 7.4-rc1 with commit b584c45b6066fd9799c44ffb9badcb5db351c8a6 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-99551 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/cluster/nodemanager.c fs/ocfs2/cluster/quorum.c fs/ocfs2/cluster/quorum.h 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/102ebaf4db4c81668db6a85d88273826dc94e539 https://git.kernel.org/stable/c/1c77b387fc305c9c314f29cd034a490bff7f81bd https://git.kernel.org/stable/c/ef1a59804c07e2e17885cd6c723c4638489cf58a https://git.kernel.org/stable/c/b584c45b6066fd9799c44ffb9badcb5db351c8a6