CVE Database›Document archive›CVE-2022-50884

CVE-2022-50884

kernel: drm: Prevent drm_copy_field() to attempt copying a NULL pointer

Loading…

Severity

Low

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · December 30, 2025

Updated · June 30, 2026

Description

A NULL pointer dereference flaw was found in the Linux kernel's DRM subsystem. When a graphics driver incorrectly fails to initialize required fields in the drm_driver structure, the drm_copy_field() function attempts to copy from a NULL pointer when handling the DRM_IOCTL_VERSION ioctl, causing a kernel crash.

Statement

This vulnerability requires a buggy DRM driver that fails to set mandatory fields. Standard upstream drivers set these fields correctly, so this primarily affects development or out-of-tree driver scenarios. The fix adds defensive NULL checks to prevent crashes from driver bugs.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-476 · NULL Pointer Dereference