GHSA-q6xv-ghr2-54fwunknown
In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: analogix_dp:...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-97621
- https://git.kernel.org/stable/c/2fcd112caa4ebc64fdcb509f0b26d8daa3fac950
- https://git.kernel.org/stable/c/49f5268f43a791dd0d9ff554cce25a3685c7250b
- https://git.kernel.org/stable/c/bc69439d983cc491cc86e01fafc1deb94e1bb85e
- https://github.com/advisories/GHSA-q6xv-ghr2-54fw