<?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>Wed, 30 Sep 2026 22:10:46 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-35902 — net/rds: fix possible cp null dereference</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-35902</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, 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;net/rds: fix possible cp null dereference&lt;/p&gt;
&lt;p&gt;cp might be null, calling cp-&amp;gt;cp_conn would produce null dereference&lt;/p&gt;
&lt;p&gt;[Simon Horman adds:]&lt;/p&gt;
&lt;p&gt;Analysis:&lt;/p&gt;
&lt;p&gt;* cp is a parameter of __rds_rdma_map and is not reassigned.&lt;/p&gt;
&lt;p&gt;* The following call-sites pass a NULL cp argument to __rds_rdma_map()&lt;/p&gt;
&lt;p&gt;- rds_get_mr()
  - rds_get_mr_for_dest&lt;/p&gt;
&lt;p&gt;* Prior to the code above, the following assumes that cp may be NULL
  (which is indicative, but could itself be unnecessary)&lt;/p&gt;
&lt;p&gt;trans_private = rs-&amp;gt;rs_transport-&amp;gt;get_mr(
		sg, nents, rs, &amp;amp;mr-&amp;gt;r_key, cp ? cp-&amp;gt;cp_conn : NULL,
		args-&amp;gt;vec.addr, args-&amp;gt;vec.bytes,
		need_odp ? ODP_ZEROBASED : ODP_NOT_NEEDED);&lt;/p&gt;
&lt;p&gt;* The code modified by this patch is guarded by IS_ERR(trans_private),
  where trans_private is assigned as per the previous point in this analysis.&lt;/p&gt;
&lt;p&gt;The only implementation of get_mr that I could locate is rds_ib_get_mr()
  which can return an ERR_PTR if the conn (4th) argument is NULL.&lt;/p&gt;
&lt;p&gt;* ret is set to PTR_ERR(trans_private).
  rds_ib_get_mr can return ERR_PTR(-ENODEV) if the conn (4th) argument is NULL.
  Thus ret may be -ENODEV in which case the code in question will execute.&lt;/p&gt;
&lt;p&gt;Conclusion:
* cp may be NULL at the point where this patch adds a check;
  this patch does seem to address a possible bug&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, 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;net/rds: fix possible cp null dereference&lt;/p&gt;
&lt;p&gt;cp might be null, calling cp-&amp;gt;cp_conn would produce null dereference&lt;/p&gt;
&lt;p&gt;[Simon Horman adds:]&lt;/p&gt;
&lt;p&gt;Analysis:&lt;/p&gt;
&lt;p&gt;* cp is a parameter of __rds_rdma_map and is not reassigned.&lt;/p&gt;
&lt;p&gt;* The following call-sites pass a NULL cp argument to __rds_rdma_map()&lt;/p&gt;
&lt;p&gt;- rds_get_mr()
  - rds_get_mr_for_dest&lt;/p&gt;
&lt;p&gt;* Prior to the code above, the following assumes that cp may be NULL
  (which is indicative, but could itself be unnecessary)&lt;/p&gt;
&lt;p&gt;trans_private = rs-&amp;gt;rs_transport-&amp;gt;get_mr(
		sg, nents, rs, &amp;amp;mr-&amp;gt;r_key, cp ? cp-&amp;gt;cp_conn : NULL,
		args-&amp;gt;vec.addr, args-&amp;gt;vec.bytes,
		need_odp ? ODP_ZEROBASED : ODP_NOT_NEEDED);&lt;/p&gt;
&lt;p&gt;* The code modified by this patch is guarded by IS_ERR(trans_private),
  where trans_private is assigned as per the previous point in this analysis.&lt;/p&gt;
&lt;p&gt;The only implementation of get_mr that I could locate is rds_ib_get_mr()
  which can return an ERR_PTR if the conn (4th) argument is NULL.&lt;/p&gt;
&lt;p&gt;* ret is set to PTR_ERR(trans_private).
  rds_ib_get_mr can return ERR_PTR(-ENODEV) if the conn (4th) argument is NULL.
  Thus ret may be -ENODEV in which case the code in question will execute.&lt;/p&gt;
&lt;p&gt;Conclusion:
* cp may be NULL at the point where this patch adds a check;
  this patch does seem to address a possible bug&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-35902</guid>
    </item>
  </channel>
</rss>
