{"id":33239,"date":"2026-10-06T20:31:35","date_gmt":"2026-10-06T12:31:35","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98170"},"modified":"2026-10-06T20:31:35","modified_gmt":"2026-10-06T12:31:35","slug":"cve-2026-98170","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98170","title":{"rendered":"CVE-2026-98170 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix OOB"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>smb: client: fix OOB struct field reads in move_smb2_ea_to_cifs()<\/p>\n<p>In move_smb2_ea_to_cifs(), the while (src_size &gt; 0) loop condition is<br \/>\ninsufficient. It allows iteration to continue even if the remaining<br \/>\nsrc_size is too small to contain a complete smb2_ea_info structure.<br \/>\nConsequently, reads of ea_name_length and ea_value_length can occur<br \/>\nout-of-bounds.<\/p>\n<p>Fix this by ensuring src_size &gt;= sizeof(*src) before attempting to read<br \/>\nany structure fields. Additionally, reject any next_entry_offset that is<br \/>\nsmaller than sizeof(*src) or that would advance the pointer beyond the<br \/>\navailable buffer.<\/p>\n<p>Note that for calls where the server returns a malformed EA list, the<br \/>\nerror returned to userspace changes from -ENODATA (getxattr) or<br \/>\n-ERANGE (listxattr) to -EIO. This correctly signals a server protocol<br \/>\nerror rather than misleadingly indicating &#8220;attribute not present&#8221; or<br \/>\n&#8220;output buffer too small&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>smb: client: fix OOB struct field reads in move_smb2_ea_to_cifs()<\/p>\n<p>In move_smb2_ea_to_cifs(), the while (src_size &gt; 0) loop conditi<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-33239","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/33239","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=33239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}