Linux
drm/vmwgfx: Return the correct value in vmw_translate_ptr functions
In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Return the correct value in vmw_translate_ptr functions Before the referenced fixes these functions used a lookup function that returned a pointer. This was changed to another lookup function that returned an error code with the pointer becoming an out parameter. The error path when the lookup failed was not changed to reflect this change and the code continued to return the PTR_ERR of the now uninitialized pointer. This could cause the vmw_translate_ptr functions to return success when they actually failed causing further uninitialized and OOB accesses.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 7ac9578e45b20e3f3c0c8eb71f5417a499a7226a, < ce3a5cf139787c186d5d54336107298cacaad2b9
- >= a309c7194e8a2f8bd4539b9449917913f6c2cd50, < 7e55d0788b362c93660b80cc5603031bbbdefa98
- >= a309c7194e8a2f8bd4539b9449917913f6c2cd50, < 36cb28b6d303a81e6ed4536017090e85e0143e42
- >= a309c7194e8a2f8bd4539b9449917913f6c2cd50, < 531f45589787799aa81b63e1e1f8e71db5d93dd1
- >= a309c7194e8a2f8bd4539b9449917913f6c2cd50, < 149f028772fa2879d9316b924ce948a6a0877e45
- >= a309c7194e8a2f8bd4539b9449917913f6c2cd50, < 5023ca80f9589295cb60735016e39fc5cc714243
- >= 6.1.7, < 6.1.167
Fixed in ce3a5cf139787c186d5d54336107298cacaad2b9, 7e55d0788b362c93660b80cc5603031bbbdefa98, 36cb28b6d303a81e6ed4536017090e85e0143e42, 531f45589787799aa81b63e1e1f8e71db5d93dd1, 149f028772fa2879d9316b924ce948a6a0877e45, 5023ca80f9589295cb60735016e39fc5cc714243, 6.1.167
- 6.2
Fixed in 0, 6.1.167, 6.6.130, 6.12.77, 6.18.17, 6.19.7, 7.0
Mitigation
Upgrade Linux to ce3a5cf139787c186d5d54336107298cacaad2b9 or 7e55d0788b362c93660b80cc5603031bbbdefa98 or 36cb28b6d303a81e6ed4536017090e85e0143e42 or 531f45589787799aa81b63e1e1f8e71db5d93dd1 or 149f028772fa2879d9316b924ce948a6a0877e45 or 5023ca80f9589295cb60735016e39fc5cc714243 or 6.1.167 or later.
Upgrade Linux to 0 or 6.1.167 or 6.6.130 or 6.12.77 or 6.18.17 or 6.19.7 or 7.0 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.