{
  "slug": "misdirected-write",
  "term": "Misdirected write",
  "aliases": [],
  "definition": "A misdirected write stores an update at the wrong address or on the wrong device.",
  "note": "The original destination may remain stale while another location is overwritten; a valid checksum does not by itself bind returned data to the requested location.\n\nThe intended location never receives the update and behaves like a lost write, while another location, the victim, is overwritten. [krioukov2008] If the data and its matching checksum move together, checking that pair can pass despite the wrong location; valid format alone does not establish identity. [iron2005]\n\nIn the cited model, physical identity is checked on maintenance reads as well as user reads; logical identity is checked only on user reads. Write-verify re-issues only the target's write and leaves the victim consistent but wrong. [krioukov2008] RAID scrubs cannot check logical identity, which only the file system understands. [field]\n\nThe cited Linux documentation describes the classic 8-byte DIF format, not every protection-information format. Participating devices must support and enable the relevant checks; reference tags may be remapped along the I/O path. [kdoc] A valid address alone does not establish freshness. [krioukov2008]",
  "related": [
    "lost-write",
    "protection-information",
    "parity-pollution",
    "version-mirroring"
  ],
  "citations": [
    {
      "id": "field",
      "title": "Bairavasundaram et al. An Analysis of Data Corruption in the Storage Stack. FAST 2008, sections 2-3 and 6.",
      "url": "https://www.usenix.org/legacy/events/fast08/tech/full_papers/bairavasundaram/bairavasundaram_html/index.html",
      "accessed": "2026-11-01"
    },
    {
      "id": "hesela-integrity",
      "title": "Hesela: checksum, identity and freshness boundaries with executable synthetic examples",
      "url": "https://hesela.com/analyses/checksums-identity-and-lost-writes/",
      "accessed": "2026-10-11"
    },
    {
      "id": "iron2005",
      "title": "Prabhakaran et al. IRON File Systems. ACM SOSP 2005, sections 2 and 3.",
      "url": "https://research.cs.wisc.edu/adsl/Publications/iron-sosp05.pdf",
      "accessed": "2026-10-16"
    },
    {
      "id": "krioukov2008",
      "title": "Krioukov et al. Parity Lost and Parity Regained. USENIX FAST 2008, sections 2-4.",
      "url": "https://www.usenix.org/legacy/event/fast08/tech/full_papers/krioukov/krioukov_html/index.html",
      "accessed": "2026-11-01"
    },
    {
      "id": "zfs2010",
      "title": "Zhang, Rajimwale, Arpaci-Dusseau and Arpaci-Dusseau. End-to-end Data Integrity for File Systems: A ZFS Case Study. USENIX FAST 2010.",
      "url": "https://www.usenix.org/legacy/event/fast10/tech/full_papers/zhang.pdf",
      "accessed": "2026-10-16"
    },
    {
      "id": "kdoc",
      "title": "Linux v6.16 Documentation/block/data-integrity.rst.",
      "url": "https://github.com/torvalds/linux/blob/v6.16/Documentation/block/data-integrity.rst",
      "accessed": "2026-11-01"
    }
  ],
  "status": "unknown",
  "advantages": [],
  "limitations": [
    {
      "text": "Physical identity alone does not detect a lost write that leaves an older block at the correct address.",
      "citationIds": [
        "krioukov2008"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-01",
  "provenance": [
    "The FAST 2008 field study groups lost and misdirected writes under observed identity discrepancies; the separate model-checking study explicitly distinguishes their fault transitions.",
    "The block-integrity documentation was written by an employee of a storage company; the check depends on drives and controllers supporting protection information.",
    "The parent-checksum file-system study describes detection of misdirected writes, but its fault injection flipped bits only."
  ]
}
