Skip to content

Fixes in drm/i915/cmdparser.

Michal Srb dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915/cmdparser: Check reg_table_count before derefencing.drivers/gpu/drm/i915/i915_cmd_parser.c+2 -20 replies
2/2drm/i915/cmdparser: Do not check past the cmd length.drivers/gpu/drm/i915/i915_cmd_parser.c+3 -04 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchChris Wilson
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fixes in drm/i915/cmdparser.

Hi,

I have tried to extract the intel_engine_cmd_parser into a user-space binary and run libFuzzer on it. It found two ways to cause undefined behavior.

I am not completely sure if the same issues can be triggered in the driver, or if something would prevent them from happening. Still I thought it is worth sharing it here.

Michal Srb (2):
drm/i915/cmdparser: Check reg_table_count before derefencing. drm/i915/cmdparser: Do not check bits past the cmd length.

 drivers/gpu/drm/i915/i915_cmd_parser.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Signature · 6 lines
2.13.6

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel