Linux
md/md-llbitmap: skip reading rdevs that are not in_sync
In the Linux kernel, the following vulnerability has been resolved: md/md-llbitmap: skip reading rdevs that are not in_sync When reading bitmap pages from member disks, the code iterates through all rdevs and attempts to read from the first available one. However, it only checks for raid_disk assignment and Faulty flag, missing the In_sync flag check. This can cause bitmap data to be read from spare disks that are still being rebuilt and don't have valid bitmap information yet. Reading stale or uninitialized bitmap data from such disks can lead to incorrect dirty bit tracking, potentially causing data corruption during recovery or normal operation. Add the In_sync flag check to ensure bitmap pages are only read from fully synchronized member disks that have valid bitmap data.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5ab829f1971dc99f2aac10846c378e67fc875abc, < 98623c7e2a51eab1833c8628d33fa9c6ef3ce325
- >= 5ab829f1971dc99f2aac10846c378e67fc875abc, < 3115fa2f62970d98f2a639145fb8e2767db8bbf9
- >= 5ab829f1971dc99f2aac10846c378e67fc875abc, < 7701e68b5072faa03a8f30b4081dc16df9092381
Fixed in 98623c7e2a51eab1833c8628d33fa9c6ef3ce325, 3115fa2f62970d98f2a639145fb8e2767db8bbf9, 7701e68b5072faa03a8f30b4081dc16df9092381
- 6.18
Fixed in 0, 6.18.27, 7.0.4, 7.1
Mitigation
Upgrade Linux to 98623c7e2a51eab1833c8628d33fa9c6ef3ce325 or 3115fa2f62970d98f2a639145fb8e2767db8bbf9 or 7701e68b5072faa03a8f30b4081dc16df9092381 or later.
Upgrade Linux to 0 or 6.18.27 or 7.0.4 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.