drm/rockchip: analogix_dp: fix unchecked bound endpoint name length
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.53, 7.2.7
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 729f8eefdcadaff98606931e691910f17d8d59d6 · fixed in 49f5268f43a791dd0d9ff554cce25a3685c7250b; From 729f8eefdcadaff98606931e691910f17d8d59d6 · fixed in 2fcd112caa4ebc64fdcb509f0b26d8daa3fac950; From 729f8eefdcadaff98606931e691910f17d8d59d6 · fixed in bc69439d983cc491cc86e01fafc1deb94e1bb85e
- Linux Linux
6.16
- KernelLinux
From 6.16.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.2.7