{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "2c5c54aca9d0263f81bd4886232835ba31f7635a"
            },
            {
              "fixed": "ecc5b17b8d2b1f720262e991896da2c909154a4d"
            },
            {
              "fixed": "a3dd8d3af023837516d8715393acbaa7b252f6d7"
            },
            {
              "fixed": "574aa7782c780b130463e1d7c0605a9e617880d1"
            },
            {
              "fixed": "125fe08ff6cfa064e1212f586f01993ee45c0330"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.25"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.61"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99432.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2/dlm: hold the lookup reference across convert AST enqueue\n\ndlm_convert_lock_handler() drops the reference it took when it found the\nlock on res-\u003egranted at its leave label, one statement before it calls\ndlm_queue_ast().  dlm_free_dead_locks() takes res-\u003espinlock and drops the\nlist and base references, so a peer death landing in that gap leaves the\nhandler's own put as the one that frees the lock, and __dlm_queue_ast()\nthen reads lock-\u003elockres from freed memory.\n\nThe handler is registered next to dlm_create_lock_handler(), so a convert\nmessage buffered on a dying peer's socket arrives on the same o2net\nreceive work that o2net_disconnect_node() does not wait for.  The two can\ninterleave as follows, with the reference counts as they are before this\nfix:\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 convert_lock\n                                                dlm_convert_lock_handler()\n                                                  find lock on res-\u003egranted\n                                                  dlm_lock_get()  refs = 3\n                                                  lock res-\u003espinlock\n                                                  __dlmconvert_master()\n                                                    call_ast = 1\n                                                  unlock res-\u003espinlock\n                          DLM node-down cleanup\n                            lock res-\u003espinlock\n                            dlm_free_dead_locks()\n                              unlink lock\n                              put list ref  refs = 2\n                              put base ref  refs = 1\n                            unlock res-\u003espinlock\n                                                dlm_lock_put()  refs = 0\n                                                  free lock\n                                                dlm_queue_ast()\n                                                  __dlm_queue_ast()\n                                                  read lock-\u003elockres\n                                                  (use-after-free)\n\n__dlmconvert_master() only moves the lock between lists, so the count\nentering the gap is base, list and lookup.  Drop the lookup reference\nafter the AST is queued instead of before it and the race ends with the\none __dlm_queue_ast() took, which dlm_flush_asts() releases later with\nast_pending cleared and ast_list unlinked.  No extra get is needed, and\nthe normal case ends with the same count as before.\n\ndlmconvert_master() has the same shape but is only reached from dlmlock()\nfor a lock this node owns, which dlm_free_dead_locks() never matches.",
  "id": "CVE-2026-99432",
  "modified": "2026-11-19T16:46:05.064161270Z",
  "published": "2026-11-19T14:41:07.290Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/125fe08ff6cfa064e1212f586f01993ee45c0330"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/574aa7782c780b130463e1d7c0605a9e617880d1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a3dd8d3af023837516d8715393acbaa7b252f6d7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ecc5b17b8d2b1f720262e991896da2c909154a4d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99432.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99432"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ocfs2/dlm: hold the lookup reference across convert AST enqueue"
}