[Intel-gfx] [PATCH 0/4] The Following Patches are to Fix the Critical KclockWork Errors in i915_gem and gt

Bommu Krishnaiah krishnaiah.bommu at intel.com
Mon Jun 28 14:38:25 UTC 2021


Klock work Fix for NULL dereferencing in i915_gem_ttm.c
original issue statement "Pointer 'sg' returned from call to function '__i915_gem_object_get_sg' at line 592 may be NULL and will be dereferenced at line 594."

Klock work Fix for NULL dereferencing in i915_gem_mman.c
original issue statement "Null pointer 'mmo' that comes from line 892 may be dereferenced at line 964."

Klock work Fix for possible memory leak in intel_execlists_submission.c
original issue statement “Possible memory leak. Dynamic memory stored in 've' allocated through function 'kzalloc' at line 3721 can be lost at line 3850”

Klock work Fix for uninitialized array intel_migrate.c
original issue statement "'engines' array elements might be used uninitialized in this function."

Bommu Krishnaiah (4):
  Klock work Fix for NULL dereferencing in i915_gem_ttm.c
  Klock work Fix for NULL dereferencing in i915_gem_mman.c
  Klock work Fix for possible memory leak in
    intel_execlists_submission.c
  Klock work Fix for uninitialized array intel_migrate.c

 drivers/gpu/drm/i915/gem/i915_gem_mman.c             | 2 ++
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c              | 1 +
 drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 1 +
 drivers/gpu/drm/i915/gt/intel_migrate.c              | 4 ++++
 4 files changed, 8 insertions(+)

-- 
2.25.1



More information about the Intel-gfx mailing list