<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-30T08:30:55.740523+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2024-35902</id>
    <title>CVE-2024-35902 — net/rds: fix possible cp null dereference</title>
    <updated>2026-09-30T08:30:55.742064+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>net/rds: fix possible cp null dereference</p>
<p>cp might be null, calling cp-&gt;cp_conn would produce null dereference</p>
<p>[Simon Horman adds:]</p>
<p>Analysis:</p>
<p>* cp is a parameter of __rds_rdma_map and is not reassigned.</p>
<p>* The following call-sites pass a NULL cp argument to __rds_rdma_map()</p>
<p>- rds_get_mr()
  - rds_get_mr_for_dest</p>
<p>* Prior to the code above, the following assumes that cp may be NULL
  (which is indicative, but could itself be unnecessary)</p>
<p>trans_private = rs-&gt;rs_transport-&gt;get_mr(
		sg, nents, rs, &amp;mr-&gt;r_key, cp ? cp-&gt;cp_conn : NULL,
		args-&gt;vec.addr, args-&gt;vec.bytes,
		need_odp ? ODP_ZEROBASED : ODP_NOT_NEEDED);</p>
<p>* 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.</p>
<p>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.</p>
<p>* 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.</p>
<p>Conclusion:
* cp may be NULL at the point where this patch adds a check;
  this patch does seem to address a possible bug</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2024-35902"/>
  </entry>
</feed>
