{
  "id": "CVE-2026-68145",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-68145",
  "published_at": "2026-08-10T11:59:09.721Z",
  "title": "iomap: fix out-of-bounds bitmap_set() with zero-length range",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/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: fix out-of-bounds bitmap_set() with zero-length range\n\nifs_set_range_dirty() and ifs_set_range_uptodate() compute last_blk\nas (off + len - 1) \u003e\u003e i_blkbits.  When off is 0 and len is 0, the\nunsigned subtraction underflows to SIZE_MAX, producing a huge\nlast_blk and nr_blks value that causes bitmap_set() to write far\nbeyond the ifs-\u003estate allocation.\n\nRegarding ifs_set_range_uptodate(), it is temporarily safe because len\ncannot be passed in as 0. However, for ifs_set_range_dirty() this is\nreachable from __iomap_write_end(): when copy_folio_from_iter_atomic()\nreturns 0 (e.g. user buffer fault) and the folio is already uptodate,\nthe guard at the top of __iomap_write_end() does not trigger because\n!folio_test_uptodate() is false, and iomap_set_range_dirty() is called\nwith copied == 0.\n\nAdd a !len guard to both functions before the computation, so that a\nzero-length range is a no-op.",
  "cwe": "CWE-190",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 4ce02c67972211be488408c275c8fbf19faf29b3, \u003c 48829622212f6b8f49155889aecc818ba28ba680",
          "\u003e= 4ce02c67972211be488408c275c8fbf19faf29b3, \u003c fb4fad9105c88b1d82f1b3c39e3b6abea8249af6",
          "\u003e= 4ce02c67972211be488408c275c8fbf19faf29b3, \u003c 7037e7bdcd26f46c080b8ce307dee5cb471c4b7c",
          "\u003e= 4ce02c67972211be488408c275c8fbf19faf29b3, \u003c c5b6a48a8a716a7730e39af1cad083dc4ec955ce",
          "\u003e= 4ce02c67972211be488408c275c8fbf19faf29b3, \u003c 9c7d8f7c8994c790fca501dc45ce66e7356cbe05"
        ],
        "fixed_in": [
          "48829622212f6b8f49155889aecc818ba28ba680",
          "fb4fad9105c88b1d82f1b3c39e3b6abea8249af6",
          "7037e7bdcd26f46c080b8ce307dee5cb471c4b7c",
          "c5b6a48a8a716a7730e39af1cad083dc4ec955ce",
          "9c7d8f7c8994c790fca501dc45ce66e7356cbe05"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.6"
        ],
        "fixed_in": [
          "0",
          "6.6.153",
          "6.12.101",
          "6.18.42",
          "7.1.6",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 48829622212f6b8f49155889aecc818ba28ba680 or fb4fad9105c88b1d82f1b3c39e3b6abea8249af6 or 7037e7bdcd26f46c080b8ce307dee5cb471c4b7c or c5b6a48a8a716a7730e39af1cad083dc4ec955ce or 9c7d8f7c8994c790fca501dc45ce66e7356cbe05 or later.",
      "Upgrade Linux to 0 or 6.6.153 or 6.12.101 or 6.18.42 or 7.1.6 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
