CVE-2023-52696 powerpc/powernv: Add a null pointer check in opal_powercap_init()

High 7.5 Published Updated

A missing null pointer check in the Linux kernel's powerpc/powernv driver can cause a crash if memory allocation fails.

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

What is CVE-2023-52696?

CVE-2023-52696 is a high-severity vulnerability in Debian Debian Linux, published on 17 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:

powerpc/powernv: Add a null pointer check in opal_powercap_init()

kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure.

Weakness: CWE-476

Which versions are affected by CVE-2023-52696?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2023-52696?

Apply the vendor's patch.

Is CVE-2023-52696 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-43242, AZL-43303, BELL-CVE-2023-52696, DEBIAN-CVE-2023-52696, GHSA-g9gx-3ccx-85w8, UBUNTU-CVE-2023-52696.

Is CVE-2023-52696 in your software?

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

Check your SBOMs for free