Skip to content
Medium 5.5

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

CVE-2026-139781 First seen on SecPulse

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 7.2.0, < 7.3.6→ 7.3.6

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details