Description
In the Linux kernel, the following vulnerability has been resolved:

gpu: host1x: Fix iommu_map_sgtable() return value check

Commit "iommu: return full error code from iommu_map_sg[_atomic]()"
changed iommu_map_sgtable() to return an ssize_t and negative values
in error cases, rather than a size_t and a zero.

pin_job() also was incorrectly assigning to 'int', which could cause
overflows into negative values.

Update pin_job() to correctly check for errors from iommu_map_sgtable.
Published: 2026-08-15
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The host1x GPU driver in the Linux kernel incorrectly handled the return value from iommu_map_sgtable(), treating a negative error code as a successful size value. It also caused pin_job() to store the erroneous value in an int field, leading to integer overflow. Based on the description, it is inferred that an attacker who can supply a malicious I/O request that triggers this misinterpretation could induce kernel memory corruption, which might lead to privilege escalation or a system crash. The weakness arises from improper signed/unsigned integer handling, which can result in loss of control over kernel objects.

Affected Systems

All Linux kernel builds that load the host1x GPU driver. The vulnerability affects embedded systems and SoC platforms that expose GPU acceleration with IOMMU support and use the standard Linux kernel. Any installation running a kernel that includes the driver prior to the patch is potentially vulnerable. The exact kernel release versions are not listed, but the vulnerability is present in kernels before the implementation of the committed fix.

Risk and Exploitability

The EPSS score is <1%, and the kernel‑level flaw, together with the potential for privilege escalation or system crash, indicates a high severity. The vulnerability is not listed in the CISA KEV catalog, so no publicly known exploits are referenced. An exploit would most likely target an untrusted user‑space process that interacts with the GPU through the host1x driver or via a device that relies on iommu_map_sgtable(). By inducing a negative error return to be interpreted as a large size, an attacker could corrupt kernel memory or cause a driver crash, which could lead to privilege escalation, though the exact effectiveness depends on specific conditions. The CVSS score of 8.8 highlights the seriousness of this vulnerability.

Generated by OpenCVE AI on August 22, 2026 at 01:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest stable Linux kernel release that incorporates the patch commits for iommu_map_sgtable() and pin_job() to correct return‑value handling.
  • If a kernel upgrade cannot be performed immediately, prevent the vulnerable driver from loading by blacklisting the host1x module (e.g., add "blacklist video_host1x" to /etc/modprobe.d/blacklist.conf) or unloading it with "modprobe -r video_host1x".
  • For environments that must retain GPU functionality, manually apply the patch to the host1x driver source and rebuild the module, ensuring that iommu_map_sgtable() now returns a signed ssize_t and pin_job() checks for negative values before use.

Generated by OpenCVE AI on August 22, 2026 at 01:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-253

Wed, 19 Aug 2026 12:15:00 +0000


Mon, 17 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-253

Mon, 17 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
CWE-195

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Sat, 15 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
CWE-195

Sat, 15 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: gpu: host1x: Fix iommu_map_sgtable() return value check Commit "iommu: return full error code from iommu_map_sg[_atomic]()" changed iommu_map_sgtable() to return an ssize_t and negative values in error cases, rather than a size_t and a zero. pin_job() also was incorrectly assigning to 'int', which could cause overflows into negative values. Update pin_job() to correctly check for errors from iommu_map_sgtable.
Title gpu: host1x: Fix iommu_map_sgtable() return value check
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:46:31.945Z

Reserved: 2026-08-15T05:44:03.890Z

Link: CVE-2026-74380

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:39.820

Modified: 2026-08-17T06:19:32.857

Link: CVE-2026-74380

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74380 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T01:30:17Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound