{"id":"CVE-2026-143011","state":"PUBLISHED","title":"dm-raid: fix use-after-free in raid_dtr()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-raid: fix use-after-free in raid_dtr()\n\nraid_dtr() currently flushes event_work only if work_pending() is true.\nThis is insufficient because once a worker has dequeued the work, the\nPENDING bit is cleared while do_table_event() is still running. In that\nwindow raid_set_free() can free the raid_set, leading to a\nuse-after-free when do_table_event() accesses rs->ti->table.\n\nFlush event_work whenever it has been initialized, so raid_set is not\nfreed while the event handler is still running. The .func guard skips the\nflush for mddev instances where INIT_WORK has not run yet.","publishedAt":"2026-12-03T09:17:45.727Z","updatedAt":"2026-12-03T09:17:45.727Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"db29d79b34d9593179de5f868be45c650923e7b4","status":"affected","lessThan":"abcf294055516f8e494c04b8731e569ee623be38","versionType":"git"},{"version":"db29d79b34d9593179de5f868be45c650923e7b4","status":"affected","lessThan":"178d1d3260c97ab6eabc9b9c0e07ebec2c5c9936","versionType":"git"},{"version":"db29d79b34d9593179de5f868be45c650923e7b4","status":"affected","lessThan":"e8860e5773569fa297e1906747e770b7afe8bea4","versionType":"git"},{"version":"db29d79b34d9593179de5f868be45c650923e7b4","status":"affected","lessThan":"46af2c975958119290ddcd984a98491966123a7b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-raid.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-raid.c"]}],"references":["https://git.kernel.org/stable/c/abcf294055516f8e494c04b8731e569ee623be38","https://git.kernel.org/stable/c/178d1d3260c97ab6eabc9b9c0e07ebec2c5c9936","https://git.kernel.org/stable/c/e8860e5773569fa297e1906747e770b7afe8bea4","https://git.kernel.org/stable/c/46af2c975958119290ddcd984a98491966123a7b"],"weaknesses":[],"ingestedAt":"2026-12-03T09:26:06.073Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143011.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143011","state":"PUBLISHED","datePublished":"2026-12-03T09:17:45.727Z","dateUpdated":"2026-12-03T09:17:45.727Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.343Z"},"containers":{"cna":{"title":"dm-raid: fix use-after-free in raid_dtr()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm-raid: fix use-after-free in raid_dtr()\n\nraid_dtr() currently flushes event_work only if work_pending() is true.\nThis is insufficient because once a worker has dequeued the work, the\nPENDING bit is cleared while do_table_event() is still running. In that\nwindow raid_set_free() can free the raid_set, leading to a\nuse-after-free when do_table_event() accesses rs->ti->table.\n\nFlush event_work whenever it has been initialized, so raid_set is not\nfreed while the event handler is still running. The .func guard skips the\nflush for mddev instances where INIT_WORK has not run yet."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"db29d79b34d9593179de5f868be45c650923e7b4","status":"affected","lessThan":"abcf294055516f8e494c04b8731e569ee623be38","versionType":"git"},{"version":"db29d79b34d9593179de5f868be45c650923e7b4","status":"affected","lessThan":"178d1d3260c97ab6eabc9b9c0e07ebec2c5c9936","versionType":"git"},{"version":"db29d79b34d9593179de5f868be45c650923e7b4","status":"affected","lessThan":"e8860e5773569fa297e1906747e770b7afe8bea4","versionType":"git"},{"version":"db29d79b34d9593179de5f868be45c650923e7b4","status":"affected","lessThan":"46af2c975958119290ddcd984a98491966123a7b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-raid.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/dm-raid.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/abcf294055516f8e494c04b8731e569ee623be38"},{"url":"https://git.kernel.org/stable/c/178d1d3260c97ab6eabc9b9c0e07ebec2c5c9936"},{"url":"https://git.kernel.org/stable/c/e8860e5773569fa297e1906747e770b7afe8bea4"},{"url":"https://git.kernel.org/stable/c/46af2c975958119290ddcd984a98491966123a7b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:17:45.727Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}