CVE-2024-27048 wifi: brcm80211: handle pmk_op allocation failure

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel's brcm80211 WiFi driver can cause a system crash when memory allocation fails.

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-27048?

CVE-2024-27048 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:

wifi: brcm80211: handle pmk_op allocation failure

The kzalloc() in brcmf_pmksa_v3_op() will return null if the physical memory has run out. As a result, if we dereference the null value, the null pointer dereference bug will happen.

Return -ENOMEM from brcmf_pmksa_v3_op() if kzalloc() fails for pmk_op.

Weakness: CWE-476

Which versions are affected by CVE-2024-27048?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-27048?

Apply the vendor's patch.

Is CVE-2024-27048 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-27048, DEBIAN-CVE-2024-27048, GHSA-f57x-jw9v-3cxx, UBUNTU-CVE-2024-27048.

Is CVE-2024-27048 in your software?

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

Check your SBOMs for free