CVE-2023-52495 soc: qcom: pmic_glink_altmode: fix port sanity check
A missing port sanity check in the Qualcomm PMIC GLINK altmode driver allows out-of-bounds memory access, potentially leading to memory corruption 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-52495?
CVE-2023-52495 is a high-severity memory corruption vulnerability in Linux kernel, published on 29 Feb 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:
soc: qcom: pmic_glink_altmode: fix port sanity check
The PMIC GLINK altmode driver currently supports at most two ports.
Fix the incomplete port sanity check on notifications to avoid accessing and corrupting memory beyond the port array if we ever get a notification for an unsupported port.
Weakness: CWE-787
Which versions are affected by CVE-2023-52495?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52495?
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-52495 being exploited?
There is no known exploitation of CVE-2023-52495 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-52495, DEBIAN-CVE-2023-52495, GHSA-whgx-jw4g-48ph, UBUNTU-CVE-2023-52495.