{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99552","id":"CVE-2026-99552","title":"Linux kernel use-after-free in OCFS2 DLM handler teardown","description":"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_dl","descriptionLong":"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  <preempted>\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     <TASK>\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     </TASK>\n    Modules linked in: ocfs2_nodemanager [last unloaded: ocfs2_dlm]\n    ---[ end trace 0000000000000000 ]---","published":"2026-11-19T14:45:20.758Z","updated":"2026-11-19T17:01:26.980632306Z","reserved":"2026-09-25T10:25:14.421Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6714d8e86bf443f6f7af50f9d432025649f091f5","lessThan":"d2b05b1190bdecbff2d26f48b376345b6f5ec5ea","status":"affected","versionType":"git"},{"version":"6714d8e86bf443f6f7af50f9d432025649f091f5","lessThan":"912327bb4cfdc38e83dd52300a087a7e68826ece","status":"affected","versionType":"git"},{"version":"6714d8e86bf443f6f7af50f9d432025649f091f5","lessThan":"57a474ce387bd68f77b470bba7c0ce10bdb62dfa","status":"affected","versionType":"git"},{"version":"6714d8e86bf443f6f7af50f9d432025649f091f5","lessThan":"28f366d84023651e50e32e29931401ba0df3e679","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.16","status":"affected"},{"version":"0","lessThan":"2.6.16","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/d2b05b1190bdecbff2d26f48b376345b6f5ec5ea","tags":["web"]},{"url":"https://git.kernel.org/stable/c/912327bb4cfdc38e83dd52300a087a7e68826ece","tags":["web"]},{"url":"https://git.kernel.org/stable/c/57a474ce387bd68f77b470bba7c0ce10bdb62dfa","tags":["web"]},{"url":"https://git.kernel.org/stable/c/28f366d84023651e50e32e29931401ba0df3e679","tags":["web"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99552.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99552","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99552","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99552","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99552","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99552","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}