{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138944",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.905Z",
        "datePublished": "2026-11-30T13:26:26.022Z",
        "dateUpdated": "2026-11-30T13:26:26.022Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:26:26.022Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: venus: Fix iova allocation from restrict region\n\nThe VPU issues DMA through several SMMU streams, and the hardware does\nnot give every stream the same addressable range. The non-pixel stream\ncannot address the low 600MB of IOVA space, while the pixel stream can\naddress the full range:\n    +-----------------------------------------------------------+\n    | non-pixel stream addressable range (600 MB - 3.5 GB)      |\n    | 0x25800000 - 0xe0000000                                   |\n    +-----------------------------------------------------------+\n    | pixel stream addressable range (0 - 3.5 GB)               |\n    | 0x00000000 - 0xe0000000                                   |\n    +-----------------------------------------------------------+\n\nA single \"iommus\" property on the video-codec node puts every stream\nin one IOMMU domain sharing one IOVA space, so nothing stops a\nnon-pixel buffer from landing below 600MB. Once an allocation lands\nbelow that boundary the hardware faults, which shows up as unhandled\nSMMU page faults and spontaneous reboots.\nhttps://gitlab.freedesktop.org/drm/msm/-/work_items/100\n\nFix this by reserving the 0-600MB range, below the boundary the\nnon-pixel stream cannot address, using dma_iova_try_alloc() so the\nIOMMU-DMA core never hands that range out to a real DMA mapping. This\nreserves only IOVA space, it does not allocate any physical memory.\n\nSince sub-nodes for non-pixel, pixel, and secure streams do not exist\nyet and only a single device is available, the restriction is applied\nto both non-pixel and pixel stream IDs.\n\n[bod: took iova_state description from iris and applied to venus in core.h]"
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/media/platform/qcom/venus/core.c",
                        "drivers/media/platform/qcom/venus/core.h"
                    ],
                    "versions": [
                        {
                            "version": "af2c3834c8ca7cc65d15592ac671933df8848115",
                            "lessThan": "5880a91e8119488d4e6f788eb4f1f7cec62ff3a5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "af2c3834c8ca7cc65d15592ac671933df8848115",
                            "lessThan": "c2ffe9ae9db1382ac59274eaffbed2f493698d41",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "af2c3834c8ca7cc65d15592ac671933df8848115",
                            "lessThan": "953439251b596cee039fbfeaffeb1d88a4b40f43",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/media/platform/qcom/venus/core.c",
                        "drivers/media/platform/qcom/venus/core.h"
                    ],
                    "versions": [
                        {
                            "version": "4.13",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.13",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/5880a91e8119488d4e6f788eb4f1f7cec62ff3a5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c2ffe9ae9db1382ac59274eaffbed2f493698d41"
                },
                {
                    "url": "https://git.kernel.org/stable/c/953439251b596cee039fbfeaffeb1d88a4b40f43"
                }
            ],
            "title": "media: venus: Fix iova allocation from restrict region",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}