<?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-29T19:57:57.695847+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-2026-89541</id>
    <title>CVE-2026-89541 — SUNRPC: harden gss_unwrap_resp_priv length checks</title>
    <updated>2026-09-29T19:57:57.707950+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>SUNRPC: harden gss_unwrap_resp_priv length checks</p>
<p>gss_unwrap_resp_priv() validates the RPCSEC_GSS opaque length with</p>
<p>offset = (u8 *)(p) - (u8 *)head-&gt;iov_base;
    if (offset + opaque_len &gt; rcv_buf-&gt;len)
            goto unwrap_failed;
    maj_stat = gss_unwrap(ctx-&gt;gc_gss_ctx, offset,
                          offset + opaque_len, rcv_buf);</p>
<p>Both operands are u32 and the sum is computed in u32. A reply with
opaque_len near 0xffffffff makes offset + opaque_len wrap to a small
value that is below rcv_buf-&gt;len, so the bound check passes and
gss_unwrap() is called with end &lt; begin. The check also lacks a
lower bound, so any opaque_len in [0, GSS_KRB5_TOK_HDR_LEN) is
accepted and forwarded to gss_krb5_unwrap_v2(), whose pre-decrypt
header reads at ptr+4 and ptr+6 then run past the token.</p>
<p>A krb5p NFS server returning a crafted RPCSEC_GSS reply can drive
the client into out-of-bounds reads in gss_krb5_unwrap_v2() and the
rotate_left() loop that follows.</p>
<p>Fix by replacing the single combined check with three guards that
are safe in u32 arithmetic and that enforce the RFC 4121 minimum
outer token length:</p>
<p>if (offset &gt; rcv_buf-&gt;len)
            goto unwrap_failed;
    if (opaque_len &gt; rcv_buf-&gt;len - offset)
            goto unwrap_failed;
    if (opaque_len &lt; GSS_KRB5_TOK_HDR_LEN)
            goto unwrap_failed;</p>
<p>The first guard makes the subtraction in the second guard
unconditionally safe; offset is der…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-89541"/>
  </entry>
</feed>
