{"id":"CVE-2026-138943","summary":"media: iris: Fix iova allocation from restrict region","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: iris: 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.","modified":"2026-12-01T21:02:33.363736419Z","published":"2026-11-30T13:26:25.472Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138943.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/190082e89a42776d653df54a59937b02b6bce52b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/200473c198b201c308dfb916fb3233074d9407fa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d5836528b3adcd36fb7cd01c47fba49145341a65"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138943.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138943"},{"type":"PACKAGE","url":"https://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":"d7378f84e94e14998b3469dcc0d8ce609d049ccc"},{"fixed":"d5836528b3adcd36fb7cd01c47fba49145341a65"},{"fixed":"190082e89a42776d653df54a59937b02b6bce52b"},{"fixed":"200473c198b201c308dfb916fb3233074d9407fa"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138943.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.15.0"},{"fixed":"6.18.64"}]},{"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-138943.json"}}],"schema_version":"1.9.2"}