Menu

Star on GitHub · 3.2k

CVE-2023-52765

6.2 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: mfd: qcom-spmi-pmic: Fix revid implementation The Qualcomm SPMI PMIC revid implementation is broken in multiple ways.

Published May 21, 2024CWE-476EPSS 0.25%

Overview

CVE-2023-52765 is a medium-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 6.2 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.2, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

mfd: qcom-spmi-pmic: Fix revid implementation

The Qualcomm SPMI PMIC revid implementation is broken in multiple ways.

First, it assumes that just because the sibling base device has been

registered that means that it is also bound to a driver, which may not

be the case (e.g. due to probe deferral or asynchronous probe). This

could trigger a NULL-pointer dereference when attempting to access the

driver data of the unbound device.

Second, it accesses driver data of a sibling device directly and without

any locking, which means that the driver data may be freed while it is

being accessed (e.g. on driver unbind).

Third, it leaks a struct device reference to the sibling device which is

looked up using the spmi_device_from_of() every time a function (child)

device is calling the revid function (e.g. on probe).

Fix this mess by reimplementing the revid lookup so that it is done only

at probe of the PMIC device; the base

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2023-52765?

CVE-2023-52765 is a medium-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 6.2 (MEDIUM).

How severe is CVE-2023-52765?

This vulnerability has a CVSS 3.1 base score of 6.2, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2023-52765?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-52765?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52765 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2023

View all