CVE Catalog

CVE-2026-97621

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, the rockchip_dp_drm_encoder_enable() function in the drm/rockchip analogix_dp driver 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.

Risk Assessment

This can lead to a stack buffer overflow and potential kernel code execution or system crash. It requires control over or access to the device tree.

Recommendation

Update the Linux kernel to a version with the fix using snprintf() with the destination size. Avoid using vulnerable rockchip drivers until updated.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS