<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 02 Oct 2026 00:48:03 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-80832 — crypto: qce - fix CCM AAD buffer underallocation</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-80832</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;crypto: qce - fix CCM AAD buffer underallocation&lt;/p&gt;
&lt;p&gt;The AAD buffer allocated in qce_aead_ccm_prepare_buf_assoclen()
can be smaller than the length later programmed into the DMA
scatterlist.&lt;/p&gt;
&lt;p&gt;The allocation size is currently calculated as:&lt;/p&gt;
&lt;p&gt;ALIGN(assoclen, 16) + MAX_CCM_ADATA_HEADER_LEN&lt;/p&gt;
&lt;p&gt;while the DMA length is set to:&lt;/p&gt;
&lt;p&gt;ALIGN(assoclen + adata_header_len, 16)&lt;/p&gt;
&lt;p&gt;Since ALIGN() does not distribute over addition, the allocation
can be smaller than the DMA length. For example, when
assoclen = 32 and adata_header_len = 2:&lt;/p&gt;
&lt;p&gt;allocation = ALIGN(32, 16) + 6 = 38
  DMA length = ALIGN(32 + 2, 16) = 48&lt;/p&gt;
&lt;p&gt;As a result, the QCE hardware can read beyond the allocated
buffer while computing the CBC-MAC over the associated data.
The extra bytes are folded into the authentication tag,
resulting in an incorrect tag and causing CCM self-test
failures such as:&lt;/p&gt;
&lt;p&gt;alg: aead: ccm-aes-qce encryption test failed (wrong result)
  on test vector 8&lt;/p&gt;
&lt;p&gt;Fix the allocation by adding the maximum possible AAD header
length before alignment:&lt;/p&gt;
&lt;p&gt;ALIGN(assoclen + MAX_CCM_ADATA_HEADER_LEN, 16)&lt;/p&gt;
&lt;p&gt;This guarantees that the allocated buffer is large enough
for the fully padded AAD data for all supported header sizes.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;crypto: qce - fix CCM AAD buffer underallocation&lt;/p&gt;
&lt;p&gt;The AAD buffer allocated in qce_aead_ccm_prepare_buf_assoclen()
can be smaller than the length later programmed into the DMA
scatterlist.&lt;/p&gt;
&lt;p&gt;The allocation size is currently calculated as:&lt;/p&gt;
&lt;p&gt;ALIGN(assoclen, 16) + MAX_CCM_ADATA_HEADER_LEN&lt;/p&gt;
&lt;p&gt;while the DMA length is set to:&lt;/p&gt;
&lt;p&gt;ALIGN(assoclen + adata_header_len, 16)&lt;/p&gt;
&lt;p&gt;Since ALIGN() does not distribute over addition, the allocation
can be smaller than the DMA length. For example, when
assoclen = 32 and adata_header_len = 2:&lt;/p&gt;
&lt;p&gt;allocation = ALIGN(32, 16) + 6 = 38
  DMA length = ALIGN(32 + 2, 16) = 48&lt;/p&gt;
&lt;p&gt;As a result, the QCE hardware can read beyond the allocated
buffer while computing the CBC-MAC over the associated data.
The extra bytes are folded into the authentication tag,
resulting in an incorrect tag and causing CCM self-test
failures such as:&lt;/p&gt;
&lt;p&gt;alg: aead: ccm-aes-qce encryption test failed (wrong result)
  on test vector 8&lt;/p&gt;
&lt;p&gt;Fix the allocation by adding the maximum possible AAD header
length before alignment:&lt;/p&gt;
&lt;p&gt;ALIGN(assoclen + MAX_CCM_ADATA_HEADER_LEN, 16)&lt;/p&gt;
&lt;p&gt;This guarantees that the allocated buffer is large enough
for the fully padded AAD data for all supported header sizes.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-80832</guid>
    </item>
  </channel>
</rss>
