diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-11-28 13:10:33 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-11-29 12:30:39 +0300 |
commit | 7cdf33ab02e01300e7e6289acbac9cd8759f8712 (patch) | |
tree | 2a71c1a6a286b660bf128e02a85b2d3514be66ae /drivers/gpu/drm/drm_auth.c | |
parent | 45fdfdb6475905704134afba3c0ef5f24c2b5921 (diff) | |
download | linux-7cdf33ab02e01300e7e6289acbac9cd8759f8712.tar.xz |
drm/vkms: Fix plane duplicate_state
We need to handle allocation failures and bail out. While at it, tune
the allocation failures down to debug level.
syzbot injected an allocation failure and then hit this WARN_ON.
Reported-by: syzbot+eb6e5365f23c02517dda@syzkaller.appspotmail.com
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Haneen Mohammed <hamohammed.sa@gmail.com>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20181128101033.4840-1-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/drm_auth.c')
0 files changed, 0 insertions, 0 deletions