{"id":21472,"date":"2026-09-12T04:31:14","date_gmt":"2026-09-11T20:31:14","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89550"},"modified":"2026-09-12T04:31:14","modified_gmt":"2026-09-11T20:31:14","slug":"cve-2026-89550","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89550","title":{"rendered":"CVE-2026-89550 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: svcauth_gss:"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>SUNRPC: svcauth_gss: enforce krb5 token minimum length<\/p>\n<p>svcauth_gss_unwrap_priv() validates only an upper bound on the<br \/>\nwire-supplied opaque length before handing the buffer to<br \/>\ngss_unwrap():<\/p>\n<p>    if (len &gt; xdr_stream_remaining(xdr))<br \/>\n            goto unwrap_failed;<br \/>\n    offset = xdr_stream_pos(xdr);<br \/>\n    &#8230;<br \/>\n    maj_stat = gss_unwrap(ctx, offset, offset + len, buf);<\/p>\n<p>The wire value `len` flows unchanged as the upper bound into the<br \/>\nkrb5 unwrap path, so a len in [0, 16] passes this check and is<br \/>\nhanded to gss_unwrap(). For a krb5 v2 context that lands in<br \/>\ngss_krb5_unwrap_v2(), which reads the 16-byte RFC 4121 token<br \/>\nheader fields at ptr+4 and ptr+6 and then calls rotate_left()<br \/>\nbefore any integrity check. With a sub-header length the header<br \/>\nreads run past the token, and _rotate_left()&#8217;s `shift %= buf-&gt;len`<br \/>\npath can divide by zero when buf-&gt;len has been driven to zero by<br \/>\nthe truncated token. A header-only token (len == 16) is equally<br \/>\ninvalid: with a non-zero RRC field and the opaque blob ending at<br \/>\nthe XDR buffer boundary, rotate_left() builds a zero-length<br \/>\nsubbuffer, reaching the same division.<\/p>\n<p>Reject the token at the server entry point before it reaches the<br \/>\nkrb5 unwrap core. A valid sealed RFC 4121 token must contain<br \/>\nthe 16-byte header plus at least some encrypted payload.<\/p>\n<p>Fix by adding a minimum-length check immediately after the<br \/>\nexisting upper-bound check:<\/p>\n<p>    if (len &lt;= GSS_KRB5_TOK_HDR_LEN)<br \/>\n            goto unwrap_failed;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>SUNRPC: svcauth_gss: enforce krb5 token minimum length<\/p>\n<p>svcauth_gss_unwrap_priv() validates only an upper bound on the<br \/>\nwire-supplie<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21472","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}