CVE-2023-52777 wifi: ath11k: fix gtk offload status event locking

High 7.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
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-52777?

CVE-2023-52777 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 gtk offload status event locking

The ath11k active pdevs are protected by RCU but the gtk offload status event handling code calling ath11k_mac_get_arvif_by_vdev_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-52777?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52777?

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

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52777, DEBIAN-CVE-2023-52777, GHSA-gcw5-rpqg-f587, UBUNTU-CVE-2023-52777.

Is CVE-2023-52777 in your software?

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

Check your SBOMs for free