# CVE-2024-27388: SUNRPC: fix some memleaks in gssx\_dec\_option\_array

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.11% (percentile 66, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-05-01T13:05:05.518Z
- **Modified:** 2026-08-05T11:29:23.858Z

## Who should check

- Anyone running Linux \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< b97c37978ca825557d331c9012e0c1ddc0e42364; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< bfa9d86d39a0fe4685f90c3529aa9bd62a9d97a8; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< bb336cd8d5ecb69c430ebe3e7bcff68471d93fa8; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< dd292e884c649f9b1c18af0ec75ca90b390cd044; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< 934212a623cbab851848b6de377eb476718c3e4c; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< 5e6013ae2c8d420faea553d363935f65badd32c3; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< 9806c2393cd2ab0a8e7bb9ffae02ce20e3112ec4; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< 996997d1fb2126feda550d6adcedcbd94911fc69; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< 3cfcfc102a5e57b021b786a755a38935e357797d
- Anyone running Linux 3.10

## Description

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

SUNRPC: fix some memleaks in gssx\_dec\_option\_array

The creds and oa-\>data need to be freed in the error-handling paths after
their allocation. So this patch add these deallocations in the
corresponding paths.

## Affected and fixed versions

- Linux: \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< b97c37978ca825557d331c9012e0c1ddc0e42364; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< bfa9d86d39a0fe4685f90c3529aa9bd62a9d97a8; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< bb336cd8d5ecb69c430ebe3e7bcff68471d93fa8; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< dd292e884c649f9b1c18af0ec75ca90b390cd044; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< 934212a623cbab851848b6de377eb476718c3e4c; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< 5e6013ae2c8d420faea553d363935f65badd32c3; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< 9806c2393cd2ab0a8e7bb9ffae02ce20e3112ec4; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< 996997d1fb2126feda550d6adcedcbd94911fc69; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< 3cfcfc102a5e57b021b786a755a38935e357797d (cvelist)
- Linux: 3.10 (cvelist)

## Mitigation

- Upgrade Linux to 3cfcfc102a5e57b021b786a755a38935e357797d or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-27388.md
Affected: Linux >= 1d658336b05f8697d6445834f8867f8ad5e4f735, < b97c37978ca825557d331c9012e0c1ddc0e42364; >= 1d658336b05f8697d6445834f8867f8ad5e4f735, < bfa9d86d39a0fe4685f90c3529aa9bd62a9d97a8; >= 1d658336b05f8697d6445834f8867f8ad5e4f735, < bb336cd8d5ecb69c430ebe3e7bcff68471d93fa8; >= 1d658336b05f8697d644583…
Fixed in: Linux 934212a623cbab851848b6de377eb476718c3e4c, Linux 5e6013ae2c8d420faea553d363935f65badd32c3, Linux 9806c2393cd2ab0a8e7bb9ffae02ce20e3112ec4, Linux 996997d1fb2126feda550d6adcedcbd94911fc69, Linux 3cfcfc102a5e57b021b786a755a38935e357797d

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-2024-27388 being exploited?

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

### How serious is CVE-2024-27388?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-27388?

Linux \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< b97c37978ca825557d331c9012e0c1ddc0e42364; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< bfa9d86d39a0fe4685f90c3529aa9bd62a9d97a8; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< bb336cd8d5ecb69c430ebe3e7bcff68471d93fa8; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< dd292e884c649f9b1c18af0ec75ca90b390cd044; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< 934212a623cbab851848b6de377eb476718c3e4c; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< 5e6013ae2c8d420faea553d363935f65badd32c3; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< 9806c2393cd2ab0a8e7bb9ffae02ce20e3112ec4; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< 996997d1fb2126feda550d6adcedcbd94911fc69; \>= 1d658336b05f8697d6445834f8867f8ad5e4f735, \< 3cfcfc102a5e57b021b786a755a38935e357797d; Linux 3.10.

### Is there a fix for CVE-2024-27388?

Yes. Fixed in Linux 934212a623cbab851848b6de377eb476718c3e4c, Linux 5e6013ae2c8d420faea553d363935f65badd32c3, Linux 9806c2393cd2ab0a8e7bb9ffae02ce20e3112ec4, Linux 996997d1fb2126feda550d6adcedcbd94911fc69, Linux 3cfcfc102a5e57b021b786a755a38935e357797d. Upgrade Linux to 3cfcfc102a5e57b021b786a755a38935e357797d or later.

### How do I check if I'm affected by CVE-2024-27388?

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

- patch: <https://git.kernel.org/stable/c/b97c37978ca825557d331c9012e0c1ddc0e42364>
- patch: <https://git.kernel.org/stable/c/bfa9d86d39a0fe4685f90c3529aa9bd62a9d97a8>
- patch: <https://git.kernel.org/stable/c/bb336cd8d5ecb69c430ebe3e7bcff68471d93fa8>
- patch: <https://git.kernel.org/stable/c/dd292e884c649f9b1c18af0ec75ca90b390cd044>
- patch: <https://git.kernel.org/stable/c/934212a623cbab851848b6de377eb476718c3e4c>
- patch: <https://git.kernel.org/stable/c/5e6013ae2c8d420faea553d363935f65badd32c3>
- patch: <https://git.kernel.org/stable/c/9806c2393cd2ab0a8e7bb9ffae02ce20e3112ec4>
- patch: <https://git.kernel.org/stable/c/996997d1fb2126feda550d6adcedcbd94911fc69>
- patch: <https://git.kernel.org/stable/c/3cfcfc102a5e57b021b786a755a38935e357797d>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>

## 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-2024-27388>

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