<?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>Mon, 05 Oct 2026 20:27:48 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53599 — crypto: af_alg - Fix missing initialisation affecting gcm-aes-s390</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-53599</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: af_alg - Fix missing initialisation affecting gcm-aes-s390&lt;/p&gt;
&lt;p&gt;Fix af_alg_alloc_areq() to initialise areq-&amp;gt;first_rsgl.sgl.sgt.sgl to point
to the scatterlist array in areq-&amp;gt;first_rsgl.sgl.sgl.&lt;/p&gt;
&lt;p&gt;Without this, the gcm-aes-s390 driver will oops when it tries to do
gcm_walk_start() on req-&amp;gt;dst because req-&amp;gt;dst is set to the value of
areq-&amp;gt;first_rsgl.sgl.sgl by _aead_recvmsg() calling
aead_request_set_crypt().&lt;/p&gt;
&lt;p&gt;The problem comes if an empty ciphertext is passed: the loop in
af_alg_get_rsgl() just passes straight out and doesn&amp;#39;t set areq-&amp;gt;first_rsgl
up.&lt;/p&gt;
&lt;p&gt;This isn&amp;#39;t a problem on x86_64 using gcmaes_crypt_by_sg() because, as far
as I can tell, that ignores req-&amp;gt;dst and only uses req-&amp;gt;src[*].&lt;/p&gt;
&lt;p&gt;[*] Is this a bug in aesni-intel_glue.c?&lt;/p&gt;
&lt;p&gt;The s390x oops looks something like:&lt;/p&gt;
&lt;p&gt;Unable to handle kernel pointer dereference in virtual kernel address space
 Failing address: 0000000a00000000 TEID: 0000000a00000803
 Fault in home space mode while using kernel ASCE.
 AS:00000000a43a0007 R3:0000000000000024
 Oops: 003b ilc:2 [#1] SMP
 ...
 Call Trace:
  [&amp;lt;000003ff7fc3d47e&amp;gt;] gcm_walk_start+0x16/0x28 [aes_s390]
  [&amp;lt;00000000a2a342f2&amp;gt;] crypto_aead_decrypt+0x9a/0xb8
  [&amp;lt;00000000a2a60888&amp;gt;] aead_recvmsg+0x478/0x698
  [&amp;lt;00000000a2e519a0&amp;gt;] sock_recvmsg+0x70/0xb0
  [&amp;lt;00000000a2e51a56&amp;gt;] sock_read_iter+0x76/0xa0
  [&amp;lt;00000000a273e066&amp;gt;] vfs_read+0x26e/0x2a8
  [&amp;lt;00000000a273e8c4&amp;gt;] ksys_read+0xbc/0x100
  [&amp;lt;00000000a311d808&amp;gt;] __do_syscall+0…&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: af_alg - Fix missing initialisation affecting gcm-aes-s390&lt;/p&gt;
&lt;p&gt;Fix af_alg_alloc_areq() to initialise areq-&amp;gt;first_rsgl.sgl.sgt.sgl to point
to the scatterlist array in areq-&amp;gt;first_rsgl.sgl.sgl.&lt;/p&gt;
&lt;p&gt;Without this, the gcm-aes-s390 driver will oops when it tries to do
gcm_walk_start() on req-&amp;gt;dst because req-&amp;gt;dst is set to the value of
areq-&amp;gt;first_rsgl.sgl.sgl by _aead_recvmsg() calling
aead_request_set_crypt().&lt;/p&gt;
&lt;p&gt;The problem comes if an empty ciphertext is passed: the loop in
af_alg_get_rsgl() just passes straight out and doesn&amp;#39;t set areq-&amp;gt;first_rsgl
up.&lt;/p&gt;
&lt;p&gt;This isn&amp;#39;t a problem on x86_64 using gcmaes_crypt_by_sg() because, as far
as I can tell, that ignores req-&amp;gt;dst and only uses req-&amp;gt;src[*].&lt;/p&gt;
&lt;p&gt;[*] Is this a bug in aesni-intel_glue.c?&lt;/p&gt;
&lt;p&gt;The s390x oops looks something like:&lt;/p&gt;
&lt;p&gt;Unable to handle kernel pointer dereference in virtual kernel address space
 Failing address: 0000000a00000000 TEID: 0000000a00000803
 Fault in home space mode while using kernel ASCE.
 AS:00000000a43a0007 R3:0000000000000024
 Oops: 003b ilc:2 [#1] SMP
 ...
 Call Trace:
  [&amp;lt;000003ff7fc3d47e&amp;gt;] gcm_walk_start+0x16/0x28 [aes_s390]
  [&amp;lt;00000000a2a342f2&amp;gt;] crypto_aead_decrypt+0x9a/0xb8
  [&amp;lt;00000000a2a60888&amp;gt;] aead_recvmsg+0x478/0x698
  [&amp;lt;00000000a2e519a0&amp;gt;] sock_recvmsg+0x70/0xb0
  [&amp;lt;00000000a2e51a56&amp;gt;] sock_read_iter+0x76/0xa0
  [&amp;lt;00000000a273e066&amp;gt;] vfs_read+0x26e/0x2a8
  [&amp;lt;00000000a273e8c4&amp;gt;] ksys_read+0xbc/0x100
  [&amp;lt;00000000a311d808&amp;gt;] __do_syscall+0…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-53599</guid>
    </item>
  </channel>
</rss>
