{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-74380",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-08-15T05:44:03.890Z",
        "datePublished": "2026-08-15T05:58:57.706Z",
        "dateUpdated": "2026-08-17T05:46:31.945Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-17T05:46:31.945Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ngpu: host1x: Fix iommu_map_sgtable() return value check\n\nCommit \"iommu: return full error code from iommu_map_sg[_atomic]()\"\nchanged iommu_map_sgtable() to return an ssize_t and negative values\nin error cases, rather than a size_t and a zero.\n\npin_job() also was incorrectly assigning to 'int', which could cause\noverflows into negative values.\n\nUpdate pin_job() to correctly check for errors from iommu_map_sgtable."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
                        "baseScore": 8.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The bug is in host1x pin_job() reached from tegra DRM TEGRA_CHANNEL_SUBMIT ioctls on /dev/dri/renderD*, requiring local access to the GPU render node on Tegra/Jetson, automotive, and embedded platforms.\nAC:L - An attacker with render-node access can reliably submit host1x jobs and force iommu_map_sgtable() failures (e.g., via memory/IOVA pressure or alignment edge cases); no victim-controlled race or rare configuration is required.\nPR:L - Exploitation needs only unprivileged access to the DRM render node, which is commonly granted to local users and containerized GPU workloads on Tegra124+ systems with host1x IOMMU enabled; no real-root capability is required.\nUI:N - Triggering the flaw is fully programmatic through DRM ioctls and host1x job submission; no additional victim interaction such as plugging devices or mounting filesystems is needed.\nS:C - When iommu_map_sgtable() fails, the driver still programs host1x/GPU gather DMA with an IOVA lacking a valid IOMMU mapping, breaking the IOMMU/DMA isolation boundary between device DMA and system physical memory.\nC:H - Proceeding without a valid IOMMU translation lets host1x fetch gather/command streams via an unmapped IOVA, enabling GPU DMA reads outside the intended buffer and potential disclosure of unintended physical memory depending on SMMU fault behavior.\nI:H - Corrupted or attacker-influenced gather fetches can drive subsequent host1x client engines to perform unintended DMA writes; failed IOMMU setup removes the mapping that was meant to confine GPU memory access.\nA:H - Submitting jobs with unmapped IOVAs causes IOMMU faults, GPU/host1x hangs or timeouts, and potential kernel oops/panic on affected Tegra systems, yielding a repeatable local denial of service."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/host1x/job.c"
                    ],
                    "versions": [
                        {
                            "version": "ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b",
                            "lessThan": "5f3985c2a500df3126cb12a2e0ccf26a40bc495d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b",
                            "lessThan": "3ac173e46ef6fda9c9df8d47cdff4df962df9728",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b",
                            "lessThan": "2a68928c445138961e2c451983b473aeb3f5b999",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b",
                            "lessThan": "79240eee5a40014d9edfabe19f06b35ffa84e5f8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b",
                            "lessThan": "e024c7993d839503d6c1f0044b8fc537c30300e9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b",
                            "lessThan": "18f74762013a4b6aa6f905c4459e0f506f9c5c7b",
                            "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/gpu/host1x/job.c"
                    ],
                    "versions": [
                        {
                            "version": "5.15",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.15",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.178",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.145",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.97",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.40",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.5",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "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": "5.15",
                                    "versionEndExcluding": "6.1.178"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15",
                                    "versionEndExcluding": "6.6.145"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15",
                                    "versionEndExcluding": "6.12.97"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15",
                                    "versionEndExcluding": "6.18.40"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15",
                                    "versionEndExcluding": "7.1.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15",
                                    "versionEndExcluding": "7.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/5f3985c2a500df3126cb12a2e0ccf26a40bc495d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3ac173e46ef6fda9c9df8d47cdff4df962df9728"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2a68928c445138961e2c451983b473aeb3f5b999"
                },
                {
                    "url": "https://git.kernel.org/stable/c/79240eee5a40014d9edfabe19f06b35ffa84e5f8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e024c7993d839503d6c1f0044b8fc537c30300e9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/18f74762013a4b6aa6f905c4459e0f506f9c5c7b"
                }
            ],
            "title": "gpu: host1x: Fix iommu_map_sgtable() return value check",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}