{"api_version":"1","generated_at":"2026-09-12T12:18:18+00:00","cve":"CVE-2026-89639","urls":{"html":"https://cve.report/CVE-2026-89639","api":"https://cve.report/api/cve/CVE-2026-89639.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89639","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89639"},"summary":{"title":"cifs: use cifs_invalidate_cache() in cifs_do_truncate() for O_TRUNC","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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-11 20:19:49","updated_at":"2026-09-11 20:19:49"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/81fc3868a7f726980ff845c1d0d271051e5f0f45","name":"https://git.kernel.org/stable/c/81fc3868a7f726980ff845c1d0d271051e5f0f45","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/364b183230586a62660a7280c1eb20138338eeb5","name":"https://git.kernel.org/stable/c/364b183230586a62660a7280c1eb20138338eeb5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8b9b10fe5b8b492b27b9f4546742ea541a650213","name":"https://git.kernel.org/stable/c/8b9b10fe5b8b492b27b9f4546742ea541a650213","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89639","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89639","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected efbcecdecefc26fa062c0e8210533ccad7d6bd4a 8b9b10fe5b8b492b27b9f4546742ea541a650213 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fa724e235cfdb0fb0bb427d0f9dfe864ae27403e 81fc3868a7f726980ff845c1d0d271051e5f0f45 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fa724e235cfdb0fb0bb427d0f9dfe864ae27403e 364b183230586a62660a7280c1eb20138338eeb5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6838bcac954487cc0a3c8a4ee1b3a3a30e244dc9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 75640976cf474eb41682a13f2dbe9534ac26ca50 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3513f3931c579ba2a715784c6dedc59e0d9282ee git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18.44 6.18.50 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.105 6.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.1.8 7.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.50 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.4 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/smb/client/file.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"8b9b10fe5b8b492b27b9f4546742ea541a650213","status":"affected","version":"efbcecdecefc26fa062c0e8210533ccad7d6bd4a","versionType":"git"},{"lessThan":"81fc3868a7f726980ff845c1d0d271051e5f0f45","status":"affected","version":"fa724e235cfdb0fb0bb427d0f9dfe864ae27403e","versionType":"git"},{"lessThan":"364b183230586a62660a7280c1eb20138338eeb5","status":"affected","version":"fa724e235cfdb0fb0bb427d0f9dfe864ae27403e","versionType":"git"},{"status":"affected","version":"6838bcac954487cc0a3c8a4ee1b3a3a30e244dc9","versionType":"git"},{"status":"affected","version":"75640976cf474eb41682a13f2dbe9534ac26ca50","versionType":"git"},{"status":"affected","version":"3513f3931c579ba2a715784c6dedc59e0d9282ee","versionType":"git"},{"lessThan":"6.18.50","status":"affected","version":"6.18.44","versionType":"semver"},{"lessThan":"6.13","status":"affected","version":"6.12.105","versionType":"semver"},{"lessThan":"7.2","status":"affected","version":"7.1.8","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/smb/client/file.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"7.2"},{"lessThan":"7.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.50","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.50","versionStartIncluding":"6.18.44","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.4","versionStartIncluding":"7.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"7.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.105","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1.8","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-09-11T19:45:32.532Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/8b9b10fe5b8b492b27b9f4546742ea541a650213"},{"url":"https://git.kernel.org/stable/c/81fc3868a7f726980ff845c1d0d271051e5f0f45"},{"url":"https://git.kernel.org/stable/c/364b183230586a62660a7280c1eb20138338eeb5"}],"title":"cifs: use cifs_invalidate_cache() in cifs_do_truncate() for O_TRUNC","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-89639","datePublished":"2026-09-11T19:45:32.532Z","dateReserved":"2026-09-11T19:38:34.740Z","dateUpdated":"2026-09-11T19:45:32.532Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-11 20:19:49","lastModifiedDate":"2026-09-11 20:19:49","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"89639","Ordinal":"1","Title":"cifs: use cifs_invalidate_cache() in cifs_do_truncate() for O_TR","CVE":"CVE-2026-89639","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"89639","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"cifs: use cifs_invalidate_cache() in cifs_do_truncate() for O_TR"}]}}}