<?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-29T18:04:55.487865+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-89542</id>
    <title>CVE-2026-89542 — SUNRPC: harden gss_krb5_unwrap_v2 against short tokens</title>
    <updated>2026-09-29T18:04:55.863274+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_krb5_unwrap_v2 against short tokens</p>
<p>gss_krb5_unwrap_v2() reads the EC and RRC header fields at ptr+4 and
ptr+6 before validating that the token is at least GSS_KRB5_TOK_HDR_LEN
(16) bytes long, and its rotate_left() helper passes buf-&gt;len - base
to xdr_buf_subsegment() without verifying that base &lt;= buf-&gt;len. When
a caller hands in a sub-16-byte token, or a token whose declared len
leaves base past the end of the buffer, three distinct failures follow:</p>
<p>gss_krb5_unwrap_v2(offset, len, buf)
      ptr = buf-&gt;head[0].iov_base + offset
      ec  = *(ptr + 4)              /* OOB read on short head */
      rrc = *(ptr + 6)              /* OOB read on short head */
      rotate_left(offset + 16, buf, rrc)
        xdr_buf_subsegment(buf, &amp;subbuf,
                           base, buf-&gt;len - base)   /* u32 wrap when base &gt; len */
        _rotate_left(&amp;subbuf, shift)
          shift %= buf-&gt;len         /* divide-by-zero when base == len */</p>
<p>After decryption, the cleanup arithmetic has the same shape:</p>
<p>movelen = min_t(unsigned int, buf-&gt;head[0].iov_len, len);
    movelen -= offset + GSS_KRB5_TOK_HDR_LEN + headskip;
    BUG_ON(offset + GSS_KRB5_TOK_HDR_LEN + headskip + movelen &gt;
                                            buf-&gt;head[0].iov_len);</p>
<p>The BUG_ON re-adds the value just subtracted, so it reduces to
min(A, B) &gt; A and is permanently false; it cannot catch the unsigned
underflow of mov…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-89542"/>
  </entry>
</feed>
