{"id":"CVE-2026-89550","aliases":["CVE-2026-89550"],"related":[],"kind":"vulnerability","state":"published","title":"SUNRPC: svcauth_gss: enforce krb5 token minimum length","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: svcauth_gss: enforce krb5 token minimum length\n\nsvcauth_gss_unwrap_priv() validates only an upper bound on the\nwire-supplied opaque length before handing the buffer to\ngss_unwrap():\n\n    if (len > xdr_stream_remaining(xdr))\n            goto unwrap_failed;\n    offset = xdr_stream_pos(xdr);\n    ...\n    maj_stat = gss_unwrap(ctx, offset, offset + len, buf);\n\nThe wire value `len` flows unchanged as the upper bound into the\nkrb5 unwrap path, so a len in [0, 16] passes this check and is\nhanded to gss_unwrap(). For a krb5 v2 context that lands in\ngss_krb5_unwrap_v2(), which reads the 16-byte RFC 4121 token\nheader fields at ptr+4 and ptr+6 and then calls rotate_left()\nbefore any integrity check. With a sub-header length the header\nreads run past the token, and _rotate_left()'s `shift %= buf->len`\npath can divide by zero when buf->len has been driven to zero by\nthe truncated token. A header-only token (len == 16) is equally\ninvalid: with a non-zero RRC field and the opaque blob ending at\nthe XDR buffer boundary, rotate_left() builds a zero-length\nsubbuffer, reaching the same division.\n\nReject the token at the server entry point before it reaches the\nkrb5 unwrap core. A valid sealed RFC 4121 token must contain\nthe 16-byte header plus at least some encrypted payload.\n\nFix by adding a minimum-length check immediately after the\nexisting upper-bound check:\n\n    if (len <= GSS_KRB5_TOK_HDR_LEN)\n            goto unwrap_failed;","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: svcauth_gss: enforce krb5 token minimum length\n\nsvcauth_gss_unwrap_priv() validates only an upper bound on the\nwire-supplied opaque length before handing the buffer to\ngss_unwrap():\n\n    if (len > xdr_stream_remaining(xdr))\n            goto unwrap_failed;\n    offset = xdr_stream_pos(xdr);\n    ...\n    maj_stat = gss_unwrap(ctx, offset, offset + len, buf);\n\nThe wire value `len` flows unchanged as the upper bound into the\nkrb5 unwrap path, so a len in [0, 16] passes this check and is\nhanded to gss_unwrap(). For a krb5 v2 context that lands in\ngss_krb5_unwrap_v2(), which reads the 16-byte RFC 4121 token\nheader fields at ptr+4 and ptr+6 and then calls rotate_left()\nbefore any integrity check. With a sub-header length the header\nreads run past the token, and _rotate_left()'s `shift %= buf->len`\npath can divide by zero when buf->len has been driven to zero by\nthe truncated token. A header-only token (len == 16) is equally\ninvalid: with a non-zero RRC field and the opaque blob ending at\nthe XDR buffer boundary, rotate_left() builds a zero-length\nsubbuffer, reaching the same division.\n\nReject the token at the server entry point before it reaches the\nkrb5 unwrap core. A valid sealed RFC 4121 token must contain\nthe 16-byte header plus at least some encrypted payload.\n\nFix by adding a minimum-length check immediately after the\nexisting upper-bound check:\n\n    if (len <= GSS_KRB5_TOK_HDR_LEN)\n            goto unwrap_failed;","source":"cvelist"}],"published":"2026-09-11T19:44:24.572Z","modified":"2026-10-30T13:20:21.240Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7c9fdcfb1b64c47ed618c103b617af3f86e1239c","fixed":"2188232509f1559cb8fcb0c9a4b1e04317fa0f15","status":"affected"},{"type":"git","introduced":"7c9fdcfb1b64c47ed618c103b617af3f86e1239c","fixed":"0ea5b0c7f212c2772d32c2b88287b89a9cdf6edd","status":"affected"},{"type":"git","introduced":"7c9fdcfb1b64c47ed618c103b617af3f86e1239c","fixed":"dd6afc6cab8c5d387d1ed2f069562ef7bdadd651","status":"affected"},{"type":"git","introduced":"7c9fdcfb1b64c47ed618c103b617af3f86e1239c","fixed":"de942dd8c2c8358bcad04ce44271954c48924423","status":"affected"},{"type":"git","introduced":"7c9fdcfb1b64c47ed618c103b617af3f86e1239c","fixed":"2eed1e6a976a44015c3ee78841fe336796e2b21c","status":"affected"},{"type":"git","introduced":"7c9fdcfb1b64c47ed618c103b617af3f86e1239c","fixed":"a919c5c88769cf8fb3ec071e6078d830bf512489","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.18","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2188232509f1559cb8fcb0c9a4b1e04317fa0f15","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0ea5b0c7f212c2772d32c2b88287b89a9cdf6edd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd6afc6cab8c5d387d1ed2f069562ef7bdadd651","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/de942dd8c2c8358bcad04ce44271954c48924423","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2eed1e6a976a44015c3ee78841fe336796e2b21c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a919c5c88769cf8fb3ec071e6078d830bf512489","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T19:23:48.643Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89550","url":"https://www.cve.org/CVERecord?id=CVE-2026-89550","licence":"CVE Terms of Use","modified":"2026-10-30T12:32:09.952Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89550","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89550","licence":"Public domain","modified":"2026-10-30T13:20:21.240Z"}],"updatedAt":"2026-11-25T22:59:38.062Z","epss":{"score":0.00491,"percentile":0.43814,"date":"2026-12-01T12:00:22.000Z"}}