CVE-2026-138944

media: venus: Fix iova allocation from restrict region

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

media: venus: Fix iova allocation from restrict region

The VPU issues DMA through several SMMU streams, and the hardware does
not give every stream the same addressable range. The non-pixel stream
cannot address the low 600MB of IOVA space, while the pixel stream can
address the full range:
+-----------------------------------------------------------+
| non-pixel stream addressable range (600 MB - 3.5 GB) |
| 0x25800000 - 0xe0000000 |
+-----------------------------------------------------------+
| pixel stream addressable range (0 - 3.5 GB) |
| 0x00000000 - 0xe0000000 |
+-----------------------------------------------------------+

A single "iommus" property on the video-codec node puts every stream
in one IOMMU domain sharing one IOVA space, so nothing stops a
non-pixel buffer from landing below 600MB. Once an allocation lands
below that boundary the hardware faults, which shows up as unhandled
SMMU page faults and spontaneous reboots.
https://gitlab.freedesktop.org/drm/msm/-/work_items/100

Fix this by reserving the 0-600MB range, below the boundary the
non-pixel stream cannot address, using dma_iova_try_alloc() so the
IOMMU-DMA core never hands that range out to a real DMA mapping. This
reserves only IOVA space, it does not allocate any physical memory.

Since sub-nodes for non-pixel, pixel, and secure streams do not exist
yet and only a single device is available, the restriction is applied
to both non-pixel and pixel stream IDs.

[bod: took iova_state description from iris and applied to venus in core.h]

Analysis

AI-generated

Technical impact

The Linux kernel Venus media driver allocates IOVA address space without respecting the addressability limits of the non‑pixel stream. When a DMA buffer lands in the 0–600 MB range, which the stream cannot address, the hardware triggers an SMMU fault that manifests as an unhandled page fault and a spontaneous reboot. This flaw allows a local attacker who can provoke the driver to allocate a buffer in the forbidden range to cause a denial of service, though it does not provide privilege escalation. The likely attack vector is a kernel‑level exploitation that requires interaction with the Venus VPU device—the flaw is triggered by improper allocation rather than a user‑space input.

Affected Systems

The issue affects Linux kernels that include the Venus VPU media driver. No specific kernel versions are listed, so any system running the Venus driver at the time of the fix may be vulnerable until it receives an updated kernel image.

Risk and Exploitability

The CVSS score is not provided, and EPSS data is not available, so the exact severity cannot be calculated. The vulnerability is not currently listed in the CISA KEV catalog, indicating no widespread exploitation has been reported yet. However, because the flaw can lead to unavoidable system reboots, it represents a high impact risk for affected deployments. Exploitation requires local kernel access to load the Venus driver or trigger the allocation; remote exploitation is unlikely unless a higher‑level vulnerability provides such access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to a Linux kernel release that includes the Venus IOVA allocation fix (apply the relevant commit or backport from the vendor’s repository).
  • If a kernel update is not immediately possible, disable or unload the Venus VPU media driver until the patch is applied.
  • Monitor kernel logs for SMMU page faults or unexpected reboots; investigate any such events for signs of buffer allocation in the 0–600 MB range.

Generated by OpenCVE AI on November 30, 2026 at 18:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-119
CWE-665
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: media: venus: Fix iova allocation from restrict region The VPU issues DMA through several SMMU streams, and the hardware does not give every stream the same addressable range. The non-pixel stream cannot address the low 600MB of IOVA space, while the pixel stream can address the full range: +-----------------------------------------------------------+ | non-pixel stream addressable range (600 MB - 3.5 GB) | | 0x25800000 - 0xe0000000 | +-----------------------------------------------------------+ | pixel stream addressable range (0 - 3.5 GB) | | 0x00000000 - 0xe0000000 | +-----------------------------------------------------------+ A single "iommus" property on the video-codec node puts every stream in one IOMMU domain sharing one IOVA space, so nothing stops a non-pixel buffer from landing below 600MB. Once an allocation lands below that boundary the hardware faults, which shows up as unhandled SMMU page faults and spontaneous reboots. https://gitlab.freedesktop.org/drm/msm/-/work_items/100 Fix this by reserving the 0-600MB range, below the boundary the non-pixel stream cannot address, using dma_iova_try_alloc() so the IOMMU-DMA core never hands that range out to a real DMA mapping. This reserves only IOVA space, it does not allocate any physical memory. Since sub-nodes for non-pixel, pixel, and secure streams do not exist yet and only a single device is available, the restriction is applied to both non-pixel and pixel stream IDs. [bod: took iova_state description from iris and applied to venus in core.h]
Title media: venus: Fix iova allocation from restrict region
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-665

    Improper Initialization

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:26 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM