{"id":"CVE-2026-139519","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:19:28.123","lastModified":"2026-11-30T14:19:28.123","vulnStatus":"Received","cveTags":[],"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/dlm/config.c","fs/dlm/member.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"e7fd41792fc0ee52a05fcaac87511f118328d147","lessThan":"073b3af9b8f5a98054d1607d25fcb5a29bbe61c1","versionType":"git","status":"affected"},{"version":"e7fd41792fc0ee52a05fcaac87511f118328d147","lessThan":"fa7894deb868a21530f19094b31cfb45d684b49f","versionType":"git","status":"affected"},{"version":"e7fd41792fc0ee52a05fcaac87511f118328d147","lessThan":"cd601163736041f8aa5160463796ace841509c3e","versionType":"git","status":"affected"},{"version":"e7fd41792fc0ee52a05fcaac87511f118328d147","lessThan":"7f662eb1807ed732ac7d5e119753c8185f241bb8","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/dlm/config.c","fs/dlm/member.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"2.6.19","status":"affected"},{"version":"0","lessThan":"2.6.19","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/073b3af9b8f5a98054d1607d25fcb5a29bbe61c1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7f662eb1807ed732ac7d5e119753c8185f241bb8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/cd601163736041f8aa5160463796ace841509c3e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/fa7894deb868a21530f19094b31cfb45d684b49f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}