---
id: CVE-2023-52586
title: |-
  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 threa…
summary: |-
  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 threa…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-362
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 6.7.4
patched:
  - linux_kernel 6.7.4
published: '2024-03-06'
updated: '2026-08-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-52586'
references:
  - url: 'https://git.kernel.org/stable/c/14f109bf74dd67e1d0469fed859c8e506b0df53f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/45284ff733e4caf6c118aae5131eb7e7cf3eea5a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/14f109bf74dd67e1d0469fed859c8e506b0df53f'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/45284ff733e4caf6c118aae5131eb7e7cf3eea5a'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00159
epssPercentile: 0.04266
ingestedAt: '2026-08-05T05:58:02.695Z'
---

## Overview

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

- `linux_kernel < 6.7.4`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.7.4`
