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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux8c4ae218912554ef427440293cdb97319d17ca5d to before e48e131830e370ffc0682bcea6af99e6f5c51a54 Affected8c4ae218912554ef427440293cdb97319d17ca5d to before 063019ac51afffda4ab3d658701b086caa0c8e9e Affected
Linux Linux7.2 Affectedbefore 7.2 Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.