linux/drivers/video/fbdev/core
Du Cheng 61f0c3e809 drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
commit 01faae5193 upstream.

add null-check on function pointer before dereference on ops->cursor

Reported-by: syzbot+b67aaae8d3a927f68d20@syzkaller.appspotmail.com
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Du Cheng <ducheng2@gmail.com>
Link: https://lore.kernel.org/r/20210312081421.452405-1-ducheng2@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-07 15:00:13 +02:00
..
bitblit.c fbcon: remove now unusued 'softback_lines' cursor() argument 2020-09-14 10:06:15 -07:00
cfbcopyarea.c
cfbfillrect.c
cfbimgblt.c
fb_cmdline.c
fb_ddc.c
fb_defio.c
fb_draw.h
fb_notify.c
fb_sys_fops.c
fbcmap.c
fbcon_ccw.c fbcon: remove now unusued 'softback_lines' cursor() argument 2020-09-14 10:06:15 -07:00
fbcon_cw.c fbcon: remove now unusued 'softback_lines' cursor() argument 2020-09-14 10:06:15 -07:00
fbcon_rotate.c fbdev, newport_con: Move FONT_EXTRA_WORDS macros into linux/font.h 2020-09-25 10:28:18 +02:00
fbcon_rotate.h
fbcon_ud.c fbcon: remove now unusued 'softback_lines' cursor() argument 2020-09-14 10:06:15 -07:00
fbcon.c drivers: video: fbcon: fix NULL dereference in fbcon_cursor() 2021-04-07 15:00:13 +02:00
fbcon.h drm-misc-fixes for v5.9: 2020-10-06 12:38:28 +10:00
fbcvt.c
fbmem.c fbmem: add margin check to fb_check_caps() 2020-09-08 13:33:01 +02:00
fbmon.c video: fbdev: Replace HTTP links with HTTPS ones 2020-07-20 11:47:29 +02:00
fbsysfs.c fbmem: pull fbcon_update_vcs() out of fb_set_var() 2020-08-04 07:37:23 +02:00
Makefile
modedb.c
softcursor.c
svgalib.c
syscopyarea.c
sysfillrect.c
sysimgblt.c
tileblit.c drm-misc-fixes for v5.9: 2020-10-06 12:38:28 +10:00