<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T19:54:27.380243+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/cve-2026-139356</id>
    <title>CVE-2026-139356 — RDMA/rxe: validate inline sge_offset in finish_packet() before indexing inline_data[]</title>
    <updated>2026-12-04T19:54:27.381800+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: validate inline sge_offset in finish_packet() before indexing inline_data[]</p>
<p>For a user QP, rxe_post_send() takes the qp-&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'd SQ ring. In the inline send path finish_packet() uses
sge_offset directly as an index:</p>
<p>u8 *tmp = &amp;wqe-&gt;dma.inline_data[wqe-&gt;dma.sge_offset];
	memcpy(payload_addr(pkt), tmp, payload);</p>
<p>inline_data is a flex array whose capacity is qp-&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 ("RDMA/rxe: Validate num_sge/cur_sge before indexing wqe-&gt;dma.sge[]")
added num_sge/cur_sge checks on the send path but not sge_offset, the
third attacker-controlled index in the same struct.</p>
<p>Read sge_offset once with READ_ONCE() and bound it (and the payload
that follows it) by qp-&gt;sq.max_inline before indexing, so the value
that is validated is the value that is used.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-139356"/>
  </entry>
</feed>
