{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99433","id":"CVE-2026-99433","title":"Linux kernel denial of service in OCFS2 lock grant AST queuing","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2/dlm: hold a lock reference across grant AST enqueue\n\nA newly granted remote lock must remain alive until its grant AST is\nqueued.  dlmlock_master() publishes the lock on res->granted with its base\nand queue references, then drops res->spinlock before calling\ndlm_queue_ast().  The resource's reserved AST count does not retai","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2/dlm: hold a lock reference across grant AST enqueue\n\nA newly granted remote lock must remain alive until its grant AST is\nqueued.  dlmlock_master() publishes the lock on res->granted with its base\nand queue references, then drops res->spinlock before calling\ndlm_queue_ast().  The resource's reserved AST count does not retain the\nlock itself.\n\nThis can fail when a peer dies with an immediately grantable CREATE\nbuffered on its socket.  O2NET's node-down callback flushes receive work\nbefore DLM cleanup, but the flush only waits for work queued on entry.  A\ndata-ready callback that already selected the socket container can queue\nnew receive work after the flush advances its work color.  Socket shutdown\ndoes not discard bytes already queued for TCP receive.\n\nThe late receive work and DLM node-down cleanup can interleave as\nfollows (the lock reference operations shown are before this fix):\n\n  Socket data-ready        Node-down thread         Receive worker\n  -----------------        ----------------         --------------\n  o2net_data_ready()\n    select sc under\n    callback read lock\n                           o2net_disconnect_node()\n                             queue shutdown\n                             begin flush; new color\n    queue sc_rx_work\n    in the new color\n    release callback lock\n                             shutdown socket\n                             flush returns\n                                                    read buffered CREATE\n                                                    dlmlock_master()\n                                                      lock res->spinlock\n                                                      add lock to granted\n                                                      unlock res->spinlock\n                           DLM node-down cleanup\n                             lock res->spinlock\n                             dlm_free_dead_locks()\n                               unlink lock\n                               put queue/base refs\n                               free lock\n                             unlock res->spinlock\n                                                    dlm_queue_ast()\n                                                      __dlm_queue_ast()\n                                                      read lock->lockres\n                                                      (use-after-free)\n\nDLM cleanup holds res->spinlock while dlm_free_dead_locks() drops the\nqueue and base references.  The CREATE handler no longer holds that\nspinlock when __dlm_queue_ast() reads the lock, before taking its AST list\nreference.\n\nTake a temporary lock reference under res->spinlock when a grant AST will\nbe queued, and drop it after dlm_queue_ast().  This keeps the lock alive\nacross cleanup until the AST path has taken its own reference, without\nreversing the existing AST/resource lock order.\n\nKASAN report as below:\n\n    BUG: KASAN: slab-use-after-free in __dlm_queue_ast+0x8a4/0xc00\n    Read of size 8 at addr ffff88810ead5940 by task kworker/u16:3/52\n\n    CPU: 3 UID: 0 PID: 52 Comm: kworker/u16:3 Not tainted 7.3.0-rc4-next-20260921-pmb-bt-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     print_report+0xce/0x630\n     ? __dlm_queue_ast+0x8a4/0xc00\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __virt_addr_valid+0x20e/0x420\n     ? __dlm_queue_ast+0x8a4/0xc00\n     kasan_report+0xe0/0x110\n     ? __dlm_queue_ast+0x8a4/0xc00\n     __dlm_queue_ast+0x8a4/0xc00\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? do_raw_spin_lock+0x130/0x270\n     ? __pfx___dlm_queue_ast+0x10/0x10\n     ? __pfx_do_raw_spin_lock+0x10/0x10\n     ? _raw_spin_unlock_irqrestore+0x45/0x60\n     ? srs\n---truncated---","published":"2026-11-19T14:41:08.385Z","updated":"2026-11-19T17:01:18.666363776Z","reserved":"2026-09-25T10:25:14.415Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2c5c54aca9d0263f81bd4886232835ba31f7635a","lessThan":"11643cb726c6077c8d80766516c20ff25ba29609","status":"affected","versionType":"git"},{"version":"2c5c54aca9d0263f81bd4886232835ba31f7635a","lessThan":"f4ae0b96a4abc7d59088eb2e0a2ee524c15f3bf0","status":"affected","versionType":"git"},{"version":"2c5c54aca9d0263f81bd4886232835ba31f7635a","lessThan":"0eb7cd1641695c5de549516661c9b90ba20f943d","status":"affected","versionType":"git"},{"version":"2c5c54aca9d0263f81bd4886232835ba31f7635a","lessThan":"71743471204e21113295c786e5cfa570294234a4","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.25","status":"affected"},{"version":"0","lessThan":"2.6.25","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/11643cb726c6077c8d80766516c20ff25ba29609","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f4ae0b96a4abc7d59088eb2e0a2ee524c15f3bf0","tags":["web"]},{"url":"https://git.kernel.org/stable/c/0eb7cd1641695c5de549516661c9b90ba20f943d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/71743471204e21113295c786e5cfa570294234a4","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-99433.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99433","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-99433","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99433","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99433","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-99433","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}