Skip to content

videobuf2: Fix kernel memory overwriting

Sakari Ailus linux-media lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vb2: core: Skip planes array verification if pb is NULLdrivers/media/v4l2-core/videobuf2-core.c+6 -42 replies
2/2videobuf2-v4l2: Verify planes array in buffer dequeueingdrivers/media/v4l2-core/videobuf2-v4l2.c+6 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchHans Verkuil
1/2R-b
2/2A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] videobuf2: Fix kernel memory overwriting

Hi folks,

There was a bug in the first version of the set --- the pb argument to __vb2_get_done_vb() is NULL in cases which did not get tested the last time.

The second patch in the set was reverted for that reason.

This set contains a patch originally from David and again the second reverted patch to fix the memory corruption issue. The previous set can be found here:

<URL:http://www.spinics.net/lists/linux-media/msg99336.html>

The patches have been tested with V4L2 streaming and file I/O API but not with DVB.

Signature · 2 lines
Kind regards,
Sakari