{
  "id": "CVE-2026-89639",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-89639",
  "published_at": "2026-09-11T19:45:32.532Z",
  "title": "cifs: use cifs_invalidate_cache() in cifs_do_truncate() for O_TRUNC",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
  },
  "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\ncifs: use cifs_invalidate_cache() in cifs_do_truncate() for O_TRUNC\n\ncifs_do_truncate() is invoked from cifs_open() without i_rwsem, so it\ncannot use cifs_resize_file_locked() to perform a proper fscache cookie\nresize.  Instead, add cifs_invalidate_cache() after cifs_setsize().\n\ncifs_invalidate_cache() calls fscache_invalidate(), which works without\nholding i_rwsem: it unconditionally increments inval_counter and sets\nFSCACHE_COOKIE_NO_DATA_TO_READ, ensuring that stale cached data is not\nserved once the cookie is later activated by fscache_use_cookie().\nTruncation to zero leaves no valid cached data, making invalidation the\ncorrect semantic here.",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= efbcecdecefc26fa062c0e8210533ccad7d6bd4a, \u003c 8b9b10fe5b8b492b27b9f4546742ea541a650213",
          "\u003e= fa724e235cfdb0fb0bb427d0f9dfe864ae27403e, \u003c 81fc3868a7f726980ff845c1d0d271051e5f0f45",
          "\u003e= fa724e235cfdb0fb0bb427d0f9dfe864ae27403e, \u003c 364b183230586a62660a7280c1eb20138338eeb5",
          "6838bcac954487cc0a3c8a4ee1b3a3a30e244dc9",
          "75640976cf474eb41682a13f2dbe9534ac26ca50",
          "3513f3931c579ba2a715784c6dedc59e0d9282ee",
          "\u003e= 6.18.44, \u003c 6.18.50",
          "\u003e= 6.12.105, \u003c 6.13",
          "\u003e= 7.1.8, \u003c 7.2"
        ],
        "fixed_in": [
          "8b9b10fe5b8b492b27b9f4546742ea541a650213",
          "81fc3868a7f726980ff845c1d0d271051e5f0f45",
          "364b183230586a62660a7280c1eb20138338eeb5",
          "6.18.50",
          "6.13",
          "7.2"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "7.2"
        ],
        "fixed_in": [
          "0",
          "6.18.50",
          "7.2.4",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 8b9b10fe5b8b492b27b9f4546742ea541a650213 or 81fc3868a7f726980ff845c1d0d271051e5f0f45 or 364b183230586a62660a7280c1eb20138338eeb5 or 6.18.50 or 6.13 or 7.2 or later.",
      "Upgrade Linux to 0 or 6.18.50 or 7.2.4 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
