CVE-2024-41072 wifi: cfg80211: wext: add extra SIOCSIWSCAN data check

Medium 5.5 Published Updated

A missing bounds check in the Linux kernel Wi-Fi driver allows local attackers to cause a denial of service by passing invalid channel counts.

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

CVE-2024-41072 is a medium-severity denial of service vulnerability in Linux kernel, published on 29 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: cfg80211: wext: add extra SIOCSIWSCAN data check

In 'cfg80211_wext_siwscan()', add extra check whether number of channels passed via 'ioctl(sock, SIOCSIWSCAN, ...)' doesn't exceed IW_MAX_FREQUENCIES and reject invalid request with -EINVAL otherwise.

Which versions are affected by CVE-2024-41072?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-41072?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-41072 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-41072, DEBIAN-CVE-2024-41072, GHSA-3g2p-rjfc-78cj, UBUNTU-CVE-2024-41072.

Is CVE-2024-41072 in your software?

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

Check your SBOMs for free