CVE-2024-46710
Severity:
Pending analysis
Type:
Unavailable / Other
Publication date:
13/09/2024
Last modified:
13/09/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/vmwgfx: Prevent unmapping active read buffers<br />
<br />
The kms paths keep a persistent map active to read and compare the cursor<br />
buffer. These maps can race with each other in simple scenario where:<br />
a) buffer "a" mapped for update<br />
b) buffer "a" mapped for compare<br />
c) do the compare<br />
d) unmap "a" for compare<br />
e) update the cursor<br />
f) unmap "a" for update<br />
At step "e" the buffer has been unmapped and the read contents is bogus.<br />
<br />
Prevent unmapping of active read buffers by simply keeping a count of<br />
how many paths have currently active maps and unmap only when the count<br />
reaches 0.