CVE-2026-138944: media: venus: Fix iova allocation from restrict region

Published Nov 30, 2026
·
Updated

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/-/workitems/100

Fix this by reserving the 0-600MB range, below the boundary the non-pixel stream cannot address, using dmaiovatryalloc() 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 iovastate description from iris and applied to venus in core.h]

Affected Software

7 affected componentsFixes available
Linux Linux kernel
linux/kernel>=4.13.0<6.18.63
6.18.63
linux/kernel>=6.19.0<7.3.4
7.3.4
debian/linux*
debian/linux*
debian/linux<7.3.4-1
7.3.4-1
debian/linux<=6.1.176-1, <=6.1.192-3, <=6.12.117-1, <=6.12.118-1
7.3.4-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.63
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.4
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.4-1
  4. Compensating control

    Reserve IOVA space from 0x00000000 to 0x25800000 (600 MB) for the non-pixel stream, and use dma_iova_try_alloc() to allocate its IOVAs only from the addressable range 0x25800000–0xe0000000.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:26 PM
Data Sourced
via MITRE·01:26 PM
Description
Data Sourced
via OSV·01:26 PM
DescriptionAffected Software
Data Sourced
via NVD·02:17 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel Venus video codec VPU with multiple SMMU streams sharing a single IOMMU domain are exposed when non-pixel DMA buffers can be allocated in the low 0–600 MB IOVA range. The non-pixel stream cannot address that range, unlike the pixel stream.

2

What are the observable effects if the issue occurs?

A non-pixel buffer allocated below the 600 MB IOVA boundary causes a hardware fault. This can appear as unhandled SMMU page faults and spontaneous system reboots.

3

What does the fix change?

The fix reserves the low 0–600 MB IOVA region so allocations for the shared IOMMU domain do not place non-pixel buffers in an address range that stream cannot access. It uses dma_iova_try_alloc() to enforce this restriction.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203