diff options
author | 2018-12-12 11:52:08 +0100 | |
---|---|---|
committer | 2018-12-13 13:04:25 +0100 | |
commit | fd567467753fac9f9f477550065018e7f4e3c8f3 (patch) | |
tree | 110744e9652bfbc00018fa572add924df2ca7ee0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | drm/vmwgfx: remove redundant return ret statement (diff) | |
download | wireguard-linux-fd567467753fac9f9f477550065018e7f4e3c8f3.tar.xz wireguard-linux-fd567467753fac9f9f477550065018e7f4e3c8f3.zip |
drm/vmwgfx: Protect from excessive execbuf kernel memory allocations v3
With the new validation code, a malicious user-space app could
potentially submit command streams with enough buffer-object and resource
references in them to have the resulting allocated validion nodes and
relocations make the kernel run out of GFP_KERNEL memory.
Protect from this by having the validation code reserve TTM graphics
memory when allocating.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
---
v2: Removed leftover debug printouts
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions