{"id":"CVE-2026-53123","state":"PUBLISHED","title":"md: wake raid456 reshape waiters before suspend","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd: wake raid456 reshape waiters before suspend\n\nDuring raid456 reshape, direct IO across the reshape position can sleep\nin raid5_make_request() waiting for reshape progress while still\nholding an active_io reference. If userspace then freezes reshape and\nwrites md/suspend_lo or md/suspend_hi, mddev_suspend() kills active_io\nand waits for all in-flight IO to drain.\n\nThis can deadlock: the IO needs reshape progress to continue, but the\nreshape thread is already frozen, so the active_io reference is never\ndropped and suspend never completes.\n\nraid5_prepare_suspend() already wakes wait_for_reshape for dm-raid. Do\nthe same for normal md suspend when reshape is already interrupted, so\nwaiting raid456 IO can abort, drop its reference, and let suspend\nfinish.\n\nThe mdadm test tests/25raid456-reshape-deadlock reproduces the hang.","publishedAt":"2026-06-24T16:30:52.609Z","updatedAt":"2026-10-21T12:42:09.638Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"714d20150ed85811193ae07a494d91f9927c590f","status":"affected","lessThan":"8b6a72420821e6da2cab6a69d5233500d2698b93","versionType":"git"},{"version":"714d20150ed85811193ae07a494d91f9927c590f","status":"affected","lessThan":"ff6b93410192b812d73cc54062529715b2dc849f","versionType":"git"},{"version":"714d20150ed85811193ae07a494d91f9927c590f","status":"affected","lessThan":"8ae3e14d7f3df58f7f49c02d74344e3dcd5f84f0","versionType":"git"},{"version":"714d20150ed85811193ae07a494d91f9927c590f","status":"affected","lessThan":"cf86bb53b9c92354904a328e947a05ffbfdd1840","versionType":"git"},{"version":"2284eab166f2df83f94f0422e15dc9e73b278abf","status":"affected","versionType":"git"},{"version":"6.6.160","status":"affected","lessThan":"6.7","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/md.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.91","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/md.c"]}],"references":["https://git.kernel.org/stable/c/8b6a72420821e6da2cab6a69d5233500d2698b93","https://git.kernel.org/stable/c/ff6b93410192b812d73cc54062529715b2dc849f","https://git.kernel.org/stable/c/8ae3e14d7f3df58f7f49c02d74344e3dcd5f84f0","https://git.kernel.org/stable/c/cf86bb53b9c92354904a328e947a05ffbfdd1840"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53123.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53123","state":"PUBLISHED","datePublished":"2026-06-24T16:30:52.609Z","dateUpdated":"2026-10-21T12:42:09.638Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.386Z"},"containers":{"cna":{"title":"md: wake raid456 reshape waiters before suspend","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd: wake raid456 reshape waiters before suspend\n\nDuring raid456 reshape, direct IO across the reshape position can sleep\nin raid5_make_request() waiting for reshape progress while still\nholding an active_io reference. If userspace then freezes reshape and\nwrites md/suspend_lo or md/suspend_hi, mddev_suspend() kills active_io\nand waits for all in-flight IO to drain.\n\nThis can deadlock: the IO needs reshape progress to continue, but the\nreshape thread is already frozen, so the active_io reference is never\ndropped and suspend never completes.\n\nraid5_prepare_suspend() already wakes wait_for_reshape for dm-raid. Do\nthe same for normal md suspend when reshape is already interrupted, so\nwaiting raid456 IO can abort, drop its reference, and let suspend\nfinish.\n\nThe mdadm test tests/25raid456-reshape-deadlock reproduces the hang."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"714d20150ed85811193ae07a494d91f9927c590f","status":"affected","lessThan":"8b6a72420821e6da2cab6a69d5233500d2698b93","versionType":"git"},{"version":"714d20150ed85811193ae07a494d91f9927c590f","status":"affected","lessThan":"ff6b93410192b812d73cc54062529715b2dc849f","versionType":"git"},{"version":"714d20150ed85811193ae07a494d91f9927c590f","status":"affected","lessThan":"8ae3e14d7f3df58f7f49c02d74344e3dcd5f84f0","versionType":"git"},{"version":"714d20150ed85811193ae07a494d91f9927c590f","status":"affected","lessThan":"cf86bb53b9c92354904a328e947a05ffbfdd1840","versionType":"git"},{"version":"2284eab166f2df83f94f0422e15dc9e73b278abf","status":"affected","versionType":"git"},{"version":"6.6.160","status":"affected","lessThan":"6.7","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/md.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.91","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/md.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8b6a72420821e6da2cab6a69d5233500d2698b93"},{"url":"https://git.kernel.org/stable/c/ff6b93410192b812d73cc54062529715b2dc849f"},{"url":"https://git.kernel.org/stable/c/8ae3e14d7f3df58f7f49c02d74344e3dcd5f84f0"},{"url":"https://git.kernel.org/stable/c/cf86bb53b9c92354904a328e947a05ffbfdd1840"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:42:09.638Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.91"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.18.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"7.0.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"7.1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.160"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}