{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e7fd41792fc0ee52a05fcaac87511f118328d147"
            },
            {
              "fixed": "073b3af9b8f5a98054d1607d25fcb5a29bbe61c1"
            },
            {
              "fixed": "fa7894deb868a21530f19094b31cfb45d684b49f"
            },
            {
              "fixed": "cd601163736041f8aa5160463796ace841509c3e"
            },
            {
              "fixed": "7f662eb1807ed732ac7d5e119753c8185f241bb8"
            }
          ],
          "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.19"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139519.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndlm: validate node weights before building member array\n\nDLM node weights are parsed as signed integers and copied into the member\nlist. make_member_array() uses their sum as the allocation count, but only\npositive weights contribute entries to the array. A negative weight can\ntherefore reduce the allocation without reducing the number of writes.\n\nThe issue was found through static analysis of the configfs input and\nmember array construction. With two recovery members weighted -31 and 32,\nthe sum is 1, so recovery allocates one int and then writes the positive\nmember's node ID 32 times. A reproducer using dlm_controld and dlm_tool\ntriggered the same report on a KASAN kernel:\n\n  BUG: KASAN: slab-out-of-bounds in dlm_recover_members [dlm]\n  Write of size 4 by task dlm_recoverd\n\n  Call Trace:\n   dlm_recover_members\n   dlm_recoverd\n   kthread\n   ret_from_fork\n\nReject negative weights at the configfs input boundary. Also detect\noverflow when adding non-negative weights to the signed allocation count,\nand propagate array construction errors to the recovery path.",
  "id": "CVE-2026-139519",
  "modified": "2026-11-30T14:45:28.443610770Z",
  "published": "2026-11-30T13:35:30.065Z",
  "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/073b3af9b8f5a98054d1607d25fcb5a29bbe61c1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7f662eb1807ed732ac7d5e119753c8185f241bb8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cd601163736041f8aa5160463796ace841509c3e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fa7894deb868a21530f19094b31cfb45d684b49f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139519.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139519"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "dlm: validate node weights before building member array"
}