1. 25 2月, 2010 2 次提交
  2. 23 2月, 2010 6 次提交
  3. 16 2月, 2010 2 次提交
  4. 11 2月, 2010 2 次提交
  5. 10 2月, 2010 6 次提交
  6. 09 2月, 2010 10 次提交
  7. 25 1月, 2010 4 次提交
  8. 18 1月, 2010 6 次提交
  9. 15 1月, 2010 2 次提交
    • L
      drm/nouveau: check pushbuffer bounds in ioctl · 12f735b7
      Luca Barbieri 提交于
      Currently there is no check that the pushbuffer request bounds are inside
      the TTM BO.
      
      This allows to instruct the kernel to do relocations on user-selected
      addresses, since the relocation bounds checking relies on the request
      bounds.
      
      This can oops the kernel accidentally and is easily exploitable.
      
      This patch adds bound checking and alignment checking for ->offset and
      ->nr_dwords.
      
      It also makes some variables unsigned, which should have no effect,
      but prevents possible bounds checking problems.
      Signed-off-by: NLuca Barbieri <luca@luca-barbieri.com>
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      12f735b7
    • B
      drm/nouveau: reserve VGA area for the moment · ac8fb975
      Ben Skeggs 提交于
      This is to prevent things such as GART tables and other important GPU
      structures being allocated there before we take over fbcon ourselves.
      
      This is more of a workaround for the moment, a better solution will
      require some more invasive changes, but it'll be done at some point.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      ac8fb975