CVE-2024-27051 cpufreq: brcmstb-avs-cpufreq: add check for cpufreq_cpu_get's return value

Medium 5.5 Published Updated

A missing null check in the Broadcom AVS cpufreq driver can cause a kernel 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-2024-27051?

CVE-2024-27051 is a medium-severity vulnerability in Linux kernel, published on 1 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:

cpufreq: brcmstb-avs-cpufreq: add check for cpufreq_cpu_get's return value

cpufreq_cpu_get may return NULL. To avoid NULL-dereference check it and return 0 in case of error.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Weakness: CWE-476

Which versions are affected by CVE-2024-27051?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-27051?

Apply the vendor's patch.

Is CVE-2024-27051 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-40328, BELL-CVE-2024-27051, DEBIAN-CVE-2024-27051, GHSA-rfjq-rm7g-fv8j, UBUNTU-CVE-2024-27051.

Is CVE-2024-27051 in your software?

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

Check your SBOMs for free