CVE-2023-52690 powerpc/powernv: Add a null pointer check to scom_debug_init_one()

Medium 5.5 Published Updated

A missing null pointer check in the Linux kernel's PowerPC debug initialization can cause a crash, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-52690?

CVE-2023-52690 is a medium-severity vulnerability in Debian Debian Linux, published on 17 May 2024. It can only be exploited from the same machine or local network, 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 to scom_debug_init_one()

kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Add a null pointer check, and release 'ent' to avoid memory leaks.

Weakness: CWE-476

Which versions are affected by CVE-2023-52690?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2023-52690?

Apply the vendor's patch.

Is CVE-2023-52690 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2023-52690, DEBIAN-CVE-2023-52690, GHSA-x622-4m47-6h54, UBUNTU-CVE-2023-52690.

Is CVE-2023-52690 in your software?

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

Check your SBOMs for free