{"id":21601,"date":"2026-09-12T04:31:24","date_gmt":"2026-09-11T20:31:24","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89679"},"modified":"2026-09-12T04:31:24","modified_gmt":"2026-09-11T20:31:24","slug":"cve-2026-89679","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89679","title":{"rendered":"CVE-2026-89679 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: fix null derefe"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>nfsd: fix null dereference in nfsd4_setattr for deleg timestamp attrs<\/p>\n<p>When a SETATTR request includes FATTR4_WORD2_TIME_DELEG_ACCESS or<br \/>\nFATTR4_WORD2_TIME_DELEG_MODIFY in the attribute bitmap, nfsd4_setattr()<br \/>\nsets deleg_attrs=true and calls nfs4_preprocess_stateid_op() to validate<br \/>\nthe stateid.<\/p>\n<p>If the client supplies the NFSv4 &#8220;one stateid&#8221; (all-0xFF bytes),<br \/>\ncheck_special_stateids() returns nfs_ok without populating the output<br \/>\nnfs4_stid pointer, because the special-stateid path in<br \/>\nnfs4_preprocess_stateid_op() jumps to done: with s==NULL, and the<br \/>\n&#8220;if (s)&#8221; block that would set *cstid is skipped. The local variable `st`<br \/>\nremains NULL.<\/p>\n<p>Back in nfsd4_setattr(), the if (deleg_attrs) block then unconditionally<br \/>\ndereferences st-&gt;sc_type (at offset 4 from NULL), causing a kernel oops.<\/p>\n<p>This is remotely triggerable by any NFSv4 client: send COMPOUND [PUTROOTFH,<br \/>\nSETATTR(ONE_STATEID, {bmval2=FATTR4_WORD2_TIME_DELEG_ACCESS, &#8230;})].<br \/>\nNo authentication, delegation, or prior state is required.<\/p>\n<p>Fix by adding a NULL check before the dereference. A special stateid is<br \/>\nnot a delegation stateid, so the existing nfserr_bad_stateid return value<br \/>\nis already correct; we only need to guard the pointer dereference itself.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>nfsd: fix null dereference in nfsd4_setattr for deleg timestamp attrs<\/p>\n<p>When a SETATTR request includes FATTR4_WORD2_TIME_DELEG_ACCE<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21601","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21601","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=21601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}