GHSA-WX5J-WPWJ-VX47
Vulnerability from github – Published: 2026-11-19 15:31 – Updated: 2026-11-23 09:30In 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:
<TASK>
? 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
</TASK>
Modules linked in: ocfs2_nodemanager [last unloaded: ocfs2_dlm]
---[ end trace 0000000000000000 ]---
{
"affected": [],
"aliases": [
"CVE-2026-99552"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-19T15:18:11Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2/dlm: drain join handlers before releasing module text\n\nThe code for a registered DLM handler must remain resident until its\nlast invocation finishes. dlm_unregister_net_handlers() only removes\ndlm_join_handlers from the o2net registry. o2net_handler_get() takes a\nkref on the wrapper, but that reference does not pin ocfs2_dlm text.\no2net_process_message() calls nh_func after dropping o2net_handler_lock.\n\nWith CONFIG_OCFS2_FS_O2CB=m, ocfs2_dlm can be loaded independently of\nocfs2_stack_o2cb while nodemanager continues handling messages from a\nconfigured, heartbeating peer. If no dependent module or module reference\nprevents normal unload, the following ordering is possible:\n\n Receive worker Module unload\n -------------- -------------\n o2net_handler_get()\n take wrapper kref\n drop handler lock\n \u003cpreempted\u003e\n dlm_exit()\n unregister handlers\n release DLM module text\n call saved nh_func\n in released module text\n\nUse o2net_unregister_and_flush_handler_list() in the shared DLM\nunregister helper. It first prevents new lookups, then waits for the\nordered o2net workqueue to drain, including a concurrent destruction of\nthat queue. The acquired invocation therefore finishes before dlm_exit()\nreturns and the loader releases the callback code. The same helper\ncovers partial registration and dlm_init() error unwind before module\nmemory is released.\n\nSkip the drain when the private join-handler list is empty. Early\ndlm_init() failures can reach this helper before any handler has been\npublished. Partial-registration failure also reaches it a second time\nafter the first call has already unregistered and drained the list.\nNeither case needs to take o2net_wq_mutex or drain unrelated work.\nThe list is changed only by serialized module init/exit paths; a\nnonempty list still uses the full unregister-and-flush helper.\n\nOops report as below:\n\n Oops: int3: 0000 [#1] SMP KASAN NOPTI\n 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)\n\nHardware identification omitted.\n\n Workqueue: o2net o2net_rx_until_empty [ocfs2_nodemanager]\n RIP: 0010:0xffffffffc0423871\n [Instruction byte dump omitted.]\n\nRegister dump omitted.\n\n Call Trace:\n \u003cTASK\u003e\n ? o2net_rx_until_empty+0x19b1/0x3300 [ocfs2_nodemanager]\n ? __pfx_o2net_rx_until_empty+0x10/0x10 [ocfs2_nodemanager]\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 ? ret_from_fork+0x659/0x940\n ? __pfx_ret_from_fork+0x10/0x10\n ? srso_alias_return_thunk+0x5/0xfbef5\n ? __switch_to+0x74f/0xf70\n ? __pfx_kthread+0x10/0x10\n ? ret_from_fork_asm+0x1a/0x30\n \u003c/TASK\u003e\n Modules linked in: ocfs2_nodemanager [last unloaded: ocfs2_dlm]\n ---[ end trace 0000000000000000 ]---",
"id": "GHSA-wx5j-wpwj-vx47",
"modified": "2026-11-23T09:30:48Z",
"published": "2026-11-19T15:31:28Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99552"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/13dd8af7b39a9381ebf82f775572edd67d4661f8"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/28f366d84023651e50e32e29931401ba0df3e679"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/57a474ce387bd68f77b470bba7c0ce10bdb62dfa"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/912327bb4cfdc38e83dd52300a087a7e68826ece"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/bb8a46bb9985b7acfe02a0fe63452fe51ad60549"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/d2b05b1190bdecbff2d26f48b376345b6f5ec5ea"
}
],
"schema_version": "1.4.0",
"severity": []
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.