{
  "id": "CVE-2026-89558",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-89558",
  "published_at": "2026-09-11T19:44:30.588Z",
  "title": "md/raid10: fix still_degraded being inverted in raid10_sync_request()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid10: fix still_degraded being inverted in raid10_sync_request()\n\nCommit fe6a19d40ceb (\"md/md-bitmap: merge md_bitmap_start_sync() into\nbitmap_operations\") converted still_degraded from int to bool, but\ninverted the assignment in the loop that checks whether the array will\nstill be degraded after the current device is recovered:\n\"still_degraded = 1\" became \"still_degraded = false\".\n\nAs a result, recovering a device while another mirror is still missing\ncalls md_bitmap_start_sync() with degraded == false, which clears bitmap\nbits that the still-missing device needs.  When that device is re-added,\nits bitmap-based recovery finds the bits already cleared and skips every\nregion written while the array was degraded, so it is marked In_sync\nwhile holding stale data: silent corruption.\n\nReproducer (raid10 near=2, 4 disks, internal bitmap):\n - fail and remove one disk of each mirror pair\n - write to the degraded array\n - re-add both disks and let recovery finish\n - \"check\" reports mismatch_cnt=262272 after 256 MiB of degraded\n   writes and file contents differ; the second disk's \"recovery\"\n   completes in milliseconds because everything is skipped\n\nThe same conversion in raid1 got it right (still_degraded = true).\nRestore the correct value.",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= fe6a19d40ceb44281905485f56dda715e3214e0e, \u003c 9bb8da6ecb330a5b1ac9b96f1e55f134a7aef1d4",
          "\u003e= fe6a19d40ceb44281905485f56dda715e3214e0e, \u003c 0efabe6229dc683dbf6eeebd0f9fddc7971ed420",
          "\u003e= fe6a19d40ceb44281905485f56dda715e3214e0e, \u003c 00449d752bee9c8787f42ea1bf533a9fb17f9b6b",
          "\u003e= fe6a19d40ceb44281905485f56dda715e3214e0e, \u003c 47f1441b281decde6954a2fa82b4131637d685ac"
        ],
        "fixed_in": [
          "9bb8da6ecb330a5b1ac9b96f1e55f134a7aef1d4",
          "0efabe6229dc683dbf6eeebd0f9fddc7971ed420",
          "00449d752bee9c8787f42ea1bf533a9fb17f9b6b",
          "47f1441b281decde6954a2fa82b4131637d685ac"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.12"
        ],
        "fixed_in": [
          "0",
          "6.12.109",
          "6.18.50",
          "7.2.4",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 9bb8da6ecb330a5b1ac9b96f1e55f134a7aef1d4 or 0efabe6229dc683dbf6eeebd0f9fddc7971ed420 or 00449d752bee9c8787f42ea1bf533a9fb17f9b6b or 47f1441b281decde6954a2fa82b4131637d685ac or later.",
      "Upgrade Linux to 0 or 6.12.109 or 6.18.50 or 7.2.4 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
