1. 20 9月, 2016 1 次提交
  2. 13 9月, 2016 1 次提交
  3. 11 8月, 2016 3 次提交
  4. 04 6月, 2016 1 次提交
  5. 30 4月, 2016 11 次提交
  6. 21 2月, 2016 1 次提交
  7. 08 2月, 2016 13 次提交
  8. 22 12月, 2015 2 次提交
  9. 16 11月, 2015 2 次提交
  10. 26 3月, 2015 1 次提交
    • A
      staging: android: sync: Fix memory corruption in sync_timeline_signal(). · 8e43c9c7
      Alistair Strachan 提交于
      The android_fence_release() function checks for active sync points
      by calling list_empty() on the list head embedded on the sync
      point. However, it is only valid to use list_empty() on nodes that
      have been initialized with INIT_LIST_HEAD() or list_del_init().
      
      Because the list entry has likely been removed from the active list
      by sync_timeline_signal(), there is a good chance that this
      WARN_ON_ONCE() will be hit due to dangling pointers pointing at
      freed memory (even though the sync drivers did nothing wrong)
      and memory corruption will ensue as the list entry is removed for
      a second time, corrupting the active list.
      
      This problem can be reproduced quite easily with CONFIG_DEBUG_LIST=y
      and fences with more than one sync point.
      Signed-off-by: NAlistair Strachan <alistair.strachan@imgtec.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@canonical.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Colin Cross <ccross@google.com>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      8e43c9c7
  11. 09 9月, 2014 1 次提交
  12. 03 9月, 2014 1 次提交
  13. 31 8月, 2014 1 次提交
  14. 16 7月, 2014 1 次提交