{"id":41200,"date":"2026-10-19T00:32:34","date_gmt":"2026-10-18T16:32:34","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98728"},"modified":"2026-10-19T00:32:34","modified_gmt":"2026-10-18T16:32:34","slug":"cve-2026-98728","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98728","title":{"rendered":"CVE-2026-98728 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ntpm: fix off-by-four"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>tpm: fix off-by-four bounds check in tpm2_get_random()<\/p>\n<p>When the response carries the TPM2_ST_SESSIONS tag, tpm2_get_random()<br \/>\nskips the 4-byte parameter size field before locating the random data,<br \/>\nbut the bounds check still validates the response length against<br \/>\nTPM_HEADER_SIZE.  A truncated response can pass the check and make<br \/>\nmemcpy() read up to 4 bytes past the response end, so stale buffer<br \/>\ncontents end up in the caller&#8217;s random bytes.<\/p>\n<p>Fix this by checking the response length against &#8216;offset&#8217;, which<br \/>\nalready includes the skipped parameter size field.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>tpm: fix off-by-four bounds check in tpm2_get_random()<\/p>\n<p>When the response carries the TPM2_ST_SESSIONS tag, tpm2_get_random()<br \/>\nskips<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41200","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41200","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=41200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}