CVE-2026-139781: drm/verisilicon: Switch to drm_fb_dma_get_addr() for framebuffer addresses
In the Linux kernel, the following vulnerability has been resolved:
drm/verisilicon: Switch to drmfbdmagetaddr() for framebuffer addresses
The verisilicon driver has a custom framebuffer address calculating helper that the common drmfbdmagetaddr() can substitute.
Differences from drmfbdmagetaddr():
- Uses drmformatinfominpitch() 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 drmfbdmagetaddr(): "cpp[plane] y"
- Uses clipped source coordinates instead of non-clipped coordinates as in drmfbdmagetaddr();
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 Software
Event History
Frequently Asked Questions
Which systems are realistically exposed to this issue?
Systems using the Linux kernel's Verisilicon DRM driver are the relevant population. The issue concerns framebuffer address handling for the cursor plane; the primary plane is not affected by clipping because it must match the output and the driver does not support scaling.
What condition triggers the incorrect framebuffer address calculation?
The problem arises when the cursor plane uses clipped source coordinates. The driver’s custom helper calculated the framebuffer address from clipped coordinates even though clipping appears to be performed by hardware, so the buffer address should use unclipped coordinates.
How can I determine whether the fix is present?
Check whether the kernel includes either referenced stable commit: e48e131830e370ffc0682bcea6af99e6f5c51a54 or 063019ac51afffda4ab3d658701b086caa0c8e9e. The corrected implementation replaces the driver-specific framebuffer-address helper with drm_fb_dma_get_addr().