<?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>Sat, 03 Oct 2026 22:48:56 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-50135 — RDMA/rxe: Fix BUG: KASAN: null-ptr-deref in rxe_qp_do_cleanup</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-50135</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;RDMA/rxe: Fix BUG: KASAN: null-ptr-deref in rxe_qp_do_cleanup&lt;/p&gt;
&lt;p&gt;The function rxe_create_qp calls rxe_qp_from_init. If some error
occurs, the error handler of function rxe_qp_from_init will set
both scq and rcq to NULL.&lt;/p&gt;
&lt;p&gt;Then rxe_create_qp calls rxe_put to handle qp. In the end,
rxe_qp_do_cleanup is called by rxe_put. rxe_qp_do_cleanup directly
accesses scq and rcq before checking them. This will cause
null-ptr-deref error.&lt;/p&gt;
&lt;p&gt;The call graph is as below:&lt;/p&gt;
&lt;p&gt;rxe_create_qp {
  ...
  rxe_qp_from_init {
    ...
  err1:
    ...
    qp-&amp;gt;rcq = NULL;  &amp;lt;---rcq is set to NULL
    qp-&amp;gt;scq = NULL;  &amp;lt;---scq is set to NULL
    ...
  }&lt;/p&gt;
&lt;p&gt;qp_init:
  rxe_put{
    ...
    rxe_qp_do_cleanup {
      ...
      atomic_dec(&amp;amp;qp-&amp;gt;scq-&amp;gt;num_wq); &amp;lt;--- scq is accessed
      ...
      atomic_dec(&amp;amp;qp-&amp;gt;rcq-&amp;gt;num_wq); &amp;lt;--- rcq is accessed
    }
}&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;RDMA/rxe: Fix BUG: KASAN: null-ptr-deref in rxe_qp_do_cleanup&lt;/p&gt;
&lt;p&gt;The function rxe_create_qp calls rxe_qp_from_init. If some error
occurs, the error handler of function rxe_qp_from_init will set
both scq and rcq to NULL.&lt;/p&gt;
&lt;p&gt;Then rxe_create_qp calls rxe_put to handle qp. In the end,
rxe_qp_do_cleanup is called by rxe_put. rxe_qp_do_cleanup directly
accesses scq and rcq before checking them. This will cause
null-ptr-deref error.&lt;/p&gt;
&lt;p&gt;The call graph is as below:&lt;/p&gt;
&lt;p&gt;rxe_create_qp {
  ...
  rxe_qp_from_init {
    ...
  err1:
    ...
    qp-&amp;gt;rcq = NULL;  &amp;lt;---rcq is set to NULL
    qp-&amp;gt;scq = NULL;  &amp;lt;---scq is set to NULL
    ...
  }&lt;/p&gt;
&lt;p&gt;qp_init:
  rxe_put{
    ...
    rxe_qp_do_cleanup {
      ...
      atomic_dec(&amp;amp;qp-&amp;gt;scq-&amp;gt;num_wq); &amp;lt;--- scq is accessed
      ...
      atomic_dec(&amp;amp;qp-&amp;gt;rcq-&amp;gt;num_wq); &amp;lt;--- rcq is accessed
    }
}&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-50135</guid>
    </item>
  </channel>
</rss>
