drm/vmwgfx: Return the correct value in vmw_translate_ptr functions
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.8epss 0.1%
exploitation probability
0.1%top 97% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/149f028772fa2879d9316b924ce948a6a0877e45https://git.kernel.org/stable/c/36cb28b6d303a81e6ed4536017090e85e0143e42https://git.kernel.org/stable/c/5023ca80f9589295cb60735016e39fc5cc714243https://git.kernel.org/stable/c/531f45589787799aa81b63e1e1f8e71db5d93dd1https://git.kernel.org/stable/c/7e55d0788b362c93660b80cc5603031bbbdefa98https://git.kernel.org/stable/c/ce3a5cf139787c186d5d54336107298cacaad2b9