{"id":"AZL-114872","summary":"CVE-2026-99433 affecting package kernel 6.6.161.1-1","details":"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-\u003egranted with its base\nand queue references, then drops res-\u003espinlock 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-\u003espinlock\n                                                      add lock to granted\n                                                      unlock res-\u003espinlock\n                           DLM node-down cleanup\n                             lock res-\u003espinlock\n                             dlm_free_dead_locks()\n                               unlink lock\n                               put queue/base refs\n                               free lock\n                             unlock res-\u003espinlock\n                                                    dlm_queue_ast()\n                                                      __dlm_queue_ast()\n                                                      read lock-\u003elockres\n                                                      (use-after-free)\n\nDLM cleanup holds res-\u003espinlock 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-\u003espinlock 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     \u003cTASK\u003e\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---","modified":"2026-11-20T14:17:19.126523322Z","published":"2026-11-19T15:17:56Z","upstream":["CVE-2026-99433"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99433"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-114872.json"}}],"schema_version":"1.9.2"}