{"id":"CVE-2026-90278","title":"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()","summary":"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_behi…","severity":"medium","vendor":"Linux","product":"Linux","affected":["Linux >= 5ab829f1971dc99f2aac10846c378e67fc875abc < 73881ff7a75913f919a1ce9d9571bfaab8e8588d","Linux >= 5ab829f1971dc99f2aac10846c378e67fc875abc < 4224dccd325a9380e8edfb66aad8bb5771c94222","Linux >= 5ab829f1971dc99f2aac10846c378e67fc875abc < 2a79365b2278f16e163e4024086105693b421601","Linux 6.18"],"published":"2026-09-17","updated":"2026-09-17","sourceUpdated":"2026-09-17T17:17:24.460","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-90278","references":[{"url":"https://git.kernel.org/stable/c/2a79365b2278f16e163e4024086105693b421601","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/4224dccd325a9380e8edfb66aad8bb5771c94222","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/73881ff7a75913f919a1ce9d9571bfaab8e8588d","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-90278.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-90278"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2536245"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-90278"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90278"},{"url":"https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-90278.mbox"},{"url":"https://kernelcve.org/list/?q=CVE-2026-90278"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"ingestedAt":"2026-09-17T16:21:47.838Z","epss":0.00206,"epssPercentile":0.10611,"cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cvssSource":"vendor","cwe":["CWE-416"],"slug":"CVE-2026-90278","body":"## Overview\n\nIn 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · updated 2026-10-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-90278.json)","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":227066,"id":"CVE-2026-90278","ts":1792585058758,"field":"cvss","old":null,"new":"5.5"},{"seq":227065,"id":"CVE-2026-90278","ts":1792585058758,"field":"severity","old":"none","new":"medium"}]}