[patch] drm: crtc: integer overflow in drm_property_create_blob()

Daniel Stone daniel at fooishbar.org
Thu Oct 29 07:40:03 PDT 2015


Hi Dan,

On 29 October 2015 at 13:37, Dan Carpenter <dan.carpenter at oracle.com> wrote:
> The size here comes from the user via the ioctl, it is a number between
> 1-u32max so the addition here could overflow on 32 bit systems.
>
> Fixes: f453ba046074 ('DRM: add mode setting support')
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Thanks for catching this. I did have a pass through looking for such
issues but couldn't see any. :\

Reviewed-by: Daniel Stone <daniels at collabora.com>
Cc: stable at kernel.org # v4.2

Cheers,
Daniel


More information about the dri-devel mailing list