← CVE Intelligence

CVE-2026-97621

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 729f8eefdcadaff98606931e691910f17d8d59d6 before 49f5268f43a791dd0d9ff554cce25a3685c7250b; affected 729f8eefdcadaff98606931e691910f17d8d59d6 before 2fcd112caa4ebc64fdcb509f0b26d8daa3fac950; affected 729f8eefdcadaff98606931e691910f17d8d59d6 before bc69439d983cc491cc86e01fafc1deb94e1bb85e
Linux / Linuxaffected 6.16; unaffected 0 before 6.16; unaffected 6.18.53 through 6.18.*; unaffected 7.2.7 through 7.2.*; unaffected 7.3 through *

CWE

No CWE identifiers supplied.

References