<?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-10-03T22:48:59.275442+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-2022-50135</id>
    <title>CVE-2022-50135 — RDMA/rxe: Fix BUG: KASAN: null-ptr-deref in rxe_qp_do_cleanup</title>
    <updated>2026-10-03T22:48:59.277476+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>RDMA/rxe: Fix BUG: KASAN: null-ptr-deref in rxe_qp_do_cleanup</p>
<p>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.</p>
<p>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.</p>
<p>The call graph is as below:</p>
<p>rxe_create_qp {
  ...
  rxe_qp_from_init {
    ...
  err1:
    ...
    qp-&gt;rcq = NULL;  &lt;---rcq is set to NULL
    qp-&gt;scq = NULL;  &lt;---scq is set to NULL
    ...
  }</p>
<p>qp_init:
  rxe_put{
    ...
    rxe_qp_do_cleanup {
      ...
      atomic_dec(&amp;qp-&gt;scq-&gt;num_wq); &lt;--- scq is accessed
      ...
      atomic_dec(&amp;qp-&gt;rcq-&gt;num_wq); &lt;--- rcq is accessed
    }
}</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2022-50135"/>
  </entry>
</feed>
