{"id":17336,"date":"2026-09-05T02:31:00","date_gmt":"2026-09-04T18:31:00","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80832"},"modified":"2026-09-05T02:31:00","modified_gmt":"2026-09-04T18:31:00","slug":"cve-2026-80832","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80832","title":{"rendered":"CVE-2026-80832 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qce &#8211; fix CCM"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>crypto: qce &#8211; fix CCM AAD buffer underallocation<\/p>\n<p>The AAD buffer allocated in qce_aead_ccm_prepare_buf_assoclen()<br \/>\ncan be smaller than the length later programmed into the DMA<br \/>\nscatterlist.<\/p>\n<p>The allocation size is currently calculated as:<\/p>\n<p>  ALIGN(assoclen, 16) + MAX_CCM_ADATA_HEADER_LEN<\/p>\n<p>while the DMA length is set to:<\/p>\n<p>  ALIGN(assoclen + adata_header_len, 16)<\/p>\n<p>Since ALIGN() does not distribute over addition, the allocation<br \/>\ncan be smaller than the DMA length. For example, when<br \/>\nassoclen = 32 and adata_header_len = 2:<\/p>\n<p>  allocation = ALIGN(32, 16) + 6 = 38<br \/>\n  DMA length = ALIGN(32 + 2, 16) = 48<\/p>\n<p>As a result, the QCE hardware can read beyond the allocated<br \/>\nbuffer while computing the CBC-MAC over the associated data.<br \/>\nThe extra bytes are folded into the authentication tag,<br \/>\nresulting in an incorrect tag and causing CCM self-test<br \/>\nfailures such as:<\/p>\n<p>  alg: aead: ccm-aes-qce encryption test failed (wrong result)<br \/>\n  on test vector 8<\/p>\n<p>Fix the allocation by adding the maximum possible AAD header<br \/>\nlength before alignment:<\/p>\n<p>  ALIGN(assoclen + MAX_CCM_ADATA_HEADER_LEN, 16)<\/p>\n<p>This guarantees that the allocated buffer is large enough<br \/>\nfor the fully padded AAD data for all supported header sizes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>crypto: qce &#8211; fix CCM AAD buffer underallocation<\/p>\n<p>The AAD buffer allocated in qce_aead_ccm_prepare_buf_assoclen()<br \/>\ncan be smaller th<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-17336","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/17336","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=17336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}