CVE-2022-49023 wifi: cfg80211: fix buffer overflow in elem comparison
A buffer overflow in the Linux kernel's Wi-Fi configuration subsystem allows attackers to execute arbitrary code or cause a denial of service.
- 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-2022-49023?
CVE-2022-49023 is a high-severity memory corruption vulnerability in Linux kernel, published on 21 Oct 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: fix buffer overflow in elem comparison
For vendor elements, the code here assumes that 5 octets are present without checking. Since the element itself is already checked to fit, we only need to check the length.
Weakness: CWE-120
Which versions are affected by CVE-2022-49023?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49023?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-49023 being exploited?
There is no known exploitation of CVE-2022-49023 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49023, GHSA-4q5v-2rw8-85rj, UBUNTU-CVE-2022-49023.