CVE-2026-97621 PUBLISHED

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

Assigner: Linux
Reserved: 24.09.2026 Published: 25.09.2026 Updated: 25.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 729f8eefdcadaff98606931e691910f17d8d59d6 to 49f5268f43a791dd0d9ff554cce25a3685c7250b (excl.)
  • affected from 729f8eefdcadaff98606931e691910f17d8d59d6 to 2fcd112caa4ebc64fdcb509f0b26d8daa3fac950 (excl.)
  • affected from 729f8eefdcadaff98606931e691910f17d8d59d6 to bc69439d983cc491cc86e01fafc1deb94e1bb85e (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.16 is affected
  • unaffected from 0 to 6.16 (excl.)
  • unaffected from 6.18.53 to 6.18.* (incl.)
  • unaffected from 7.2.7 to 7.2.* (incl.)
  • unaffected from 7.3-rc3 to * (incl.)

References