CVE-2024-27388
JSON

9.8critical

SUNRPC: fix some memleaks in gssx_dec_option_array

Severity
9.8critical CVSS:3.1 by Linux
Exploit likelihood
0.96% (higher than 62% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 2 more
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.*
CVE List
linux linux_kernelfrom 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.2NVD
debian debian_linux10.0NVD

All scores

Linux9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: SUNRPC: corrige algunas fugas de mem en gssx_dec_option_array Los creds y oa->data deben liberarse en las rutas de manejo de errores después de su asignación. Entonces este parche agrega estas desasignaciones en las rutas correspondientes.

References

https://git.kernel.org/stable/c/b97c37978ca825557d331c9012e0c1ddc0e42364patch
https://git.kernel.org/stable/c/bfa9d86d39a0fe4685f90c3529aa9bd62a9d97a8patch
https://git.kernel.org/stable/c/bb336cd8d5ecb69c430ebe3e7bcff68471d93fa8patch
https://git.kernel.org/stable/c/dd292e884c649f9b1c18af0ec75ca90b390cd044patch
https://git.kernel.org/stable/c/934212a623cbab851848b6de377eb476718c3e4cpatch
https://git.kernel.org/stable/c/5e6013ae2c8d420faea553d363935f65badd32c3patch
https://git.kernel.org/stable/c/9806c2393cd2ab0a8e7bb9ffae02ce20e3112ec4patch
https://git.kernel.org/stable/c/996997d1fb2126feda550d6adcedcbd94911fc69patch
https://git.kernel.org/stable/c/3cfcfc102a5e57b021b786a755a38935e357797dpatch
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlmailing-list
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlmailing-list

Sources

SourceRecordLicence
CVE ListCVE-2024-27388 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-27388 changed 2026-08-04Public domain