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=1795099999; b=Erv8qdCtrW/FWY3NqBPD+g+Oif0TH7bV235cTQjWl0GI/y4l5x9hjUP5zsaItl0tKrbX 9u2OxTWaoMWQNBc2fGeIXIUsLKEkvQVfmOYhLSKVH8NQ24s9dpkWtKjM6p2KS13b4Ff55 MfYlQTknBtLkfDp98EhHHOL6MHCWTA8Mzt+NG12shHTKPf5cyBWqGBJ5FaXroULEaQqIu 2y0Dzo4C8ksWVMFMJcuSl5hOGy3DR/XmpbGgqbT87lJGLasU0DOwVak/gPD0VXX9+fcuJ qpEuzQCm7MiAoW/riG3QlPbiFitJg4URE17xrvnRTcURw/hxwE+qA3q7mrjz+0prVPQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099999; 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=NxGUbapFxP7IqsQRFv0c9fv/tRH+PNDV23PJGQ9fWJs=; b=l3bYz9DX6rYAVpJZ6TkuFGU39aGwLfGwlpayZqx55squfWOES5jZ+dKw3h4nNdLafHL9 z7vGhjO6TLVeCuvgSCB+cWSZVNRAEapHspRKHL6I3cfp+U/HkSDfnsP/I3rZ9j6uUfmQL WhTbc0nrlHuDP22UkIhpr6424JpZ2UCIXn9d8knMZMTRGCHn/eMNuFKir6njb1+EhaW91 Vw6ZhSCK9093Vq43D/3OXv1UeT1m3xFjHcw50ZoeThpPdyzzTjU9ClBABbB/pSHWbIR97 NmjPrXepgVGEqjzD5HDUMH7G8uhFGk3AWuO/UxfsX11+ALSXUlC+MznF0s5sspf9nfg== 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=qCc9AI1q; 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 92E22606A333 for ; Thu, 19 Nov 2026 14:53:19 +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=qCc9AI1q Received: by smtp.kernel.org (Postfix) with ESMTPSA id C727F1F000C4; Thu, 19 Nov 2026 14:53:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099999; bh=NxGUbapFxP7IqsQRFv0c9fv/tRH+PNDV23PJGQ9fWJs=; h=From:To:Cc:Subject:Date:Reply-To; b=qCc9AI1qGWHslZqMIOBgOfWIW5P80DnSuRlwd3UJuuMQiyjkJW1ezZATWHr6CLnXZ 3inhZz5zAOabmfX9Z89ZW/0tSpSmTNYTKK95daoq5MLz2F60OQoc9prisrjd2YvKjx oWU+pBsbK+5T0rUFb5ihrBCTx3eHLV5B1jV+1VJ0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99434: ocfs2/heartbeat: unlink live slots when their node is missing Date: Thu, 19 Nov 2026 15:25:32 +0100 Message-ID: <2026111903-CVE-2026-99434-b1ae@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=5039; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fdN7y9grGxNcftY42vsdzrtSh1b08leWkA7im5LA+Qg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2Zp3Sjv7Fe5a/lAwLK9Rp5+VMyvB1Hrv0qMnX4Vu2 DqFL6SkI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYS+ZJhQfPn6VvNT+7OeHqf +/ZNzxz2XNF5bxnmx1XvS69bvn77dqMfhy0/VBzmLFvpBgA= 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/heartbeat: unlink live slots when their node is missing o2hb_shutdown_slot() returns immediately when its node is no longer in the configfs registry. A slot can still be linked in o2hb_live_slots when that lookup fails. Region teardown or startup-error cleanup then frees the slot array without removing its embedded list member. With the same peer live in another region, the next list update can follow a predecessor into the freed array. Reusing the node number can also make a later insertion encounter that stale member. Always remove the slot under o2hb_live_lock, even when node lookup fails. Preserve aggregate membership accounting and the last-region DOWN callback: the existing callback interface explicitly permits a NULL node for DOWN events. Only drop the node reference when lookup returned one. This closes both normal release and startup-abort paths without changing the publication or callback locking protocol. Also require a configured node before admitting a new live slot in o2hb_check_slot(). The early live-bitmap check is not held through admission: the last live slot in another region can be removed in between. Without a node, admission can then queue an UP event with a NULL argument and hit the event helper's BUG_ON. Existing live slots can still leave and generate NULL-node DOWN events. A controlled probe-instrumented test reproduced this while stopping one of two regions after removing the peer from configfs. Its KASAN report includes: BUG: KASAN: slab-use-after-free in __list_del_entry_valid_or_report+0x1e0/0x210 Read of size 8 at addr ffff888106a4ac60 by task o2hb-pmbd0058_b/497 Call Trace: dump_stack_lvl+0x93/0xd0 print_report+0xce/0x630 kasan_report+0xe0/0x110 __list_del_entry_valid_or_report+0x1e0/0x210 o2hb_do_disk_heartbeat+0x1591/0x2c50 o2hb_thread+0x1ed/0xe70 kthread+0x351/0x460 ret_from_fork+0x659/0x940 ret_from_fork_asm+0x1a/0x30 Allocated by task 491: kasan_save_stack+0x33/0x60 kasan_save_track+0x14/0x30 __kasan_kmalloc+0xaa/0xb0 __kmalloc_noprof+0x2de/0x780 o2hb_region_dev_store+0x7c2/0x1b60 configfs_write_iter+0x2f9/0x4f0 vfs_write+0x639/0x1010 ksys_write+0x111/0x200 do_syscall_64+0x114/0x620 entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task 491: kasan_save_stack+0x33/0x60 kasan_save_track+0x14/0x30 kasan_save_free_info+0x3b/0x60 __kasan_slab_free+0x5f/0x80 kfree+0x308/0x580 o2hb_unmap_slot_data+0x1db/0x330 o2hb_region_release+0x14b/0x4f0 config_item_cleanup+0x14b/0x230 config_item_put+0x79/0x90 configfs_rmdir+0x58a/0x910 vfs_rmdir+0x2e8/0x820 filename_rmdir+0x3b1/0x520 __x64_sys_rmdir+0x4b/0x70 do_syscall_64+0x114/0x620 entry_SYSCALL_64_after_hwframe+0x77/0x7f The Linux kernel CVE team has assigned CVE-2026-99434 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.16 with commit a7f6a5fb4bde142b622706e2006ba33f793e13ed and fixed in 6.12.117 with commit dffcdb5633641360204daee2f27d259a06f494ca Issue introduced in 2.6.16 with commit a7f6a5fb4bde142b622706e2006ba33f793e13ed and fixed in 6.18.61 with commit 3e05df6bd33a920687c90061a6c0cc67cf71464a Issue introduced in 2.6.16 with commit a7f6a5fb4bde142b622706e2006ba33f793e13ed and fixed in 7.3.2 with commit 7294ec25a13c20fe31c543589466d26cf24207a4 Issue introduced in 2.6.16 with commit a7f6a5fb4bde142b622706e2006ba33f793e13ed and fixed in 7.4-rc1 with commit 3ccd24c3f7a577b84a532cb027f1378385b82ef6 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-99434 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/heartbeat.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/dffcdb5633641360204daee2f27d259a06f494ca https://git.kernel.org/stable/c/3e05df6bd33a920687c90061a6c0cc67cf71464a https://git.kernel.org/stable/c/7294ec25a13c20fe31c543589466d26cf24207a4 https://git.kernel.org/stable/c/3ccd24c3f7a577b84a532cb027f1378385b82ef6