with
this handle value, current implementation of stack_depot_fetch
will end up using slab from wrong index.
To avoid this check handle value at the beginning.
Signed-off-by: Imran Khan
Suggested-by: Vlastimil Babka
Acked-by: Vlastimil Babka
---
lib/stackdepot.c | 3 +++
1 file changed, 3
://lore.kernel.org/lkml/20210910141001.1622130-1-imran.f.k...@oracle.com/
[3] https://lore.kernel.org/lkml/ef0aa660-0cb6-dc21-f2ce-368b34f8a...@suse.cz/
Imran Khan (3):
lib, stackdepot: check stackdepot handle before accessing slabs.
lib, stackdepot: Add helper to print stack entries.
lib, stackdepot: Add
-by: Imran Khan
Suggested-by: Vlastimil Babka
Acked-by: Vlastimil Babka
---
drivers/gpu/drm/drm_dp_mst_topology.c | 5 +
drivers/gpu/drm/drm_mm.c| 5 +
drivers/gpu/drm/i915/i915_vma.c | 5 +
drivers/gpu/drm/i915/intel_runtime_pm.c | 20
.
Signed-off-by: Imran Khan
Suggested-by: Vlastimil Babka
Acked-by: Vlastimil Babka
Reviewed-by: Alexander Potapenko
---
include/linux/stackdepot.h | 2 ++
lib/stackdepot.c | 18 ++
mm/kasan/report.c | 15 +++
mm/page_owner.c| 13
.
Signed-off-by: Imran Khan
Suggested-by: Vlastimil Babka
Acked-by: Vlastimil Babka
Reviewed-by: Alexander Potapenko
---
include/linux/stackdepot.h | 2 ++
lib/stackdepot.c | 18 ++
mm/kasan/report.c | 15 +++
mm/page_owner.c| 13
-by: Imran Khan
Suggested-by: Vlastimil Babka
Acked-by: Vlastimil Babka
---
drivers/gpu/drm/drm_dp_mst_topology.c | 5 +
drivers/gpu/drm/drm_mm.c| 5 +
drivers/gpu/drm/i915/i915_vma.c | 5 +
drivers/gpu/drm/i915/intel_runtime_pm.c | 20
changes such users to use this new interface.
[1]
https://lore.kernel.org/lkml/20210902000154.1096484-1-imran.f.k...@oracle.com/
[2]
https://lore.kernel.org/lkml/20210910141001.1622130-1-imran.f.k...@oracle.com/
[3] https://lore.kernel.org/lkml/ef0aa660-0cb6-dc21-f2ce-368b34f8a...@suse.cz/
Imran
with
this handle value, current implementation of stack_depot_fetch
will end up using slab from wrong index.
To avoid this check handle value at the beginning.
Signed-off-by: Imran Khan
Suggested-by: Vlastimil Babka
Acked-by: Vlastimil Babka
---
lib/stackdepot.c | 3 +++
1 file changed, 3
/20210902000154.1096484-1-imran.f.k...@oracle.com/
[2]
https://lore.kernel.org/lkml/20210910141001.1622130-1-imran.f.k...@oracle.com/
[3] https://lore.kernel.org/lkml/ef0aa660-0cb6-dc21-f2ce-368b34f8a...@suse.cz/
Imran Khan (3):
lib, stackdepot: check stackdepot handle before accessing slabs
-by: Imran Khan
Suggested-by: Vlastimil Babka
Acked-by: Vlastimil Babka
---
drivers/gpu/drm/drm_dp_mst_topology.c | 5 +
drivers/gpu/drm/drm_mm.c| 5 +
drivers/gpu/drm/i915/i915_vma.c | 5 +
drivers/gpu/drm/i915/intel_runtime_pm.c | 20
with
this handle value, current implementation of stack_depot_fetch
will end up using slab from wrong index.
To avoid this check handle value at the beginning.
Signed-off-by: Imran Khan
Suggested-by: Vlastimil Babka
Acked-by: Vlastimil Babka
---
lib/stackdepot.c | 3 +++
1 file changed, 3
.
Signed-off-by: Imran Khan
Suggested-by: Vlastimil Babka
Acked-by: Vlastimil Babka
Reviewed-by: Alexander Potapenko
---
include/linux/stackdepot.h | 2 ++
lib/stackdepot.c | 18 ++
mm/kasan/report.c | 15 +++
mm/page_owner.c| 13
://lore.kernel.org/lkml/e6f6fb85-1d83-425b-9e36-b5784cc9e...@suse.cz/
[2] https://lore.kernel.org/lkml/fe94ffd8-d235-87d8-9c3d-80f7f73e0...@suse.cz/
[3] https://lore.kernel.org/lkml/85f4f073-0b5a-9052-0ba9-74d450608...@suse.cz/
Imran Khan (1):
lib, stackdepot: Add helper to print stack entries into
-by: Imran Khan
Suggested-by: Vlastimil Babka
Acked-by: Vlastimil Babka
---
drivers/gpu/drm/drm_dp_mst_topology.c | 5 +
drivers/gpu/drm/drm_mm.c| 5 +
drivers/gpu/drm/i915/i915_vma.c | 5 +
drivers/gpu/drm/i915/intel_runtime_pm.c | 20
-by: Imran Khan
Suggested-by: Vlastimil Babka
---
drivers/gpu/drm/drm_dp_mst_topology.c | 5 +
drivers/gpu/drm/drm_mm.c| 5 +
drivers/gpu/drm/i915/i915_vma.c | 5 +
drivers/gpu/drm/i915/intel_runtime_pm.c | 20 +---
include/linux
] https://lore.kernel.org/lkml/fe94ffd8-d235-87d8-9c3d-80f7f73e0...@suse.cz/
[3] https://lore.kernel.org/lkml/85f4f073-0b5a-9052-0ba9-74d450608...@suse.cz/
Imran Khan (1):
lib, stackdepot: Add helper to print stack entries into buffer.
drivers/gpu/drm/drm_dp_mst_topology.c | 5 +
drivers
16 matches
Mail list logo