CVE-2026-90275 PUBLISHED

md/raid1: don't set array_frozen in raid1_takeover()

Assigner: Linux
Reserved: 11.09.2026 Published: 17.09.2026 Updated: 17.09.2026

In the Linux kernel, the following vulnerability has been resolved:

md/raid1: don't set array_frozen in raid1_takeover()

raid1_takeover() sets conf->array_frozen = 1 on the newly-allocated r1conf and nothing ever clears it, so every I/O to the array stalls permanently once _wait_barrier() sees it stuck at 1.

This used to be harmless: level_store() called mddev_resume() right after pers->run(), which called raid1_quiesce(mddev, 0) and cleared array_frozen back to 0 regardless of what raid1_takeover() set. Commit b39f35ebe86d ("md: don't quiesce in mddev_suspend()") removed that quiesce(mddev, 0) call, so the pre-set now sticks.

setup_conf() already zero-initializes the new r1conf via kzalloc, so just don't set array_frozen here.

Same class of bug as commit 892da88d1cd9 ("md/raid10: fix a 'conf->barrier' leakage in raid10_takeover()"), also triggered by b39f35ebe86d.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from b39f35ebe86d88788d85f61e83c81c308cb76727 to 668d99ba47210ab6ceb18f1cf022c0accca7e3bb (excl.)
  • affected from b39f35ebe86d88788d85f61e83c81c308cb76727 to c57ec2749ee03cace564eec7bb37c89dc3d8d47b (excl.)
  • affected from b39f35ebe86d88788d85f61e83c81c308cb76727 to f9cdb5bb8efbf401e84d850828271af87e6be2dc (excl.)
  • affected from b39f35ebe86d88788d85f61e83c81c308cb76727 to b6ec4bf1ec4446c0213c08ea493e48e6b83cd1af (excl.)
  • affected from b39f35ebe86d88788d85f61e83c81c308cb76727 to dc386aa0ac0a3ec06c9a3ea9b064b073fb72a916 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.6 is affected
  • unaffected from 0 to 6.6 (excl.)
  • unaffected from 6.6.157 to 6.6.* (incl.)
  • unaffected from 6.12.110 to 6.12.* (incl.)
  • unaffected from 6.18.52 to 6.18.* (incl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References