CVE-2024-26694 wifi: iwlwifi: fix double-free bug

High 7.8 Published Updated

A double-free vulnerability in the Linux kernel iwlwifi driver allows attackers to cause a denial of service or potentially execute code.

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

CVE-2024-26694 is a high-severity use after free vulnerability in Linux kernel, published on 3 Apr 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: iwlwifi: fix double-free bug

The storage for the TLV PC register data wasn't done like all the other storage in the drv->fw area, which is cleared at the end of deallocation. Therefore, the freeing must also be done differently, explicitly NULL'ing it out after the free, since otherwise there's a nasty double-free bug here if a file fails to load after this has been parsed, and we get another free later (e.g. because no other file exists.) Fix that by adding the missing NULL assignment.

Weakness: CWE-415

Which versions are affected by CVE-2024-26694?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-26694?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-26694 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-26694, DEBIAN-CVE-2024-26694, GHSA-vhpg-m2r9-345p, UBUNTU-CVE-2024-26694.

Is CVE-2024-26694 in your software?

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

Check your SBOMs for free