{
  "id": "CVE-2026-68388",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-68388",
  "published_at": "2026-08-10T12:04:07.304Z",
  "title": "smb/client: handle overlapping allocated ranges in fallocate",
  "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\nsmb/client: handle overlapping allocated ranges in fallocate\n\nsmb3_simple_fallocate_range() can skip holes when an allocated range\nreturned by the server starts before the current fallocate offset. The\nskipped hole is not zero-filled, but fallocate still returns success. A\nlater write to that hole may therefore fail with ENOSPC.\n\nThe function queries allocated ranges so that it can preserve existing\ncontents and write zeroes only into holes. However, the server may return\na range that starts before the current fallocate offset.\n\nFor example, assume the fallocate request is [100, 400) and the only\nallocated range returned by the server is [0, 200):\n\n        Request:      [100, 400)\n        Server range: [  0, 200)  allocated\n\n        Correct:\n        [100, 200)    allocated data, skip\n        [200, 400)    hole, zero-fill\n\n        Current:\n        [100, 300)    skipped\n        [300, 400)    zero-filled afterwards\n\nThe current code adds the full server range length, 200, to the current\noffset 100 and moves to 300. As a result, the hole in [200, 300) is\nskipped without being zero-filled.\n\nFix this by advancing only over the part of the allocated range that\noverlaps the current fallocate offset.  Ignore ranges that end before the\ncurrent offset and reject ranges whose end offset overflows.\n\nThis also prevents a malformed range length from causing an out-of-bounds\nzero-buffer read.",
  "cwe": "CWE-125",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= c406bb9ece6ef63721daab106f132ff4b4234e81, \u003c aeb58a4eb39a7ff4d7782b4f4ada0fda5e0675d2",
          "\u003e= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \u003c 01719883235507b1585e4c51e320d9a7113dc698",
          "\u003e= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \u003c f47c7277c03a636fcc3a57969f2dc09567b3c050",
          "\u003e= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \u003c 437637f5ff3f573b2edf8571de91fb00a21eb4e6",
          "\u003e= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \u003c 377fe3e583e46369ee1004d5cfe12271d6589a68",
          "\u003e= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \u003c 7e08ab7a061b17ac1989a225c6afb53f44a86808",
          "\u003e= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \u003c a4a09e5142835633fffbde68bd0a039ba4d4bf97",
          "\u003e= 966a3cb7c7db786452a87afdc3b48858fc4d4d6b, \u003c b09ae45d85dc816987a71db9eebc54b0ae288e94",
          "2f9f4a2d0e6fcf0673ed51195e06e47abe966900",
          "5e397c943424de94879830e72c95f2679e297a76",
          "\u003e= 5.10.50, \u003c 5.10.265",
          "\u003e= 5.12.17, \u003c 5.13",
          "\u003e= 5.13.2, \u003c 5.14"
        ],
        "fixed_in": [
          "aeb58a4eb39a7ff4d7782b4f4ada0fda5e0675d2",
          "01719883235507b1585e4c51e320d9a7113dc698",
          "f47c7277c03a636fcc3a57969f2dc09567b3c050",
          "437637f5ff3f573b2edf8571de91fb00a21eb4e6",
          "377fe3e583e46369ee1004d5cfe12271d6589a68",
          "7e08ab7a061b17ac1989a225c6afb53f44a86808",
          "a4a09e5142835633fffbde68bd0a039ba4d4bf97",
          "b09ae45d85dc816987a71db9eebc54b0ae288e94",
          "5.10.265",
          "5.13",
          "5.14"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.14"
        ],
        "fixed_in": [
          "0",
          "5.10.265",
          "5.15.216",
          "6.1.183",
          "6.6.148",
          "6.12.101",
          "6.18.42",
          "7.1.6",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to aeb58a4eb39a7ff4d7782b4f4ada0fda5e0675d2 or 01719883235507b1585e4c51e320d9a7113dc698 or f47c7277c03a636fcc3a57969f2dc09567b3c050 or 437637f5ff3f573b2edf8571de91fb00a21eb4e6 or 377fe3e583e46369ee1004d5cfe12271d6589a68 or 7e08ab7a061b17ac1989a225c6afb53f44a86808 or a4a09e5142835633fffbde68bd0a039ba4d4bf97 or b09ae45d85dc816987a71db9eebc54b0ae288e94 or 5.10.265 or 5.13 or 5.14 or later.",
      "Upgrade Linux to 0 or 5.10.265 or 5.15.216 or 6.1.183 or 6.6.148 or 6.12.101 or 6.18.42 or 7.1.6 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
