gpu: host1x: Fix iommu_map_sgtable() return value check
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b · fixed in 5f3985c2a500df3126cb12a2e0ccf26a40bc495d; From ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b · fixed in 3ac173e46ef6fda9c9df8d47cdff4df962df9728; From ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b · fixed in 2a68928c445138961e2c451983b473aeb3f5b999; From ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b · fixed in 79240eee5a40014d9edfabe19f06b35ffa84e5f8; From ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b · fixed in e024c7993d839503d6c1f0044b8fc537c30300e9; From ad8f36e4b6b1c826a0daa5fda2c5839205b5aa8b · fixed in 18f74762013a4b6aa6f905c4459e0f506f9c5c7b
- Linux Linux
5.15
- KernelLinux
From 5.15.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.97; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5