{"id":21561,"date":"2026-09-12T04:31:21","date_gmt":"2026-09-11T20:31:21","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89639"},"modified":"2026-09-12T04:31:21","modified_gmt":"2026-09-11T20:31:21","slug":"cve-2026-89639","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89639","title":{"rendered":"CVE-2026-89639 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: use cifs_invali"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>cifs: use cifs_invalidate_cache() in cifs_do_truncate() for O_TRUNC<\/p>\n<p>cifs_do_truncate() is invoked from cifs_open() without i_rwsem, so it<br \/>\ncannot use cifs_resize_file_locked() to perform a proper fscache cookie<br \/>\nresize.  Instead, add cifs_invalidate_cache() after cifs_setsize().<\/p>\n<p>cifs_invalidate_cache() calls fscache_invalidate(), which works without<br \/>\nholding i_rwsem: it unconditionally increments inval_counter and sets<br \/>\nFSCACHE_COOKIE_NO_DATA_TO_READ, ensuring that stale cached data is not<br \/>\nserved once the cookie is later activated by fscache_use_cookie().<br \/>\nTruncation to zero leaves no valid cached data, making invalidation the<br \/>\ncorrect semantic here.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>cifs: use cifs_invalidate_cache() in cifs_do_truncate() for O_TRUNC<\/p>\n<p>cifs_do_truncate() is invoked from cifs_open() without i_rwsem<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21561","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}