{"id":"CVE-2026-74380","state":"PUBLISHED","title":"gpu: host1x: Fix iommu_map_sgtable() return value check","description":"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.","publishedAt":"2026-08-15T05:58:57.706Z","updatedAt":"2026-10-16T18:55:36.594Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b","status":"affected","lessThan":"5f3985c2a500df3126cb12a2e0ccf26a40bc495d","versionType":"git"},{"version":"ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b","status":"affected","lessThan":"3ac173e46ef6fda9c9df8d47cdff4df962df9728","versionType":"git"},{"version":"ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b","status":"affected","lessThan":"2a68928c445138961e2c451983b473aeb3f5b999","versionType":"git"},{"version":"ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b","status":"affected","lessThan":"79240eee5a40014d9edfabe19f06b35ffa84e5f8","versionType":"git"},{"version":"ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b","status":"affected","lessThan":"e024c7993d839503d6c1f0044b8fc537c30300e9","versionType":"git"},{"version":"ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b","status":"affected","lessThan":"18f74762013a4b6aa6f905c4459e0f506f9c5c7b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/host1x/job.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/host1x/job.c"]}],"references":["https://git.kernel.org/stable/c/5f3985c2a500df3126cb12a2e0ccf26a40bc495d","https://git.kernel.org/stable/c/3ac173e46ef6fda9c9df8d47cdff4df962df9728","https://git.kernel.org/stable/c/2a68928c445138961e2c451983b473aeb3f5b999","https://git.kernel.org/stable/c/79240eee5a40014d9edfabe19f06b35ffa84e5f8","https://git.kernel.org/stable/c/e024c7993d839503d6c1f0044b8fc537c30300e9","https://git.kernel.org/stable/c/18f74762013a4b6aa6f905c4459e0f506f9c5c7b"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/74xxx/CVE-2026-74380.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74380","state":"PUBLISHED","datePublished":"2026-08-15T05:58:57.706Z","dateUpdated":"2026-10-16T18:55:36.594Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-15T05:44:03.890Z"},"containers":{"cna":{"title":"gpu: host1x: Fix iommu_map_sgtable() return value check","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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b","status":"affected","lessThan":"5f3985c2a500df3126cb12a2e0ccf26a40bc495d","versionType":"git"},{"version":"ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b","status":"affected","lessThan":"3ac173e46ef6fda9c9df8d47cdff4df962df9728","versionType":"git"},{"version":"ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b","status":"affected","lessThan":"2a68928c445138961e2c451983b473aeb3f5b999","versionType":"git"},{"version":"ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b","status":"affected","lessThan":"79240eee5a40014d9edfabe19f06b35ffa84e5f8","versionType":"git"},{"version":"ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b","status":"affected","lessThan":"e024c7993d839503d6c1f0044b8fc537c30300e9","versionType":"git"},{"version":"ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b","status":"affected","lessThan":"18f74762013a4b6aa6f905c4459e0f506f9c5c7b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/host1x/job.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/host1x/job.c"]}],"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"}],"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."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:46:31.945Z"},"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"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-74380","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T18:54:56.549536Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T18:55:36.594Z"}}]}}}