md/md-llbitmap: skip reading rdevs that are not in_sync
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.277.0.47.1In 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.
From the CVE record · Linux
The Linux kernel's md/md-llbitmap code can read bitmap data from a spare disk that is still being rebuilt. Stale or uninitialized data can cause incorrect dirty-bit tracking and potentially corrupt data during recovery or normal operation. The input does not describe an attacker path, authentication requirement, or user interaction.
Engineers running the Linux kernel with md arrays should check their systems; affected versions were not provided.