CVE-2024-38562 wifi: nl80211: Avoid address calculations via out of bounds array indexing

High 7.8 Published Updated

A flaw in the Linux kernel Wi-Fi subsystem allows out-of-bounds array indexing, potentially causing runtime warnings or 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-38562?

CVE-2024-38562 is a high-severity vulnerability in Linux kernel, published on 19 Jun 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: nl80211: Avoid address calculations via out of bounds array indexing

Before request->channels[] can be used, request->n_channels must be set. Additionally, address calculations for memory after the "channels" array need to be calculated from the allocation base ("request") rather than via the first "out of bounds" index of "channels", otherwise run-time bounds checking will throw a warning.

Weakness: CWE-129

Which versions are affected by CVE-2024-38562?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-38562?

Apply the vendor's patch.

Is CVE-2024-38562 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-38562, DEBIAN-CVE-2024-38562, GHSA-wcf6-w83f-hp3h, UBUNTU-CVE-2024-38562.

Is CVE-2024-38562 in your software?

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

Check your SBOMs for free