# CVE-2023-52586: drm/msm/dpu: Add mutex lock in control vblank irq

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2024-03-06T06:45:20.913Z
- **Modified:** 2026-10-30T13:17:15.433Z

## Who should check

- Anyone running Linux \>= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, \< 763ca8d84f34d1db00d5750f77e6001765916d44; \>= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, \< f6dd625053726ea2a209282bee97218f2ec04149; \>= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, \< 14f109bf74dd67e1d0469fed859c8e506b0df53f; \>= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, \< 45284ff733e4caf6c118aae5131eb7e7cf3eea5a
- Anyone running Linux 4.19

## Description

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

drm/msm/dpu: Add mutex lock in control vblank irq

Add a mutex lock to control vblank irq to synchronize vblank
enable/disable operations happening from different threads to prevent
race conditions while registering/unregistering the vblank irq callback.

v4: -Removed vblank\_ctl\_lock from dpu\_encoder\_virt, so it is only a
    parameter of dpu\_encoder\_phys.
    -Switch from atomic refcnt to a simple int counter as mutex has
    now been added
v3: Mistakenly did not change wording in last version. It is done now.
v2: Slightly changed wording of commit message

Patchwork: https://patchwork.freedesktop.org/patch/571854/

## Affected and fixed versions

- Linux: \>= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, \< 763ca8d84f34d1db00d5750f77e6001765916d44; \>= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, \< f6dd625053726ea2a209282bee97218f2ec04149; \>= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, \< 14f109bf74dd67e1d0469fed859c8e506b0df53f; \>= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, \< 45284ff733e4caf6c118aae5131eb7e7cf3eea5a (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- Upgrade Linux to 45284ff733e4caf6c118aae5131eb7e7cf3eea5a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52586. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52586.md
Affected: Linux >= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, < 763ca8d84f34d1db00d5750f77e6001765916d44; >= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, < f6dd625053726ea2a209282bee97218f2ec04149; >= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, < 14f109bf74dd67e1d0469fed859c8e506b0df53f; >= 25fdd5933e4c0f5fe2ea5cd…
Fixed in: Linux 763ca8d84f34d1db00d5750f77e6001765916d44, Linux 14f109bf74dd67e1d0469fed859c8e506b0df53f, Linux 45284ff733e4caf6c118aae5131eb7e7cf3eea5a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-52586 being exploited?

There is no confirmed exploitation: CVE-2023-52586 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-52586?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-52586?

Linux \>= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, \< 763ca8d84f34d1db00d5750f77e6001765916d44; \>= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, \< f6dd625053726ea2a209282bee97218f2ec04149; \>= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, \< 14f109bf74dd67e1d0469fed859c8e506b0df53f; \>= 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef, \< 45284ff733e4caf6c118aae5131eb7e7cf3eea5a; Linux 4.19.

### Is there a fix for CVE-2023-52586?

Yes. Fixed in Linux 763ca8d84f34d1db00d5750f77e6001765916d44, Linux 14f109bf74dd67e1d0469fed859c8e506b0df53f, Linux 45284ff733e4caf6c118aae5131eb7e7cf3eea5a. Upgrade Linux to 45284ff733e4caf6c118aae5131eb7e7cf3eea5a or later.

### How do I check if I'm affected by CVE-2023-52586?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/14f109bf74dd67e1d0469fed859c8e506b0df53f>
- patch: <https://git.kernel.org/stable/c/45284ff733e4caf6c118aae5131eb7e7cf3eea5a>
- other: <https://git.kernel.org/stable/c/763ca8d84f34d1db00d5750f77e6001765916d44>
- other: <https://git.kernel.org/stable/c/f6dd625053726ea2a209282bee97218f2ec04149>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52586>

HTML: <https://flawdb.com/CVE-2023-52586> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52586>
