1. 14 12月, 2022 3 次提交
  2. 02 12月, 2022 2 次提交
  3. 10 11月, 2022 2 次提交
  4. 19 10月, 2022 1 次提交
  5. 18 10月, 2022 1 次提交
  6. 22 9月, 2022 7 次提交
  7. 20 9月, 2022 1 次提交
  8. 06 7月, 2022 1 次提交
  9. 22 6月, 2022 1 次提交
  10. 08 6月, 2022 2 次提交
  11. 04 6月, 2022 1 次提交
  12. 11 5月, 2022 1 次提交
  13. 04 5月, 2022 1 次提交
  14. 15 4月, 2022 1 次提交
    • X
      drm/amdgpu: Fix one use-after-free of VM · 7c703a7d
      xinhui pan 提交于
      VM might already be freed when amdgpu_vm_tlb_seq_cb() is called.
      We see the calltrace below.
      
      Fix it by keeping the last flush fence around and wait for it to signal
      
      BUG kmalloc-4k (Not tainted): Poison overwritten
      
      0xffff9c88630414e8-0xffff9c88630414e8 @offset=5352. First byte 0x6c
      instead of 0x6b Allocated in amdgpu_driver_open_kms+0x9d/0x360 [amdgpu]
      age=44 cpu=0 pid=2343
       __slab_alloc.isra.0+0x4f/0x90
       kmem_cache_alloc_trace+0x6b8/0x7a0
       amdgpu_driver_open_kms+0x9d/0x360 [amdgpu]
       drm_file_alloc+0x222/0x3e0 [drm]
       drm_open+0x11d/0x410 [drm]
      Freed in amdgpu_driver_postclose_kms+0x3e9/0x550 [amdgpu] age=22 cpu=1
      pid=2485
       kfree+0x4a2/0x580
       amdgpu_driver_postclose_kms+0x3e9/0x550 [amdgpu]
       drm_file_free+0x24e/0x3c0 [drm]
       drm_close_helper.isra.0+0x90/0xb0 [drm]
       drm_release+0x97/0x1a0 [drm]
       __fput+0xb6/0x280
       ____fput+0xe/0x10
       task_work_run+0x64/0xb0
      Suggested-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: Nxinhui pan <xinhui.pan@amd.com>
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      7c703a7d
  15. 07 4月, 2022 2 次提交
  16. 06 4月, 2022 1 次提交
  17. 05 4月, 2022 2 次提交
  18. 01 4月, 2022 2 次提交
  19. 29 3月, 2022 2 次提交
  20. 26 3月, 2022 4 次提交
  21. 03 3月, 2022 2 次提交