# CVE-2024-27388: SUNRPC: fix some memleaks in gssx_dec_option_array

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.96%, higher than 62% of CVEs (2026-12-01)
- Published: 2024-05-01T13:05:05.518Z
- Modified: 2026-08-05T11:29:23.858Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1d658336b05f8697d6445834f8867f8ad5e4f735 before b97c37978ca825557d331c9012e0c1ddc0e42364; from 1d658336b05f8697d6445834f8867f8ad5e4f735 before bfa9d86d39a0fe4685f90c3529aa9bd62a9d97a8; from 1d658336b05f8697d6445834f8867f8ad5e4f735 before bb336cd8d5ecb69c430ebe3e7bcff68471d93fa8; from 1d658336b05f8697d6445834f8867f8ad5e4f735 before dd292e884c649f9b1c18af0ec75ca90b390cd044; from 1d658336b05f8697d6445834f8867f8ad5e4f735 before 934212a623cbab851848b6de377eb476718c3e4c; from 1d658336b05f8697d6445834f8867f8ad5e4f735 before 5e6013ae2c8d420faea553d363935f65badd32c3; from 1d658336b05f8697d6445834f8867f8ad5e4f735 before 9806c2393cd2ab0a8e7bb9ffae02ce20e3112ec4; from 1d658336b05f8697d6445834f8867f8ad5e4f735 before 996997d1fb2126feda550d6adcedcbd94911fc69; from 1d658336b05f8697d6445834f8867f8ad5e4f735 before 3cfcfc102a5e57b021b786a755a38935e357797d; 3.10 (not affected: before 3.10; from 4.19.311 up to 4.19.*; from 5.4.273 up to 5.4.*; from 5.10.214 up to 5.10.*; from 5.15.153 up to 5.15.*; from 6.1.83 up to 6.1.*; from 6.6.23 up to 6.6.*; from 6.7.11 up to 6.7.*; from 6.8.2 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 3.10 before 4.19.311; from 4.20 before 5.4.273; from 5.5 before 5.10.214; from 5.11 before 5.15.153; from 5.16 before 6.1.83; from 6.2 before 6.6.23; from 6.7 before 6.7.11; from 6.8 before 6.8.2
- debian debian_linux: 10.0

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html> (mailing-list)

## Sources

- CVE List: [CVE-2024-27388](https://www.cve.org/CVERecord?id=CVE-2024-27388), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-27388](https://nvd.nist.gov/vuln/detail/CVE-2024-27388), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-27388 · Whole record: https://cve.day/CVE-2024-27388.json · Rebuilt by cve.day 2026-11-25T22:58:39.814Z
