CVE-2026-139781

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

Published Nov 30, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Linux kernel’s Verisilicon DRM driver contains custom code for calculating framebuffer addresses. The calculation uses clipped source coordinates, whereas the hardware expects unclipped ones, particularly impacting the cursor plane. This mismatch can cause the driver to compute an incorrect memory address for the cursor buffer, leading the kernel to read or write unintended memory locations. The result is a risk of kernel memory corruption stemming from imprecise framebuffer address calculations.

Affected Systems

All Linux kernel builds that ship the Verisilicon DRM driver and have not incorporated the recent patch replacing the custom address routine with drm_fb_dma_get_addr() are affected. The vulnerability is exposed through DRM device access, and no specific kernel version range is documented – any build containing the unpatched driver code is at risk.

Risk and Exploitability

EPSS data indicates a very low probability of exploitation, with a score of less than 1%; the CVE is not listed in CISA KEV. The CVSS score of 5.5 indicates a moderate level of severity. The flaw involves incorrect address calculation, which could enable out‑of‑bounds memory access and kernel corruption if an attacker can influence the coordinates supplied to the driver. The most likely attack vector is a local or privileged user who can interact with the DRM device and manipulate cursor buffer coordinates. No public exploits are reported, but the potential impact on kernel integrity warrants timely remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that includes the Verisilicon driver patch which replaces the custom address calculation with drm_fb_dma_get_addr().
  • If an update cannot be applied immediately, disable the Verisilicon DRM driver—for example by blacklisting the module or removing it from the kernel configuration—to prevent the vulnerable code from executing.
  • As a temporary workaround, configure the driver to avoid cursor plane usage or adjust hardware settings to use unclipped coordinates, or recompile the driver with the corrected implementation if vendor support allows.

Generated by OpenCVE AI on December 1, 2026 at 16:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-122
CWE-125
Type Values Removed Values Added
Weaknesses CWE-823
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-122
CWE-125
Type Values Removed Values Added
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.
Title drm/verisilicon: Switch to drm_fb_dma_get_addr() for framebuffer addresses
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-823

    Use of Out-of-range Pointer Offset

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:37 PM