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

drm/rockchip: analogix_dp: fix unchecked bound endpoint name length

rockchip_dp_drm_encoder_enable() uses sprintf() to format a device tree
path into a 32-byte stack buffer. Device tree paths are not limited to
this size, so a sufficiently long path can overflow the buffer.

Use snprintf() with the destination size to truncate the generated name
and keep the writes within bounds.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stack buffer overflow in DRM driver
Action: Apply Patch
AI Analysis

Impact

The Linux kernel’s Rockchip analogix DP DRM driver writes a device‑tree path into a 32‑byte stack buffer using sprintf without bounds checking. Because device‑tree paths can be arbitrarily long, a crafted path can overflow this buffer, leading to a stack buffer overflow that can corrupt execution flow or crash the kernel. This vulnerability is represented by CWE-120.

Affected Systems

The issue affects all Linux kernel releases that contain the rockchip analogix DP DRM driver before the patch that replaces sprintf with snprintf. The kernel version range is not specified in the advisory, so any kernel built from source that includes the unpatched driver code is potentially vulnerable. The vulnerability is present in the Linux kernel implementation for Rockchip hardware.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity, while the EPSS score of less than 1 % suggests a low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. An attacker would need to supply a device-tree entry with a path longer than 32 bytes, which typically requires local privileged access or the ability to modify the system’s device tree during boot. Successful exploitation could lead to arbitrary code execution in kernel mode or a denial‑of‑service by crashing the kernel.

Generated by OpenCVE AI on October 1, 2026 at 11:13 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel that includes the patch replacing sprintf with snprintf in rockchip_dp_drm_encoder_enable.
  • If updating is not feasible, ensure that any device tree path used by the rockchip DRM driver is no longer than 32 characters to avoid the overflow.
  • Compile the kernel with stack protection directives (e.g., -fstack-protector) and enable mitigations that detect stack overflow.

Generated by OpenCVE AI on October 1, 2026 at 11:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 01 Oct 2026 09:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Wed, 30 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 25 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: analogix_dp: fix unchecked bound endpoint name length rockchip_dp_drm_encoder_enable() uses sprintf() to format a device tree path into a 32-byte stack buffer. Device tree paths are not limited to this size, so a sufficiently long path can overflow the buffer. Use snprintf() with the destination size to truncate the generated name and keep the writes within bounds.
Title drm/rockchip: analogix_dp: fix unchecked bound endpoint name length
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-10-19T09:10:24.742Z

Reserved: 2026-09-24T16:01:01.159Z

Link: CVE-2026-97621

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:16.360

Modified: 2026-10-19T10:17:39.933

Link: CVE-2026-97621

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-97621 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T11:15:05Z

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')