WSL2-Linux-Kernel/drivers/gpu/drm/tiny
Alexandr Sapozhnikov 3e9aac5e93 drm/cirrus: NULL-check pipe->plane.state->fb in cirrus_pipe_update()
[ Upstream commit 7245e629dc ]

After having been compared to NULL value at cirrus.c:455, pointer
'pipe->plane.state->fb' is passed as 1st parameter in call to function
'cirrus_fb_blit_rect' at cirrus.c:461, where it is dereferenced at
cirrus.c:316.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

v2:
	* aligned commit message to line-length limits

Signed-off-by: Alexandr Sapozhnikov <alsp705@gmail.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230215171549.16305-1-alsp705@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-30 12:47:52 +02:00
..
Kconfig drivers/firmware: consolidate EFI framebuffer setup for all arches 2021-07-21 12:04:56 +02:00
Makefile drm/bochs: Move to tiny/ 2021-07-05 08:54:44 +02:00
arcpgu.c drm/arc: Move to drm/tiny 2021-02-25 13:19:04 +01:00
bochs.c drm/bochs: fix blanking 2022-10-26 12:34:54 +02:00
cirrus.c drm/cirrus: NULL-check pipe->plane.state->fb in cirrus_pipe_update() 2023-03-30 12:47:52 +02:00
gm12u320.c drm/gm12u320: Use offset-adjusted shadow-plane mappings 2021-08-08 20:27:37 +02:00
hx8357d.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
ili9225.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
ili9341.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
ili9486.c drm/tiny: ili9486: Do not assume 8-bit only SPI controllers 2023-03-10 09:39:52 +01:00
mi0283qt.c drm/tiny: drm_gem_simple_display_pipe_prepare_fb is the default 2021-06-24 15:40:11 +02:00
repaper.c drm/repaper: Use framebuffer dma-buf helpers 2021-07-23 20:18:11 +02:00
simpledrm.c drm/simpledrm: Fix return type of simpledrm_simple_display_pipe_mode_valid() 2022-08-03 12:03:43 +02:00
st7586.c drm/st7586: Use framebuffer dma-buf helpers 2021-07-23 20:18:14 +02:00
st7735r.c drm/st7735r: Fix module autoloading for Okaya RH128128T 2022-08-17 14:23:16 +02:00