drm/msm: Fix iommu_map_sgtable() return value check and avoid WARN
Published Jul 19, 2026
8.8
HIGHCVSS 3.1
EPSS 0.18%
Description
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.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 5.15StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<5.15
- Version 5.15.209StatusunaffectedConstraints<=5.15.*
- Version 6.1.175StatusunaffectedConstraints<=6.1.*
- Version 6.12.92StatusunaffectedConstraints<=6.12.*
- Version 6.18.34StatusunaffectedConstraints<=6.18.*
- Version 6.6.142StatusunaffectedConstraints<=6.6.*
- Version 7.0.11StatusunaffectedConstraints<=7.0.*
- Version 7.1StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| ||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 5.15 · < 5.15.209
- ≥ 5.16 · < 6.1.175
- ≥ 6.2 · < 6.6.142
- ≥ 6.7 · < 6.12.92
- ≥ 6.13 · < 6.18.34
- ≥ 6.19 · < 7.0.11
- 7.1
- 7.1
- 7.1
- 7.1
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
No mitigation is required as the vulnerable code is not present in Red Hat Enterprise Linux and Red Hat In-Vehicle OS.
References (13)
- https://access.redhat.com/security/cve/CVE-2026-64153 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2502509 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-45838 Advisory
- https://git.kernel.org/stable/c/3457807aeb88077712f0a7cb65c3ca5120773d75 Patch
- https://git.kernel.org/stable/c/3a45af37733446e114bf19b0209fe7d8089bdb8b Patch
- https://git.kernel.org/stable/c/3c2cdb7c07f664b77e2a75b50793b845d5742efa Patch
- https://git.kernel.org/stable/c/3e3c3c95ef4fe17231a9149e27bcfc9dae2dd89f Patch
- https://git.kernel.org/stable/c/55e0f0d1c1a4ee1e46da7da4d443eb3044fb3851 Patch
- https://git.kernel.org/stable/c/7256e54583aee21e23929e7554278c2f5c1a08b1 Patch
- https://git.kernel.org/stable/c/f4e37f3df436c2bdd2621c21f9c72c8f149a221d Patch
- https://lore.kernel.org/linux-cve-announce/2026071932-CVE-2026-64153-812b@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2026-64153
- https://www.cve.org/CVERecord?id=CVE-2026-64153
Change history (0)
No recorded changes yet.