Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2023-52586
HistoryMar 06, 2024 - 7:15 a.m.

CVE-2023-52586

2024-03-0607:15:07
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
61
linux
kernel
vulnerability
drm
msm
dpu
mutex lock
vblank irq
race condition
patch
nvd

6.5 Medium

AI Score

Confidence

Low

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/

Affected configurations

Vulners
Node
linuxlinux_kernelRange6.7.06.7.4
OR
linuxlinux_kernelRange6.8.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

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"
      }
    ]
  }
]

6.5 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.1%