CVE-2024-42125 wifi: rtw89: fw: scan offload prohibit all 6 GHz channel if no 6 GHz sband

Medium 5.5 Published Updated

A missing null check in the rtw89 WiFi driver causes a kernel crash when 6 GHz channels are disabled via BIOS, 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-42125?

CVE-2024-42125 is a medium-severity vulnerability in Linux kernel, published on 30 Jul 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: rtw89: fw: scan offload prohibit all 6 GHz channel if no 6 GHz sband

We have some policy via BIOS to block uses of 6 GHz. In this case, 6 GHz sband will be NULL even if it is WiFi 7 chip. So, add NULL handling here to avoid crash.

Weakness: CWE-476

Which versions are affected by CVE-2024-42125?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-42125?

Apply the vendor's patch.

Is CVE-2024-42125 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-42125, DEBIAN-CVE-2024-42125, GHSA-m93m-c433-q3h9, ROOT-OS-DEBIAN-12-CVE-2024-42125, ROOT-OS-UBUNTU-2204-CVE-2024-42125, ROOT-OS-UBUNTU-2404-CVE-2024-42125 and 1 more.

Is CVE-2024-42125 in your software?

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

Check your SBOMs for free