<?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>Sun, 04 Oct 2026 12:57:03 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-36489 — tls: fix missing memory barrier in tls_init</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-36489</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens RUGGEDCOM RST2428P, Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;tls: fix missing memory barrier in tls_init&lt;/p&gt;
&lt;p&gt;In tls_init(), a write memory barrier is missing, and store-store
reordering may cause NULL dereference in tls_{setsockopt,getsockopt}.&lt;/p&gt;
&lt;p&gt;CPU0                               CPU1
-----                              -----
// In tls_init()
// In tls_ctx_create()
ctx = kzalloc()
ctx-&amp;gt;sk_proto = READ_ONCE(sk-&amp;gt;sk_prot) -(1)&lt;/p&gt;
&lt;p&gt;// In update_sk_prot()
WRITE_ONCE(sk-&amp;gt;sk_prot, tls_prots)     -(2)&lt;/p&gt;
&lt;p&gt;// In sock_common_setsockopt()
                                   READ_ONCE(sk-&amp;gt;sk_prot)-&amp;gt;setsockopt()&lt;/p&gt;
&lt;p&gt;// In tls_{setsockopt,getsockopt}()
                                   ctx-&amp;gt;sk_proto-&amp;gt;setsockopt()    -(3)&lt;/p&gt;
&lt;p&gt;In the above scenario, when (1) and (2) are reordered, (3) can observe
the NULL value of ctx-&amp;gt;sk_proto, causing NULL dereference.&lt;/p&gt;
&lt;p&gt;To fix it, we rely on rcu_assign_pointer() which implies the release
barrier semantic. By moving rcu_assign_pointer() after ctx-&amp;gt;sk_proto is
initialized, we can ensure that ctx-&amp;gt;sk_proto are visible when
changing sk-&amp;gt;sk_prot.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens RUGGEDCOM RST2428P, Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;tls: fix missing memory barrier in tls_init&lt;/p&gt;
&lt;p&gt;In tls_init(), a write memory barrier is missing, and store-store
reordering may cause NULL dereference in tls_{setsockopt,getsockopt}.&lt;/p&gt;
&lt;p&gt;CPU0                               CPU1
-----                              -----
// In tls_init()
// In tls_ctx_create()
ctx = kzalloc()
ctx-&amp;gt;sk_proto = READ_ONCE(sk-&amp;gt;sk_prot) -(1)&lt;/p&gt;
&lt;p&gt;// In update_sk_prot()
WRITE_ONCE(sk-&amp;gt;sk_prot, tls_prots)     -(2)&lt;/p&gt;
&lt;p&gt;// In sock_common_setsockopt()
                                   READ_ONCE(sk-&amp;gt;sk_prot)-&amp;gt;setsockopt()&lt;/p&gt;
&lt;p&gt;// In tls_{setsockopt,getsockopt}()
                                   ctx-&amp;gt;sk_proto-&amp;gt;setsockopt()    -(3)&lt;/p&gt;
&lt;p&gt;In the above scenario, when (1) and (2) are reordered, (3) can observe
the NULL value of ctx-&amp;gt;sk_proto, causing NULL dereference.&lt;/p&gt;
&lt;p&gt;To fix it, we rely on rcu_assign_pointer() which implies the release
barrier semantic. By moving rcu_assign_pointer() after ctx-&amp;gt;sk_proto is
initialized, we can ensure that ctx-&amp;gt;sk_proto are visible when
changing sk-&amp;gt;sk_prot.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-36489</guid>
    </item>
  </channel>
</rss>
