Not scored
drm/verisilicon: Switch to drm_fb_dma_get_addr() for framebuffer addresses
- Severity
- Not scored
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 8c4ae218912554ef427440293cdb97319d17ca5d before e48e131830e370ffc0682bcea6af99e6f5c51a54, from 8c4ae218912554ef427440293cdb97319d17ca5d before 063019ac51afffda4ab3d658701b086caa0c8e9e, 7.2 Not affected: before 7.2, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139781 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139781 changed 2026-11-30 | Public domain |