From: Marek Olšák Date: Fri, 10 Jun 2011 14:41:26 +0000 (+0000) Subject: drm/radeon/kms: do bounds checking for 3D_LOAD_VBPNTR and bump array limit X-Git-Tag: v3.0-rc4~96^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a27bb4b209dd6c327fa4e7185f2487f9508a58db;p=pandora-kernel.git drm/radeon/kms: do bounds checking for 3D_LOAD_VBPNTR and bump array limit To my knowledge, the limit is 16 on r300. (the docs don't say what the limit is) The lack of bounds checking can be abused to do all sorts of things (from bypassing parts of the CS checker to crashing the kernel). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36745 Cc: stable@kernel.org Signed-off-by: Marek Olšák Signed-off-by: Dave Airlie --- Reading git-diff-tree failed