{"id":"CVE-2026-90278","published":"2026-09-17T16:08:09Z","modified":"2026-10-19T09:00:55Z","title":"md: wait for behind writes before destroying bitmap","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd: wait for behind writes before destroying bitmap\n\n__md_stop() destroyed the bitmap before calling mddev_detach(). That made\nmddev_detach() skip bitmap_ops->wait_behind_writes(), because the bitmap\nwas already disconnected from mddev.\n\nThis was still safe for the legacy bitmap because bitmap_destroy() waits\nfor behind writes itself. llbitmap keeps that wait in its\n->wait_behind_writes() operation instead, while ->destroy() tears down the\nllbitmap storage. With the old ordering, RAID1 behind-write completions\ncould still run after llbitmap storage had been freed.\n\nCall mddev_detach() before md_bitmap_destroy() so the common detach path\ncan wait for behind writes while the bitmap is still alive. Only destroy\nthe bitmap after those users are gone.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00206,"percentile":0.10634,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/73881ff7a75913f919a1ce9d9571bfaab8e8588d","tags":[]},{"url":"https://git.kernel.org/stable/c/4224dccd325a9380e8edfb66aad8bb5771c94222","tags":[]},{"url":"https://git.kernel.org/stable/c/2a79365b2278f16e163e4024086105693b421601","tags":[]}],"priority":{"score":2.1,"factors":[{"name":"EPSS percentile","points":2.13}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 5ab829f1971dc99f2aac10846c378e67fc875abc, < 73881ff7a75913f919a1ce9d9571bfaab8e8588d",">= 5ab829f1971dc99f2aac10846c378e67fc875abc, < 4224dccd325a9380e8edfb66aad8bb5771c94222",">= 5ab829f1971dc99f2aac10846c378e67fc875abc, < 2a79365b2278f16e163e4024086105693b421601"]},{"vendor":"Linux","product":"Linux","versions":["6.18"]}],"euvd":{"id":"EUVD-2026-81871","exploited":false,"provenance":"source"}}