# CVE-2023-52495: soc: qcom: pmic_glink_altmode: fix port sanity check

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2024-02-29T15:52:12.263Z
- Modified: 2026-06-17T06:42:51.690Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 080b4e24852b1d5b66929f69344e6c3eeb963941 before 532a5557da6892a6b2d5793052e1bce1f4c9e177; from 080b4e24852b1d5b66929f69344e6c3eeb963941 before d26edf4ee3672cc9828f2a3ffae34086a712574d; from 080b4e24852b1d5b66929f69344e6c3eeb963941 before c4fb7d2eac9ff9bfc35a2e4d40c7169a332416e0; 6.3 (not affected: before 6.3; from 6.6.15 up to 6.6.*; from 6.7.3 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 6.3 before 6.6.15; from 6.7 before 6.7.3

## References

- <https://git.kernel.org/stable/c/532a5557da6892a6b2d5793052e1bce1f4c9e177> (mailing-list, patch)
- <https://git.kernel.org/stable/c/d26edf4ee3672cc9828f2a3ffae34086a712574d> (mailing-list, patch)
- <https://git.kernel.org/stable/c/c4fb7d2eac9ff9bfc35a2e4d40c7169a332416e0> (mailing-list, patch)

## Sources

- CVE List: [CVE-2023-52495](https://www.cve.org/CVERecord?id=CVE-2023-52495), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52495](https://nvd.nist.gov/vuln/detail/CVE-2023-52495), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52495 · Whole record: https://cve.day/CVE-2023-52495.json · Rebuilt by cve.day 2026-11-25T22:58:33.308Z
