CVE-2024-27052 wifi: rtl8xxxu: add cancel_work_sync() for c2hcmd_work

High 7.8 Published Updated

A use-after-free vulnerability in the Linux kernel rtl8xxxu WiFi driver allows attackers to cause denial of service or execute code when the driver is stopped.

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

CVE-2024-27052 is a high-severity use after free vulnerability in Debian Debian Linux, 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: rtl8xxxu: add cancel_work_sync() for c2hcmd_work

The workqueue might still be running, when the driver is stopped. To avoid a use-after-free, call cancel_work_sync() in rtl8xxxu_stop().

Weakness: CWE-416

Which versions are affected by CVE-2024-27052?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-27052?

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-27052 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-27052, DEBIAN-CVE-2024-27052, GHSA-29w5-279f-vr72, UBUNTU-CVE-2024-27052.

Is CVE-2024-27052 in your software?

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

Check your SBOMs for free