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

Critical 9.8 Published Updated

A memory leak in the Linux kernel's SUNRPC module allows attackers to cause a denial of service by exhausting system memory.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-27388?

CVE-2024-27388 is a critical memory corruption vulnerability in Debian Debian Linux, published on 1 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-401

Which versions are affected by CVE-2024-27388?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-27388?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-27388 being exploited?

There is no known exploitation of CVE-2024-27388 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-27388, DEBIAN-CVE-2024-27388, GHSA-qh82-7chj-9876, UBUNTU-CVE-2024-27388.

Is CVE-2024-27388 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free