# CVE-2026-89544: SUNRPC: fix gssx\_dec\_option\_array error path bugs

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.70% (percentile 48, 2026-11-26)
- **Published:** 2026-09-11T19:44:20.424Z
- **Modified:** 2026-10-30T13:20:20.797Z

## Who should check

- Anyone running Linux \>= bb336cd8d5ecb69c430ebe3e7bcff68471d93fa8, \< ac86b45bb978cd4fdbcaaca82dd0f2337f8e310c; \>= dd292e884c649f9b1c18af0ec75ca90b390cd044, \< 3473139d15d67e2fd737cf0613082adb5499362f; \>= 934212a623cbab851848b6de377eb476718c3e4c, \< 993a9012e68b8667a0a9b316fd718680c7e008a0; \>= 5e6013ae2c8d420faea553d363935f65badd32c3, \< 8c56a46db3b7523f13e167c3e2c6e3c47a87dcb3; \>= 3cfcfc102a5e57b021b786a755a38935e357797d, \< fb30241f7ccace372ee83017891549f23a715581; \>= 3cfcfc102a5e57b021b786a755a38935e357797d, \< 3ff45361e9469e85c0f86b8e7b82c63e50bab8ef; \>= 3cfcfc102a5e57b021b786a755a38935e357797d, \< f85a83774d7f4e2ac71c0c384df0dfb6f7d0179a; \>= 3cfcfc102a5e57b021b786a755a38935e357797d, \< 5e9a94539b1ec17a89177d952badfd0d844d694a; b97c37978ca825557d331c9012e0c1ddc0e42364; bfa9d86d39a0fe4685f90c3529aa9bd62a9d97a8; …
- Anyone running Linux 6.9

## Description

In the Linux kernel, the following vulnerability has been resolved:

SUNRPC: fix gssx\_dec\_option\_array error path bugs

Four coupled defects in the gssx XDR option-array decoder make the
error paths unsafe: a NULL deref in the caller, a refcount leak on
the decoded group\_info, and a latent use-after-free that the leak
fix would otherwise expose.

gssx\_dec\_option\_array() sets oa-\>count = 1 before allocating
oa-\>data.  If that allocation fails, -ENOMEM is returned with
oa-\>count == 1 and oa-\>data == NULL.  All other error paths jump
to free\_oa: which frees oa-\>data and NULLs it but also leaves
oa-\>count == 1.  The caller trusts the count:

    gssp\_accept\_sec\_context\_upcall()
      gssx\_dec\_accept\_sec\_context()
        gssx\_dec\_option\_array()        /\* fails, count=1 data=NULL \*/
      data = res.options.data\[0\].value /\* NULL deref \*/

Independently, free\_creds: releases the partially decoded svc\_cred
with a bare kfree(creds).  gssx\_dec\_linux\_creds() installs a
groups\_alloc() result into creds-\>cr\_group\_info; that object is
kvmalloc-backed and refcounted, and only put\_group\_info() reaches
kvfree().  A plain kfree(creds) drops the wrapper and leaks the
group\_info allocation.

The natural fix for the leak is to call free\_svc\_cred(creds) before
kfree(creds), but free\_svc\_cred() invokes put\_group\_info() on
creds-\>cr\_group\_info unconditionally when non-NULL.  The existing
out\_free\_groups: path in gssx\_dec\_linux\_creds() already called
groups\_free() on that pointer without clearing it, so once
free\_svc\_cred() is wired in, the subsequent put\_group\_info() would
touch freed memory.

Fix all four together:

  - Move the oa-\>count = 1 assignment below the oa-\>data allocation
    so it is never set when oa-\>data is NULL.
  - Reset oa-\>count to 0 at free\_oa: so count and data stay
    coherent and the caller sees an empty option array.
  - Call free\_svc\_cred(creds) before kfree(creds) at free\_creds:
    so the refcounted cr\_group\_info is released.  free\_svc\_cred()
    either NULL-guards each field explicitly (cr\_group\_info has
    an if() check) or delegates to a helper that is NULL-safe
    itself (kfree for the string fields, gss\_mech\_put() which
    guards with if(gm) at gss\_mech\_switch.c:342), so it is safe
    to call on a partially decoded svc\_cred where only
    cr\_uid/cr\_gid/cr\_group\_info have been written and everything
    else is zero from kzalloc.
  - In gssx\_dec\_linux\_creds()'s out\_free\_groups: path, release
    cr\_group\_info with put\_group\_info() rather than groups\_free()
    so the teardown matches free\_svc\_cred()'s refcount-aware path,
    and clear the pointer so a later free\_svc\_cred() on the same
    creds does not release it a second time.

## Affected and fixed versions

- Linux: \>= bb336cd8d5ecb69c430ebe3e7bcff68471d93fa8, \< ac86b45bb978cd4fdbcaaca82dd0f2337f8e310c; \>= dd292e884c649f9b1c18af0ec75ca90b390cd044, \< 3473139d15d67e2fd737cf0613082adb5499362f; \>= 934212a623cbab851848b6de377eb476718c3e4c, \< 993a9012e68b8667a0a9b316fd718680c7e008a0; \>= 5e6013ae2c8d420faea553d363935f65badd32c3, \< 8c56a46db3b7523f13e167c3e2c6e3c47a87dcb3; \>= 3cfcfc102a5e57b021b786a755a38935e357797d, \< fb30241f7ccace372ee83017891549f23a715581; \>= 3cfcfc102a5e57b021b786a755a38935e357797d, \< 3ff45361e9469e85c0f86b8e7b82c63e50bab8ef; \>= 3cfcfc102a5e57b021b786a755a38935e357797d, \< f85a83774d7f4e2ac71c0c384df0dfb6f7d0179a; \>= 3cfcfc102a5e57b021b786a755a38935e357797d, \< 5e9a94539b1ec17a89177d952badfd0d844d694a; b97c37978ca825557d331c9012e0c1ddc0e42364; bfa9d86d39a0fe4685f90c3529aa9bd62a9d97a8; … (cvelist)
- Linux: 6.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89544. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89544.md
Affected: Linux >= bb336cd8d5ecb69c430ebe3e7bcff68471d93fa8, < ac86b45bb978cd4fdbcaaca82dd0f2337f8e310c; >= dd292e884c649f9b1c18af0ec75ca90b390cd044, < 3473139d15d67e2fd737cf0613082adb5499362f; >= 934212a623cbab851848b6de377eb476718c3e4c, < 993a9012e68b8667a0a9b316fd718680c7e008a0; >= 5e6013ae2c8d420faea553d…
Fixed in: Linux 3473139d15d67e2fd737cf0613082adb5499362f, Linux 993a9012e68b8667a0a9b316fd718680c7e008a0, Linux 8c56a46db3b7523f13e167c3e2c6e3c47a87dcb3, Linux 3ff45361e9469e85c0f86b8e7b82c63e50bab8ef, Linux 5e9a94539b1ec17a89177d952badfd0d844d694a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89544 being exploited?

There is no confirmed exploitation: CVE-2026-89544 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.70% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89544?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-89544?

Linux \>= bb336cd8d5ecb69c430ebe3e7bcff68471d93fa8, \< ac86b45bb978cd4fdbcaaca82dd0f2337f8e310c; \>= dd292e884c649f9b1c18af0ec75ca90b390cd044, \< 3473139d15d67e2fd737cf0613082adb5499362f; \>= 934212a623cbab851848b6de377eb476718c3e4c, \< 993a9012e68b8667a0a9b316fd718680c7e008a0; \>= 5e6013ae2c8d420faea553d363935f65badd32c3, \< 8c56a46db3b7523f13e167c3e2c6e3c47a87dcb3; \>= 3cfcfc102a5e57b021b786a755a38935e357797d, \< fb30241f7ccace372ee83017891549f23a715581; \>= 3cfcfc102a5e57b021b786a755a38935e357797d, \< 3ff45361e9469e85c0f86b8e7b82c63e50bab8ef; \>= 3cfcfc102a5e57b021b786a755a38935e357797d, \< f85a83774d7f4e2ac71c0c384df0dfb6f7d0179a; \>= 3cfcfc102a5e57b021b786a755a38935e357797d, \< 5e9a94539b1ec17a89177d952badfd0d844d694a; b97c37978ca825557d331c9012e0c1ddc0e42364; bfa9d86d39a0fe4685f90c3529aa9bd62a9d97a8; …; Linux 6.9.

### Is there a fix for CVE-2026-89544?

Yes. Fixed in Linux 3473139d15d67e2fd737cf0613082adb5499362f, Linux 993a9012e68b8667a0a9b316fd718680c7e008a0, Linux 8c56a46db3b7523f13e167c3e2c6e3c47a87dcb3, Linux 3ff45361e9469e85c0f86b8e7b82c63e50bab8ef, Linux 5e9a94539b1ec17a89177d952badfd0d844d694a. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89544?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/ac86b45bb978cd4fdbcaaca82dd0f2337f8e310c>
- other: <https://git.kernel.org/stable/c/3473139d15d67e2fd737cf0613082adb5499362f>
- other: <https://git.kernel.org/stable/c/993a9012e68b8667a0a9b316fd718680c7e008a0>
- other: <https://git.kernel.org/stable/c/8c56a46db3b7523f13e167c3e2c6e3c47a87dcb3>
- other: <https://git.kernel.org/stable/c/fb30241f7ccace372ee83017891549f23a715581>
- other: <https://git.kernel.org/stable/c/3ff45361e9469e85c0f86b8e7b82c63e50bab8ef>
- other: <https://git.kernel.org/stable/c/f85a83774d7f4e2ac71c0c384df0dfb6f7d0179a>
- other: <https://git.kernel.org/stable/c/5e9a94539b1ec17a89177d952badfd0d844d694a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89544>

HTML: <https://flawdb.com/CVE-2026-89544> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89544>
