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

drm/sun4i: backend: fix error pointer dereference

The function drm_atomic_get_plane_state() can return an error pointer
and is not checked for it. Add error pointer check.

Detected by Smatch:
drivers/gpu/drm/sun4i/sun4i_backend.c:496 sun4i_backend_atomic_check() error:
'plane_state' dereferencing possible ERR_PTR()
Published: 2026-06-24
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from an error pointer dereference in the sun4i DRM backend. The function drm_atomic_get_plane_state can return an error pointer, but the driver does not check this, leading to a potential kernel crash or denial of service when malicious or malformed data triggers this code path. This is a classic null pointer dereference flaw (CWE‑476) that can destabilize the kernel.

Affected Systems

The affected component is the sun4i DRM backend, part of the Linux kernel for Allwinner SoCs. Vendors that ship Linux kernels with this driver (including many embedded systems and custom distributions) may be impacted. No specific kernel version numbers are listed in the advisory, so any kernel containing this code path before the fix is potentially vulnerable.

Risk and Exploitability

The CVSS score is not provided, and no EPSS is available, but the flaw can cause a kernel panic, leading to service disruption. The attack likely requires local privilege or access to the DRM subsystem to trigger the problematic call. There is no KEV listing and no known public exploits yet, but the nature of the bug means a local attacker could obtain a DoS. The patch is embedded in the kernel tree but there is no official release noted; administrators should seek the latest kernel that contains the fix.

Generated by OpenCVE AI on June 24, 2026 at 19:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel that includes the sun4i DRM patch.
  • If an update cannot be applied immediately, disable the sun4i DRM module or avoid using DRM interfaces that invoke the affected code path until a patch is available.
  • Audit system logs for abnormal kernel panics and review DRM activity for anomalous requests.

Generated by OpenCVE AI on June 24, 2026 at 19:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 24 Jun 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Wed, 24 Jun 2026 17:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/sun4i: backend: fix error pointer dereference The function drm_atomic_get_plane_state() can return an error pointer and is not checked for it. Add error pointer check. Detected by Smatch: drivers/gpu/drm/sun4i/sun4i_backend.c:496 sun4i_backend_atomic_check() error: 'plane_state' dereferencing possible ERR_PTR()
Title drm/sun4i: backend: fix error pointer dereference
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-24T16:30:08.824Z

Reserved: 2026-06-09T07:44:35.382Z

Link: CVE-2026-53066

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T19:30:08Z

Weaknesses