diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2023-04-04 21:40:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-09-04 13:13:09 +0200 |
commit | 0975670c14287183571d01858e8020114a14d76a (patch) | |
tree | e97a95c32ccc60cf60682751727e81ad94a6d8db /drivers/video/omap2/displays/panel-taal.c | |
parent | 72793f5cc9e41f9ee33353d4594036817529b766 (diff) | |
download | linux-stable-0975670c14287183571d01858e8020114a14d76a.tar.gz linux-stable-0975670c14287183571d01858e8020114a14d76a.tar.bz2 linux-stable-0975670c14287183571d01858e8020114a14d76a.zip |
drm/fb-helper: set x/yres_virtual in drm_fb_helper_check_var
commit 1935f0deb6116dd785ea64d8035eab0ff441255b upstream.
Drivers are supposed to fix this up if needed if they don't outright
reject it. Uncovered by 6c11df58fd1a ("fbmem: Check virtual screen
sizes in fb_set_var()").
Reported-by: syzbot+20dcf81733d43ddff661@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?id=c5faf983bfa4a607de530cd3bb008888bf06cefc
Cc: stable@vger.kernel.org # v5.4+
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Javier Martinez Canillas <javierm@redhat.com>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230404194038.472803-1-daniel.vetter@ffwll.ch
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/omap2/displays/panel-taal.c')
0 files changed, 0 insertions, 0 deletions