Linux
gpu: host1x: Fix use-after-free in host1x_bo_clear_cached_mappings
In the Linux kernel, the following vulnerability has been resolved: gpu: host1x: Fix use-after-free in host1x_bo_clear_cached_mappings __host1x_bo_unpin() drops the last reference to the mapping and frees it, so we can't dereference mapping afterwards. The cache itself outlives the mapping, so use the cache local variable instead.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= af755456299d44e4ed6af3b7c70a7f03ea37fdf1, < 86a9bd8c8f422d5f3079da31e151868902fcc702
- >= 71c017b3f83ff72638f2a1b1d6d4e7bc61d30231, < abeff53233b984571b87582bb588b4b38ef4ea50
- >= 0e9dd7cfb9986b78cc81eca126ccfbf57f4c0602, < 5b7e5f84d3d4cea10c3764d2da274810a7934228
- >= 8c0d3cf0d5108c96317e0eca92b60dd368867cef, < 5f4de3c717d34a24d555af581947742980778c02
- >= df63c76f9c8d881ca7bce1aecfba512328d0527d, < b773faa32b0a98c3eb2b50d96de631681e5d1157
- >= 3cbf5e3c46e66d9b3b6b91099bb720c6cb1be3bc, < 266cddf7bd0f6c79b6c0633aef742a22bf70265b
Fixed in 86a9bd8c8f422d5f3079da31e151868902fcc702, abeff53233b984571b87582bb588b4b38ef4ea50, 5b7e5f84d3d4cea10c3764d2da274810a7934228, 5f4de3c717d34a24d555af581947742980778c02, b773faa32b0a98c3eb2b50d96de631681e5d1157, 266cddf7bd0f6c79b6c0633aef742a22bf70265b
- >= 6.1.178, < 6.1.183
- >= 6.6.145, < 6.6.148
- >= 6.12.97, < 6.12.101
- >= 6.18.40, < 6.18.42
- >= 7.1.5, < 7.1.6
Fixed in 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6
Mitigation
Upgrade Linux to 86a9bd8c8f422d5f3079da31e151868902fcc702 or abeff53233b984571b87582bb588b4b38ef4ea50 or 5b7e5f84d3d4cea10c3764d2da274810a7934228 or 5f4de3c717d34a24d555af581947742980778c02 or b773faa32b0a98c3eb2b50d96de631681e5d1157 or 266cddf7bd0f6c79b6c0633aef742a22bf70265b or later.
Upgrade Linux to 6.1.183 or 6.6.148 or 6.12.101 or 6.18.42 or 7.1.6 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.