commit | 61f0c3e8098facbec81dcc32508d58c8611cb799 | [log] [tgz] |
---|---|---|
author | Du Cheng <ducheng2@gmail.com> | Fri Mar 12 16:14:21 2021 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 07 15:00:13 2021 +0200 |
tree | 4d29c8df07b14eb341285260bd603cc4bbf9a461 | |
parent | d06d0b3cf6260ef7c70680978f3868607b504e62 [diff] |
drivers: video: fbcon: fix NULL dereference in fbcon_cursor() commit 01faae5193d6190b7b3aa93dae43f514e866d652 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>