-

CVE-2026-90278

md: wait for behind writes before destroying bitmap

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

md: wait for behind writes before destroying bitmap

__md_stop() destroyed the bitmap before calling mddev_detach(). That made
mddev_detach() skip bitmap_ops->wait_behind_writes(), because the bitmap
was already disconnected from mddev.

This was still safe for the legacy bitmap because bitmap_destroy() waits
for behind writes itself. llbitmap keeps that wait in its
->wait_behind_writes() operation instead, while ->destroy() tears down the
llbitmap storage. With the old ordering, RAID1 behind-write completions
could still run after llbitmap storage had been freed.

Call mddev_detach() before md_bitmap_destroy() so the common detach path
can wait for behind writes while the bitmap is still alive. Only destroy
the bitmap after those users are gone.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 5ab829f1971dc99f2aac10846c378e67fc875abc
Version < 73881ff7a75913f919a1ce9d9571bfaab8e8588d
Status affected
Version 5ab829f1971dc99f2aac10846c378e67fc875abc
Version < 4224dccd325a9380e8edfb66aad8bb5771c94222
Status affected
Version 5ab829f1971dc99f2aac10846c378e67fc875abc
Version < 2a79365b2278f16e163e4024086105693b421601
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.18
Status affected
Version 0
Version < 6.18
Status unaffected
Version <= 6.18.*
Version 6.18.52
Status unaffected
Version <= 7.2.*
Version 7.2.6
Status unaffected
Version <= *
Version 7.3-rc1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.2% 0.099
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/73881ff7a75913f919a1ce9d9571bfaab8e8588d
https://git.kernel.org/stable/c/4224dccd325a9380e8edfb66aad8bb5771c94222
https://git.kernel.org/stable/c/2a79365b2278f16e163e4024086105693b421601