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

drm/msm: Fix iommu_map_sgtable() return value check and avoid WARN

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.

Store the return value in the appropriate type and in case of error,
return it rather than WARNing.

Patchwork: https://patchwork.freedesktop.org/patch/719685/
Published: 2026-07-19
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s iommu_map_sgtable() originally returned an unsigned size_t and produced a WARN when mapping failed. The patch changes the function to return a signed ssize_t, allowing negative values to indicate errors and to store the return value in the correct type. In an unpatched kernel, a zero return is misinterpreted as success, causing error conditions to be ignored and potentially leading to degraded system stability.

Affected Systems

All builds of the Linux kernel that do not include the commit correcting iommu_map_sgtable(), such as mainstream distribution kernels and custom or embedded builds that lack the change, are affected. No particular version numbers are provided in the data.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity. The EPSS score of less than 1% indicates that the likelihood of exploitation is very low at this time. The vulnerability is not listed in the CISA KEV catalog. The most likely attack vector would require an attacker to trigger a faulty IOMMU mapping operation through a device driver or hardware component that calls iommu_map_sgtable. This generally requires privileged kernel mode or a compromised driver; successful exploitation would cause a kernel failure or degraded operation.

Generated by OpenCVE AI on August 4, 2026 at 18:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that contains commit 3457807aeb88077712f0a7cb65c3ca5120773d75 or apply the patch that changes iommu_map_sgtable to return a signed error code.
  • If a kernel update cannot be performed immediately, reduce risk by disabling or restricting device drivers that invoke iommu_map_sgtable, limiting IOMMU mapping to trusted code.
  • Configure the kernel to log WARN messages and enable panic_on_warn or equivalent crash‑logging mechanisms so that unexpected failures are detected and the system can recover promptly.

Generated by OpenCVE AI on August 4, 2026 at 18:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8575-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8576-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8575-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8576-2 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8575-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8610-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-2 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-3 Linux kernel (Intel IoTG) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-4 Linux kernel (Intel IoTG) vulnerabilities
History

Tue, 21 Jul 2026 00:15:00 +0000


Mon, 20 Jul 2026 14:45: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'}


Sun, 19 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/msm: Fix iommu_map_sgtable() return value check and avoid WARN 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. Store the return value in the appropriate type and in case of error, return it rather than WARNing. Patchwork: https://patchwork.freedesktop.org/patch/719685/
Title drm/msm: Fix iommu_map_sgtable() return value check and avoid WARN
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-05T12:39:48.053Z

Reserved: 2026-07-19T07:54:57.038Z

Link: CVE-2026-64153

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64153 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T18:15:03Z

Weaknesses
  • CWE-253

    Incorrect Check of Function Return Value