CVE-2023-52798 wifi: ath11k: fix dfs radar event locking

High 8.8 Published Updated

A missing RCU lock in the ath11k WiFi driver allows attackers to trigger a use-after-free, potentially leading to code execution or system crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-52798?

CVE-2023-52798 is a high-severity use after free vulnerability in Linux kernel, published on 21 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: ath11k: fix dfs radar event locking

The ath11k active pdevs are protected by RCU but the DFS radar event handling code calling ath11k_mac_get_ar_by_pdev_id() was not marked as a read-side critical section.

Mark the code in question as an RCU read-side critical section to avoid any potential use-after-free issues.

Compile tested only.

Weakness: CWE-416

Which versions are affected by CVE-2023-52798?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52798?

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-2023-52798 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52798, DEBIAN-CVE-2023-52798, GHSA-gx69-h78g-vjrh, UBUNTU-CVE-2023-52798.

Is CVE-2023-52798 in your software?

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

Check your SBOMs for free