<?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://db.gcve.eu</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>Fri, 04 Dec 2026 19:49:14 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139356 — RDMA/rxe: validate inline sge_offset in finish_packet() before indexing inline_data[]</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139356</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: validate inline sge_offset in finish_packet() before indexing inline_data[]&lt;/p&gt;
&lt;p&gt;For a user QP, rxe_post_send() takes the qp-&amp;gt;is_user branch and
never runs init_send_wqe(), so
dma.length/resid/num_sge/cur_sge/sge_offset all come straight from
the mmap&amp;#39;d SQ ring. In the inline send path finish_packet() uses
sge_offset directly as an index:&lt;/p&gt;
&lt;p&gt;u8 *tmp = &amp;amp;wqe-&amp;gt;dma.inline_data[wqe-&amp;gt;dma.sge_offset];
	memcpy(payload_addr(pkt), tmp, payload);&lt;/p&gt;
&lt;p&gt;inline_data is a flex array whose capacity is qp-&amp;gt;sq.max_inline, but
sge_offset is a u32 from user space, so the source pointer is
displaced arbitrarily past the WQE and the memcpy reads out of
bounds.
commit 126c757e4cd4 (&amp;#34;RDMA/rxe: Validate num_sge/cur_sge before indexing wqe-&amp;gt;dma.sge[]&amp;#34;)
added num_sge/cur_sge checks on the send path but not sge_offset, the
third attacker-controlled index in the same struct.&lt;/p&gt;
&lt;p&gt;Read sge_offset once with READ_ONCE() and bound it (and the payload
that follows it) by qp-&amp;gt;sq.max_inline before indexing, so the value
that is validated is the value that is used.&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: validate inline sge_offset in finish_packet() before indexing inline_data[]&lt;/p&gt;
&lt;p&gt;For a user QP, rxe_post_send() takes the qp-&amp;gt;is_user branch and
never runs init_send_wqe(), so
dma.length/resid/num_sge/cur_sge/sge_offset all come straight from
the mmap&amp;#39;d SQ ring. In the inline send path finish_packet() uses
sge_offset directly as an index:&lt;/p&gt;
&lt;p&gt;u8 *tmp = &amp;amp;wqe-&amp;gt;dma.inline_data[wqe-&amp;gt;dma.sge_offset];
	memcpy(payload_addr(pkt), tmp, payload);&lt;/p&gt;
&lt;p&gt;inline_data is a flex array whose capacity is qp-&amp;gt;sq.max_inline, but
sge_offset is a u32 from user space, so the source pointer is
displaced arbitrarily past the WQE and the memcpy reads out of
bounds.
commit 126c757e4cd4 (&amp;#34;RDMA/rxe: Validate num_sge/cur_sge before indexing wqe-&amp;gt;dma.sge[]&amp;#34;)
added num_sge/cur_sge checks on the send path but not sge_offset, the
third attacker-controlled index in the same struct.&lt;/p&gt;
&lt;p&gt;Read sge_offset once with READ_ONCE() and bound it (and the payload
that follows it) by qp-&amp;gt;sq.max_inline before indexing, so the value
that is validated is the value that is used.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139356</guid>
    </item>
  </channel>
</rss>
