{"api_version":"1","generated_at":"2026-11-30T18:22:11+00:00","cve":"CVE-2026-139519","urls":{"html":"https://cve.report/CVE-2026-139519","api":"https://cve.report/api/cve/CVE-2026-139519.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139519","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139519"},"summary":{"title":"dlm: validate node weights before building member array","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:28","updated_at":"2026-11-30 14:19:28"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/cd601163736041f8aa5160463796ace841509c3e","name":"https://git.kernel.org/stable/c/cd601163736041f8aa5160463796ace841509c3e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7f662eb1807ed732ac7d5e119753c8185f241bb8","name":"https://git.kernel.org/stable/c/7f662eb1807ed732ac7d5e119753c8185f241bb8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/073b3af9b8f5a98054d1607d25fcb5a29bbe61c1","name":"https://git.kernel.org/stable/c/073b3af9b8f5a98054d1607d25fcb5a29bbe61c1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fa7894deb868a21530f19094b31cfb45d684b49f","name":"https://git.kernel.org/stable/c/fa7894deb868a21530f19094b31cfb45d684b49f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139519","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139519","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7fd41792fc0ee52a05fcaac87511f118328d147 073b3af9b8f5a98054d1607d25fcb5a29bbe61c1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7fd41792fc0ee52a05fcaac87511f118328d147 fa7894deb868a21530f19094b31cfb45d684b49f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7fd41792fc0ee52a05fcaac87511f118328d147 cd601163736041f8aa5160463796ace841509c3e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7fd41792fc0ee52a05fcaac87511f118328d147 7f662eb1807ed732ac7d5e119753c8185f241bb8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/dlm/config.c","fs/dlm/member.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"073b3af9b8f5a98054d1607d25fcb5a29bbe61c1","status":"affected","version":"e7fd41792fc0ee52a05fcaac87511f118328d147","versionType":"git"},{"lessThan":"fa7894deb868a21530f19094b31cfb45d684b49f","status":"affected","version":"e7fd41792fc0ee52a05fcaac87511f118328d147","versionType":"git"},{"lessThan":"cd601163736041f8aa5160463796ace841509c3e","status":"affected","version":"e7fd41792fc0ee52a05fcaac87511f118328d147","versionType":"git"},{"lessThan":"7f662eb1807ed732ac7d5e119753c8185f241bb8","status":"affected","version":"e7fd41792fc0ee52a05fcaac87511f118328d147","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/dlm/config.c","fs/dlm/member.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.19"},{"lessThan":"2.6.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:35:30.065Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/073b3af9b8f5a98054d1607d25fcb5a29bbe61c1"},{"url":"https://git.kernel.org/stable/c/fa7894deb868a21530f19094b31cfb45d684b49f"},{"url":"https://git.kernel.org/stable/c/cd601163736041f8aa5160463796ace841509c3e"},{"url":"https://git.kernel.org/stable/c/7f662eb1807ed732ac7d5e119753c8185f241bb8"}],"title":"dlm: validate node weights before building member array","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139519","datePublished":"2026-11-30T13:35:30.065Z","dateReserved":"2026-11-30T13:22:15.938Z","dateUpdated":"2026-11-30T13:35:30.065Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:28","lastModifiedDate":"2026-11-30 14:19:28","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139519","Ordinal":"1","Title":"dlm: validate node weights before building member array","CVE":"CVE-2026-139519","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139519","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"dlm: validate node weights before building member array"}]}}}