---
id: CVE-2024-56538
title: 'drm: zynqmp_kms: Unplug DRM device before removal'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm: zynqmp_kms: Unplug DRM device before removal

  Prevent userspace accesses to the DRM device from causing
  use-after-frees by unplugging the device before we remove i…
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'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= d76271d22694e874ed70791702db9252ffe96a4c <
    0c8ca1da81e5a9787284eb84c0c6ae927f063c15
  - >-
    Linux >= d76271d22694e874ed70791702db9252ffe96a4c <
    a17b9afe58c474657449cf87e238b1788200576b
  - >-
    Linux >= d76271d22694e874ed70791702db9252ffe96a4c <
    4fb97432e28a7e136b2d76135d50e988ada8e1af
  - >-
    Linux >= d76271d22694e874ed70791702db9252ffe96a4c <
    692f52aedccbf79b212a1e14e3735192b4c24a7d
  - >-
    Linux >= d76271d22694e874ed70791702db9252ffe96a4c <
    2e07c88914fc5289c21820b1aa94f058feb38197
  - Linux 5.9
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2025-02-11T15:42:57.597278Z'
published: '2024-12-27'
updated: '2026-10-30'
sourceUpdated: '2026-10-30T12:20:17.114Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2024-56538'
references:
  - url: 'https://git.kernel.org/stable/c/0c8ca1da81e5a9787284eb84c0c6ae927f063c15'
  - url: 'https://git.kernel.org/stable/c/a17b9afe58c474657449cf87e238b1788200576b'
  - url: 'https://git.kernel.org/stable/c/4fb97432e28a7e136b2d76135d50e988ada8e1af'
  - url: 'https://git.kernel.org/stable/c/692f52aedccbf79b212a1e14e3735192b4c24a7d'
  - url: 'https://git.kernel.org/stable/c/2e07c88914fc5289c21820b1aa94f058feb38197'
tags:
  - cve.org
epss: 0.00269
epssPercentile: 0.19176
ingestedAt: '2026-11-03T14:47:02.522Z'
---

## Overview

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

drm: zynqmp_kms: Unplug DRM device before removal

Prevent userspace accesses to the DRM device from causing
use-after-frees by unplugging the device before we remove it. This
causes any further userspace accesses to result in an error without
further calls into this driver's internals.

## Affected

- `Linux >= d76271d22694e874ed70791702db9252ffe96a4c < 0c8ca1da81e5a9787284eb84c0c6ae927f063c15`
- `Linux >= d76271d22694e874ed70791702db9252ffe96a4c < a17b9afe58c474657449cf87e238b1788200576b`
- `Linux >= d76271d22694e874ed70791702db9252ffe96a4c < 4fb97432e28a7e136b2d76135d50e988ada8e1af`
- `Linux >= d76271d22694e874ed70791702db9252ffe96a4c < 692f52aedccbf79b212a1e14e3735192b4c24a7d`
- `Linux >= d76271d22694e874ed70791702db9252ffe96a4c < 2e07c88914fc5289c21820b1aa94f058feb38197`
- `Linux 5.9`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
