Linux
drm/msm: Fix iommu_map_sgtable() return value check and avoid WARN
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/
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b, < 3c2cdb7c07f664b77e2a75b50793b845d5742efa
- >= ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b, < 3e3c3c95ef4fe17231a9149e27bcfc9dae2dd89f
- >= ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b, < 7256e54583aee21e23929e7554278c2f5c1a08b1
- >= ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b, < 3457807aeb88077712f0a7cb65c3ca5120773d75
- >= ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b, < f4e37f3df436c2bdd2621c21f9c72c8f149a221d
- >= ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b, < 3a45af37733446e114bf19b0209fe7d8089bdb8b
- >= ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b, < 55e0f0d1c1a4ee1e46da7da4d443eb3044fb3851
Fixed in 3c2cdb7c07f664b77e2a75b50793b845d5742efa, 3e3c3c95ef4fe17231a9149e27bcfc9dae2dd89f, 7256e54583aee21e23929e7554278c2f5c1a08b1, 3457807aeb88077712f0a7cb65c3ca5120773d75, f4e37f3df436c2bdd2621c21f9c72c8f149a221d, 3a45af37733446e114bf19b0209fe7d8089bdb8b, 55e0f0d1c1a4ee1e46da7da4d443eb3044fb3851
- 5.15
Fixed in 0, 5.15.209, 6.1.175, 6.6.142, 6.12.92, 6.18.34, 7.0.11, 7.1
Mitigation
Upgrade Linux to 3c2cdb7c07f664b77e2a75b50793b845d5742efa or 3e3c3c95ef4fe17231a9149e27bcfc9dae2dd89f or 7256e54583aee21e23929e7554278c2f5c1a08b1 or 3457807aeb88077712f0a7cb65c3ca5120773d75 or f4e37f3df436c2bdd2621c21f9c72c8f149a221d or 3a45af37733446e114bf19b0209fe7d8089bdb8b or 55e0f0d1c1a4ee1e46da7da4d443eb3044fb3851 or later.
Upgrade Linux to 0 or 5.15.209 or 6.1.175 or 6.6.142 or 6.12.92 or 6.18.34 or 7.0.11 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.