Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139781

drm/verisilicon: Switch to drm_fb_dma_get_addr() for framebuffer addresses

Description

In the Linux kernel, the following vulnerability has been resolved: drm/verisilicon: Switch to drm_fb_dma_get_addr() for framebuffer addresses The verisilicon driver has a custom framebuffer address calculating helper that the common drm_fb_dma_get_addr() can substitute. Differences from drm_fb_dma_get_addr(): - Uses drm_format_info_min_pitch() to calculate the horizontal offset; however the driver does not support any of the blocked formats, so this just ends up being the same as in drm_fb_dma_get_addr(): "cpp[plane] * y" - Uses clipped source coordinates instead of non-clipped coordinates as in drm_fb_dma_get_addr(); For the primary plane this doesn't matter, since the primary plane must match the output, i.e. it cannot be clipped. Also this driver doesn't support scaling. For the cursor plane this seems wrong, as the clipping seems to be done by the hardware, and thus the buffer address should be unclipped. As such, it should be fine to use the common helper and drop the custom code.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8c4ae218912554ef427440293cdb97319d17ca5d to < e48e131830e370ffc0682bcea6af99e6f5c51a54affected
  • 8c4ae218912554ef427440293cdb97319d17ca5d to < 063019ac51afffda4ab3d658701b086caa0c8e9eaffected

Linux Linux

Default version status: affected

  • 7.2affected
  • 0 to < 7.2unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References