Lucene search

K
cvelistLinuxCVELIST:CVE-2023-52586
HistoryMar 06, 2024 - 6:45 a.m.

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

2024-03-0606:45:20
Linux
www.cve.org
1
linux kernel
vulnerability resolved
mutex lock
vblank irq
race conditions
synchronize
patchwork

9.3 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

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/

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c",
      "drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h",
      "drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c",
      "drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c"
    ],
    "versions": [
      {
        "version": "1da177e4c3f4",
        "lessThan": "14f109bf74dd",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "45284ff733e4",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c",
      "drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h",
      "drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c",
      "drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c"
    ],
    "versions": [
      {
        "version": "6.7.4",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

9.3 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%