{"api_version":"1","generated_at":"2026-11-30T18:22:08+00:00","cve":"CVE-2026-99963","urls":{"html":"https://cve.report/CVE-2026-99963","api":"https://cve.report/api/cve/CVE-2026-99963.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99963","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99963"},"summary":{"title":"ocfs2/cluster: initialize heartbeat regions before publishing them","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2/cluster: initialize heartbeat regions before publishing them\n\nA region on o2hb_all_regions must have an initialized config item and\nname. o2hb_heartbeat_group_make_item() currently links the zeroed region\nunder o2hb_live_lock, drops the lock, and only then initializes hr_item.\nThe lock therefore protects the list without protecting initialization\nfrom readers of the published item.\n\nWith global heartbeat enabled, a DLM_QUERY_REGION from the current\njoining node can pass the existing-domain and protocol checks while a\nconfigfs mkdir creates another region. The DLM locks are not taken by\nthe constructor, and the network worker does not take the configfs\nsubsystem mutex. The following ordering is possible:\n\n  Configfs mkdir                     O2net receive worker\n  --------------                     --------------------\n  Allocate reg\n  Lock o2hb_live_lock\n  Link into o2hb_all_regions\n  Unlock o2hb_live_lock\n                                     dlm_query_region_handler()\n                                       dlm_match_regions()\n                                         o2hb_get_all_regions()\n                                           Lock o2hb_live_lock\n                                           Copy 32 bytes from NULL name\n                                           Unlock o2hb_live_lock\n  config_item_init_type_name()\n\nThe query thus dereferences NULL. Initialize hr_item before linking the\nregion so the existing list lock also orders name initialization before\nany reader. Reject a failed name allocation, since the initialization\nhelper does not propagate that error.\n\nUse config_item_put() on initialized constructor failures to release the\nname and respect references retained by o2hb_region_pin(). Initialize\nthe list heads, mutex and delayed works needed by o2hb_region_release()\nbefore any such put, and leave the list node self-linked after rollback.\nKeep the existing handler drain before removing a failed published item.\n\nKASAN report as below:\n\n    ==================================================================\n    BUG: KASAN: null-ptr-deref in o2hb_get_all_regions+0xbb/0x1f0\n    Read of size 32 at addr 0000000000000000 by task kworker/u16:1/14\n\n    CPU: 2 UID: 0 PID: 14 Comm: kworker/u16:1 Not tainted 7.3.0-rc4-next-20260921-pmb-ocfs2-functional-v1+ #1 PREEMPT(lazy)\n    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\n    Workqueue: o2net o2net_rx_until_empty\n    Call Trace:\n     <TASK>\n     dump_stack_lvl+0x93/0xd0\n     kasan_report+0xe0/0x110\n     ? o2hb_get_all_regions+0xbb/0x1f0\n     kasan_check_range+0x105/0x1b0\n     __asan_memcpy+0x23/0x60\n     o2hb_get_all_regions+0xbb/0x1f0\n     dlm_query_region_handler+0x4c2/0xc20\n     ? __pfx_dlm_query_region_handler+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? trace_hardirqs_on+0x18/0x160\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? kvm_clock_get_cycles+0x31/0x60\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_dlm_query_region_handler+0x10/0x10\n     o2net_rx_until_empty+0x1a50/0x3200\n     ? reacquire_held_locks+0xdd/0x200\n     ? __pfx_o2net_rx_until_empty+0x10/0x10\n     ? lock_acquire+0x190/0x300\n     ? process_one_work+0x935/0x1b40\n     ? process_one_work+0x834/0x1b40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_release+0xc8/0x290\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     process_one_work+0x9a8/0x1b40\n     ? __pfx_process_one_work+0x10/0x10\n     ? lock_acquire+0x190/0x300\n     ? lock_is_held_type+0x8f/0x100\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     worker_thread+0x65c/0xe40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __kthread_parkme+0x177/0x220\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_worker_thread+0x10/0x10\n     kthread+0x351/0x460\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_kthread+0x10/0x10\n   \n---truncated---","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:34","updated_at":"2026-11-30 14:20:34"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/6ac797d3f55b9ebd56638169623e39d7a0d2a6a4","name":"https://git.kernel.org/stable/c/6ac797d3f55b9ebd56638169623e39d7a0d2a6a4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/12b7f67a5e588e63c02cf9481d60ca95e3d9e444","name":"https://git.kernel.org/stable/c/12b7f67a5e588e63c02cf9481d60ca95e3d9e444","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1f42d1272c0b124b895348de00e2e9e647b83255","name":"https://git.kernel.org/stable/c/1f42d1272c0b124b895348de00e2e9e647b83255","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/76f06243c0cb370c6d995c372807d93e12fe157c","name":"https://git.kernel.org/stable/c/76f06243c0cb370c6d995c372807d93e12fe157c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/632f99629a1b5f55b0baa100668fd95a73881356","name":"https://git.kernel.org/stable/c/632f99629a1b5f55b0baa100668fd95a73881356","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e9e88ecb1a17a6632de8b9d0237fa3102155fa59","name":"https://git.kernel.org/stable/c/e9e88ecb1a17a6632de8b9d0237fa3102155fa59","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ff7cf939ebe93be3c42873f62dcbd34255d992de","name":"https://git.kernel.org/stable/c/ff7cf939ebe93be3c42873f62dcbd34255d992de","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c5b7a30a5172317e1e3cba61d8c9f9c588c497bb","name":"https://git.kernel.org/stable/c/c5b7a30a5172317e1e3cba61d8c9f9c588c497bb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99963","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99963","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 536f0741f324f116d8b059295999945a2dac56bc 76f06243c0cb370c6d995c372807d93e12fe157c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 536f0741f324f116d8b059295999945a2dac56bc 1f42d1272c0b124b895348de00e2e9e647b83255 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 536f0741f324f116d8b059295999945a2dac56bc 632f99629a1b5f55b0baa100668fd95a73881356 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 536f0741f324f116d8b059295999945a2dac56bc 12b7f67a5e588e63c02cf9481d60ca95e3d9e444 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 536f0741f324f116d8b059295999945a2dac56bc e9e88ecb1a17a6632de8b9d0237fa3102155fa59 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 536f0741f324f116d8b059295999945a2dac56bc ff7cf939ebe93be3c42873f62dcbd34255d992de git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 536f0741f324f116d8b059295999945a2dac56bc 6ac797d3f55b9ebd56638169623e39d7a0d2a6a4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 536f0741f324f116d8b059295999945a2dac56bc c5b7a30a5172317e1e3cba61d8c9f9c588c497bb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.37","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.37 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/ocfs2/cluster/heartbeat.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"76f06243c0cb370c6d995c372807d93e12fe157c","status":"affected","version":"536f0741f324f116d8b059295999945a2dac56bc","versionType":"git"},{"lessThan":"1f42d1272c0b124b895348de00e2e9e647b83255","status":"affected","version":"536f0741f324f116d8b059295999945a2dac56bc","versionType":"git"},{"lessThan":"632f99629a1b5f55b0baa100668fd95a73881356","status":"affected","version":"536f0741f324f116d8b059295999945a2dac56bc","versionType":"git"},{"lessThan":"12b7f67a5e588e63c02cf9481d60ca95e3d9e444","status":"affected","version":"536f0741f324f116d8b059295999945a2dac56bc","versionType":"git"},{"lessThan":"e9e88ecb1a17a6632de8b9d0237fa3102155fa59","status":"affected","version":"536f0741f324f116d8b059295999945a2dac56bc","versionType":"git"},{"lessThan":"ff7cf939ebe93be3c42873f62dcbd34255d992de","status":"affected","version":"536f0741f324f116d8b059295999945a2dac56bc","versionType":"git"},{"lessThan":"6ac797d3f55b9ebd56638169623e39d7a0d2a6a4","status":"affected","version":"536f0741f324f116d8b059295999945a2dac56bc","versionType":"git"},{"lessThan":"c5b7a30a5172317e1e3cba61d8c9f9c588c497bb","status":"affected","version":"536f0741f324f116d8b059295999945a2dac56bc","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/ocfs2/cluster/heartbeat.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.37"},{"lessThan":"2.6.37","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"2.6.37","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.37","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.37","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.37","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"2.6.37","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"2.6.37","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"2.6.37","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.37","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2/cluster: initialize heartbeat regions before publishing them\n\nA region on o2hb_all_regions must have an initialized config item and\nname. o2hb_heartbeat_group_make_item() currently links the zeroed region\nunder o2hb_live_lock, drops the lock, and only then initializes hr_item.\nThe lock therefore protects the list without protecting initialization\nfrom readers of the published item.\n\nWith global heartbeat enabled, a DLM_QUERY_REGION from the current\njoining node can pass the existing-domain and protocol checks while a\nconfigfs mkdir creates another region. The DLM locks are not taken by\nthe constructor, and the network worker does not take the configfs\nsubsystem mutex. The following ordering is possible:\n\n  Configfs mkdir                     O2net receive worker\n  --------------                     --------------------\n  Allocate reg\n  Lock o2hb_live_lock\n  Link into o2hb_all_regions\n  Unlock o2hb_live_lock\n                                     dlm_query_region_handler()\n                                       dlm_match_regions()\n                                         o2hb_get_all_regions()\n                                           Lock o2hb_live_lock\n                                           Copy 32 bytes from NULL name\n                                           Unlock o2hb_live_lock\n  config_item_init_type_name()\n\nThe query thus dereferences NULL. Initialize hr_item before linking the\nregion so the existing list lock also orders name initialization before\nany reader. Reject a failed name allocation, since the initialization\nhelper does not propagate that error.\n\nUse config_item_put() on initialized constructor failures to release the\nname and respect references retained by o2hb_region_pin(). Initialize\nthe list heads, mutex and delayed works needed by o2hb_region_release()\nbefore any such put, and leave the list node self-linked after rollback.\nKeep the existing handler drain before removing a failed published item.\n\nKASAN report as below:\n\n    ==================================================================\n    BUG: KASAN: null-ptr-deref in o2hb_get_all_regions+0xbb/0x1f0\n    Read of size 32 at addr 0000000000000000 by task kworker/u16:1/14\n\n    CPU: 2 UID: 0 PID: 14 Comm: kworker/u16:1 Not tainted 7.3.0-rc4-next-20260921-pmb-ocfs2-functional-v1+ #1 PREEMPT(lazy)\n    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\n    Workqueue: o2net o2net_rx_until_empty\n    Call Trace:\n     <TASK>\n     dump_stack_lvl+0x93/0xd0\n     kasan_report+0xe0/0x110\n     ? o2hb_get_all_regions+0xbb/0x1f0\n     kasan_check_range+0x105/0x1b0\n     __asan_memcpy+0x23/0x60\n     o2hb_get_all_regions+0xbb/0x1f0\n     dlm_query_region_handler+0x4c2/0xc20\n     ? __pfx_dlm_query_region_handler+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? trace_hardirqs_on+0x18/0x160\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? kvm_clock_get_cycles+0x31/0x60\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_dlm_query_region_handler+0x10/0x10\n     o2net_rx_until_empty+0x1a50/0x3200\n     ? reacquire_held_locks+0xdd/0x200\n     ? __pfx_o2net_rx_until_empty+0x10/0x10\n     ? lock_acquire+0x190/0x300\n     ? process_one_work+0x935/0x1b40\n     ? process_one_work+0x834/0x1b40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_release+0xc8/0x290\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     process_one_work+0x9a8/0x1b40\n     ? __pfx_process_one_work+0x10/0x10\n     ? lock_acquire+0x190/0x300\n     ? lock_is_held_type+0x8f/0x100\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     worker_thread+0x65c/0xe40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __kthread_parkme+0x177/0x220\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_worker_thread+0x10/0x10\n     kthread+0x351/0x460\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_kthread+0x10/0x10\n   \n---truncated---"}],"providerMetadata":{"dateUpdated":"2026-11-30T13:18:41.307Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/76f06243c0cb370c6d995c372807d93e12fe157c"},{"url":"https://git.kernel.org/stable/c/1f42d1272c0b124b895348de00e2e9e647b83255"},{"url":"https://git.kernel.org/stable/c/632f99629a1b5f55b0baa100668fd95a73881356"},{"url":"https://git.kernel.org/stable/c/12b7f67a5e588e63c02cf9481d60ca95e3d9e444"},{"url":"https://git.kernel.org/stable/c/e9e88ecb1a17a6632de8b9d0237fa3102155fa59"},{"url":"https://git.kernel.org/stable/c/ff7cf939ebe93be3c42873f62dcbd34255d992de"},{"url":"https://git.kernel.org/stable/c/6ac797d3f55b9ebd56638169623e39d7a0d2a6a4"},{"url":"https://git.kernel.org/stable/c/c5b7a30a5172317e1e3cba61d8c9f9c588c497bb"}],"title":"ocfs2/cluster: initialize heartbeat regions before publishing them","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99963","datePublished":"2026-11-30T13:18:41.307Z","dateReserved":"2026-09-25T10:25:14.449Z","dateUpdated":"2026-11-30T13:18:41.307Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:34","lastModifiedDate":"2026-11-30 14:20:34","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99963","Ordinal":"1","Title":"ocfs2/cluster: initialize heartbeat regions before publishing th","CVE":"CVE-2026-99963","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99963","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2/cluster: initialize heartbeat regions before publishing them\n\nA region on o2hb_all_regions must have an initialized config item and\nname. o2hb_heartbeat_group_make_item() currently links the zeroed region\nunder o2hb_live_lock, drops the lock, and only then initializes hr_item.\nThe lock therefore protects the list without protecting initialization\nfrom readers of the published item.\n\nWith global heartbeat enabled, a DLM_QUERY_REGION from the current\njoining node can pass the existing-domain and protocol checks while a\nconfigfs mkdir creates another region. The DLM locks are not taken by\nthe constructor, and the network worker does not take the configfs\nsubsystem mutex. The following ordering is possible:\n\n  Configfs mkdir                     O2net receive worker\n  --------------                     --------------------\n  Allocate reg\n  Lock o2hb_live_lock\n  Link into o2hb_all_regions\n  Unlock o2hb_live_lock\n                                     dlm_query_region_handler()\n                                       dlm_match_regions()\n                                         o2hb_get_all_regions()\n                                           Lock o2hb_live_lock\n                                           Copy 32 bytes from NULL name\n                                           Unlock o2hb_live_lock\n  config_item_init_type_name()\n\nThe query thus dereferences NULL. Initialize hr_item before linking the\nregion so the existing list lock also orders name initialization before\nany reader. Reject a failed name allocation, since the initialization\nhelper does not propagate that error.\n\nUse config_item_put() on initialized constructor failures to release the\nname and respect references retained by o2hb_region_pin(). Initialize\nthe list heads, mutex and delayed works needed by o2hb_region_release()\nbefore any such put, and leave the list node self-linked after rollback.\nKeep the existing handler drain before removing a failed published item.\n\nKASAN report as below:\n\n    ==================================================================\n    BUG: KASAN: null-ptr-deref in o2hb_get_all_regions+0xbb/0x1f0\n    Read of size 32 at addr 0000000000000000 by task kworker/u16:1/14\n\n    CPU: 2 UID: 0 PID: 14 Comm: kworker/u16:1 Not tainted 7.3.0-rc4-next-20260921-pmb-ocfs2-functional-v1+ #1 PREEMPT(lazy)\n    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\n    Workqueue: o2net o2net_rx_until_empty\n    Call Trace:\n     <TASK>\n     dump_stack_lvl+0x93/0xd0\n     kasan_report+0xe0/0x110\n     ? o2hb_get_all_regions+0xbb/0x1f0\n     kasan_check_range+0x105/0x1b0\n     __asan_memcpy+0x23/0x60\n     o2hb_get_all_regions+0xbb/0x1f0\n     dlm_query_region_handler+0x4c2/0xc20\n     ? __pfx_dlm_query_region_handler+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? trace_hardirqs_on+0x18/0x160\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? kvm_clock_get_cycles+0x31/0x60\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_dlm_query_region_handler+0x10/0x10\n     o2net_rx_until_empty+0x1a50/0x3200\n     ? reacquire_held_locks+0xdd/0x200\n     ? __pfx_o2net_rx_until_empty+0x10/0x10\n     ? lock_acquire+0x190/0x300\n     ? process_one_work+0x935/0x1b40\n     ? process_one_work+0x834/0x1b40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_release+0xc8/0x290\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     process_one_work+0x9a8/0x1b40\n     ? __pfx_process_one_work+0x10/0x10\n     ? lock_acquire+0x190/0x300\n     ? lock_is_held_type+0x8f/0x100\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     worker_thread+0x65c/0xe40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __kthread_parkme+0x177/0x220\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_worker_thread+0x10/0x10\n     kthread+0x351/0x460\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_kthread+0x10/0x10\n   \n---truncated---","Type":"Description","Title":"ocfs2/cluster: initialize heartbeat regions before publishing th"}]}}}