{"id":7262,"date":"2026-09-04T18:49:29","date_gmt":"2026-09-04T10:49:29","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74315"},"modified":"2026-09-04T18:49:29","modified_gmt":"2026-09-04T10:49:29","slug":"cve-2026-74315","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74315","title":{"rendered":"CVE-2026-74315 [CRITICAL] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nlockd: Avoid hashing"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>lockd: Avoid hashing uninitialized bytes in nlm4svc_lookup_file()<\/p>\n<p>file_hash() digests the first LOCKD_FH_HASH_SIZE bytes of<br \/>\nnfs_fh.data when bucketing nlm_files[], independent of fh.size.<br \/>\nCommit 3de744ee4e45 (&#8220;lockd: Use xdrgen XDR functions for the<br \/>\nNLMv4 TEST procedure&#8221;) set .pc_argzero to zero for the converted<br \/>\nprocedures and moved file-handle population into<br \/>\nnlm4svc_lookup_file(), which copies only xdr_lock-&gt;fh.len bytes<br \/>\ninto lock-&gt;fh.data.<\/p>\n<p>When an NLMv4 client presents a file handle shorter than<br \/>\nLOCKD_FH_HASH_SIZE, bytes fh.len..31 retain whatever the argument<br \/>\nbuffer held from an earlier request.  The same wire handle then<br \/>\nhashes to different buckets across calls; nlm_lookup_file() misses<br \/>\nthe existing nlm_file entry, and lock-state lookups fail.<\/p>\n<p>Zero only the tail bytes that file_hash() would otherwise consume.<br \/>\nHandles of LOCKD_FH_HASH_SIZE or larger already populate every byte<br \/>\nthat file_hash() reads.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>lockd: Avoid hashing uninitialized bytes in nlm4svc_lookup_file()<\/p>\n<p>file_hash() digests the first LOCKD_FH_HASH_SIZE bytes of<br \/>\nnfs_fh<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-7262","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/7262","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=7262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}