{
  "id": "CVE-2026-72367",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-72367",
  "published_at": "2026-08-15T05:56:04.669Z",
  "title": "iomap: guard io_size EOF trim against concurrent truncate underflow",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/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\niomap: guard io_size EOF trim against concurrent truncate underflow\n\niomap: fix zero padding data issue in concurrent append writes\nchanged ioend accounting so that io_size tracks only valid data\nwithin EOF.  This trims io_size when a writeback range extends\npast end_pos:\n\n    ioend-\u003eio_size += map_len;\n    if (ioend-\u003eio_offset + ioend-\u003eio_size \u003e end_pos)\n        ioend-\u003eio_size = end_pos - ioend-\u003eio_offset;\n\nHowever, if end_pos ends up below ioend-\u003eio_offset, the subtraction\nbecomes negative and is stored in size_t io_size, causing an unsigned\nwrap to a huge value.  This can happen when writeback continues past\nbyte-level EOF up to a block-aligned range, or when a concurrent\ntruncate shrinks the file after end_pos was sampled in\niomap_writeback_handle_eof().\n\nA wrapped io_size can mislead append detection and corrupt\ncompletion-time size handling, since filesystem end_io paths consume\nio_size for decisions such as on-disk EOF updates and unwritten/COW\ncompletion ranges.\n\nFix this by clamping io_size to zero when EOF has moved to or before\nthe ioend start offset.  This preserves the original intent of trimming\nio_size to valid in-EOF data while avoiding the underflow.",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 82c59a86a247a8970d353d10f52a37e5564fb137, \u003c cc1d6af0bee27d6595908b497424f338161299fc",
          "\u003e= 51d20d1dacbec589d459e11fc88fbca419f84a99, \u003c 1f38f65bf965fce9aa159d45c5347538f56c5973",
          "\u003e= 51d20d1dacbec589d459e11fc88fbca419f84a99, \u003c 7f7780abb4c0fdc9a2603aea8e985ff14ee900e0",
          "\u003e= 51d20d1dacbec589d459e11fc88fbca419f84a99, \u003c 55ec50d046c03b3724741957f7b007856e36dbe7",
          "\u003e= 6.12.10, \u003c 6.12.114"
        ],
        "fixed_in": [
          "cc1d6af0bee27d6595908b497424f338161299fc",
          "1f38f65bf965fce9aa159d45c5347538f56c5973",
          "7f7780abb4c0fdc9a2603aea8e985ff14ee900e0",
          "55ec50d046c03b3724741957f7b007856e36dbe7",
          "6.12.114"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.13"
        ],
        "fixed_in": [
          "0",
          "6.12.114",
          "6.18.40",
          "7.1.5",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to cc1d6af0bee27d6595908b497424f338161299fc or 1f38f65bf965fce9aa159d45c5347538f56c5973 or 7f7780abb4c0fdc9a2603aea8e985ff14ee900e0 or 55ec50d046c03b3724741957f7b007856e36dbe7 or 6.12.114 or later.",
      "Upgrade Linux to 0 or 6.12.114 or 6.18.40 or 7.1.5 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
