CVE-2026-138944

Source
https://cve.org/CVERecord?id=CVE-2026-138944
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138944.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138944
Downstream
Published
2026-11-30T13:26:26Z
Modified
2026-11-30T15:01:35Z
Summary
media: venus: Fix iova allocation from restrict region
Details

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]

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138944.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
af2c3834c8ca7cc65d15592ac671933df8848115
Fixed
5880a91e8119488d4e6f788eb4f1f7cec62ff3a5
Fixed
c2ffe9ae9db1382ac59274eaffbed2f493698d41
Fixed
953439251b596cee039fbfeaffeb1d88a4b40f43

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138944.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138944.json"