CVE-2023-52768 wifi: wilc1000: use vmm_table as array in wilc struct
A memory corruption vulnerability in the Linux kernel's wilc1000 WiFi driver allows out-of-bounds writes, 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-52768?
CVE-2023-52768 is a high-severity memory corruption 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: wilc1000: use vmm_table as array in wilc struct
Enabling KASAN and running some iperf tests raises some memory issues with vmm_table:
BUG: KASAN: slab-out-of-bounds in wilc_wlan_handle_txq+0x6ac/0xdb4 Write of size 4 at addr c3a61540 by task wlan0-tx/95
KASAN detects that we are writing data beyond range allocated to vmm_table. There is indeed a mismatch between the size passed to allocator in wilc_wlan_init, and the range of possible indexes used later: allocation size is missing a multiplication by sizeof(u32)
Weakness: CWE-129
Which versions are affected by CVE-2023-52768?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52768?
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-2023-52768 being exploited?
There is no known exploitation of CVE-2023-52768 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-52768, DEBIAN-CVE-2023-52768, GHSA-h765-5xqm-7h48, UBUNTU-CVE-2023-52768.