linux/drivers/gpu/drm
Jiasheng Jiang fea3fdf975 drm/ast: potential dereference of null pointer
The return value of kzalloc() needs to be checked.
To avoid use of null pointer '&ast_state->base' in case of the
failure of alloc.

Fixes: f0adbc382b ("drm/ast: Allocate initial CRTC state of the correct size")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211214014126.2211535-1-jiasheng@iscas.ac.cn
2021-12-14 09:18:28 +01:00
..
amd drm next/fixes for 5.16-rc1 2021-11-12 12:11:07 -08:00
arm
armada Char/Misc driver update for 5.16-rc1 2021-11-04 08:21:47 -07:00
aspeed drm/aspeed: Fix vga_pw sysfs output 2021-11-19 12:00:14 +01:00
ast drm/ast: potential dereference of null pointer 2021-12-14 09:18:28 +01:00
atmel-hlcdc
bridge drm/bridge: nwl-dsi: Add atomic_get_input_bus_fmts 2021-10-12 11:17:41 +02:00
etnaviv Char/Misc driver update for 5.16-rc1 2021-11-04 08:21:47 -07:00
exynos dma-buf: move dma-buf symbols into the DMA_BUF module namespace 2021-10-25 14:53:08 +02:00
fsl-dcu
gma500
gud
hisilicon
hyperv drm/hyperv: Fix device removal on Gen1 VMs 2021-11-23 10:56:12 -08:00
i2c
i810
i915 drm next/fixes for 5.16-rc1 2021-11-12 12:11:07 -08:00
imx Revert "drm/imx: Annotate dma-fence critical section in commit path" 2021-11-05 19:08:44 +01:00
ingenic
kmb drm/kmb: Enable ADV bridge after modeset 2021-10-21 11:08:09 +02:00
lib
lima
mcde
mediatek ARM: SoC drivers for 5.16 2021-11-03 17:00:52 -07:00
meson
mga
mgag200
msm Merge tag 'drm-msm-next-2021-10-26' of https://gitlab.freedesktop.org/drm/msm into drm-next 2021-10-28 15:07:48 +10:00
mxsfb drm-misc-next for 5.16: 2021-11-05 13:50:15 +10:00
nouveau drm/nouveau/acr: fix a couple NULL vs IS_ERR() checks 2021-11-18 23:55:52 +01:00
omapdrm Char/Misc driver update for 5.16-rc1 2021-11-04 08:21:47 -07:00
panel drm-misc-next for 5.16: 2021-11-05 13:50:15 +10:00
panfrost
pl111
qxl
r128 Linux 5.15-rc7 2021-10-28 14:59:38 +10:00
radeon Removed the TTM Huge Page functionnality to address a crash, a timeout 2021-11-11 08:14:19 +10:00
rcar-du drm: rcar-du: Don't create encoder for unconnected LVDS outputs 2021-10-13 07:44:04 +10:00
rockchip Linux 5.15-rc7 2021-10-28 14:59:38 +10:00
savage
scheduler drm/scheduler: fix drm_sched_job_add_implicit_dependencies harder 2021-11-17 08:21:03 +01:00
selftests drm/i915/selftests: Properly reset mock object propers for each test 2021-10-22 11:09:45 +02:00
shmobile
sis
sti
stm
sun4i Merge drm/drm-fixes into drm-misc-fixes 2021-11-16 08:51:39 +01:00
tdfx
tegra Char/Misc driver update for 5.16-rc1 2021-11-04 08:21:47 -07:00
tidss
tilcdc drm: Remove redundant 'flush_workqueue()' calls 2021-10-15 16:48:51 -07:00
tiny drm: simpledrm: fix wrong unit with pixel clock 2021-12-13 11:25:06 +01:00
ttm drm/ttm: fix ttm_bo_swapout 2021-12-03 14:01:46 +01:00
tve200
udl drm/udl: fix control-message timeout 2021-11-05 11:15:14 +01:00
v3d
vboxvideo
vc4 drm/vc4: kms: Fix previous HVS commit wait 2021-11-29 15:18:09 +01:00
vgem
via
virtio drm/virtio: use drm_poll(..) instead of virtio_gpu_poll(..) 2021-11-29 11:46:32 +01:00
vkms
vmwgfx drm next/fixes for 5.16-rc1 2021-11-12 12:11:07 -08:00
xen
xlnx
drm_agpsupport.c
drm_aperture.c
drm_atomic.c
drm_atomic_helper.c
drm_atomic_state_helper.c
drm_atomic_uapi.c
drm_auth.c
drm_blend.c
drm_bridge.c
drm_bridge_connector.c
drm_bufs.c
drm_cache.c
drm_client.c
drm_client_modeset.c
drm_color_mgmt.c
drm_connector.c
drm_context.c
drm_crtc.c
drm_crtc_helper.c
drm_crtc_helper_internal.h
drm_crtc_internal.h
drm_damage_helper.c
drm_debugfs.c
drm_debugfs_crc.c
drm_displayid.c
drm_dma.c
drm_dp_aux_bus.c
drm_dp_aux_dev.c
drm_dp_cec.c
drm_dp_dual_mode_helper.c
drm_dp_helper.c
drm_dp_mst_topology.c Merge branch 'akpm' (patches from Andrew) 2021-11-09 10:11:53 -08:00
drm_dp_mst_topology_internal.h
drm_drv.c
drm_dsc.c
drm_dumb_buffers.c
drm_edid.c Linux 5.15-rc7 2021-10-28 14:59:38 +10:00
drm_edid_load.c
drm_encoder.c
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c Revert "drm/fb-helper: improve DRM fbdev emulation device names" 2021-12-09 13:22:31 +01:00
drm_file.c
drm_flip_work.c
drm_format_helper.c
drm_fourcc.c drm: Add R10 and R12 FourCC 2021-10-28 17:20:45 +10:00
drm_framebuffer.c
drm_gem.c
drm_gem_atomic_helper.c
drm_gem_cma_helper.c drm/cma-helper: Release non-coherent memory with dma_free_noncoherent() 2021-11-15 10:26:53 +01:00
drm_gem_framebuffer_helper.c dma-buf: move dma-buf symbols into the DMA_BUF module namespace 2021-10-25 14:53:08 +02:00
drm_gem_shmem_helper.c Char/Misc driver update for 5.16-rc1 2021-11-04 08:21:47 -07:00
drm_gem_ttm_helper.c
drm_gem_vram_helper.c
drm_hashtab.c
drm_hdcp.c
drm_internal.h
drm_ioc32.c
drm_ioctl.c
drm_irq.c
drm_kms_helper_common.c
drm_lease.c
drm_legacy.h
drm_legacy_misc.c
drm_lock.c
drm_managed.c
drm_memory.c
drm_mipi_dbi.c
drm_mipi_dsi.c
drm_mm.c lib, stackdepot: add helper to print stack entries into buffer 2021-11-09 10:02:50 -08:00
drm_mode_config.c
drm_mode_object.c
drm_modes.c
drm_modeset_helper.c
drm_modeset_lock.c Removed the TTM Huge Page functionnality to address a crash, a timeout 2021-11-11 08:14:19 +10:00
drm_of.c
drm_panel.c
drm_panel_orientation_quirks.c Linux 5.15 2021-11-12 09:23:16 +10:00
drm_pci.c
drm_plane.c
drm_plane_helper.c
drm_prime.c drm next/fixes for 5.16-rc1 2021-11-12 12:11:07 -08:00
drm_print.c
drm_probe_helper.c
drm_property.c
drm_rect.c
drm_scatter.c
drm_scdc_helper.c
drm_self_refresh_helper.c
drm_simple_kms_helper.c
drm_syncobj.c drm/syncobj: Deal with signalled fences in drm_syncobj_find_fence. 2021-12-08 17:19:48 +01:00
drm_sysfs.c
drm_trace.h
drm_trace_points.c
drm_vblank.c
drm_vblank_work.c
drm_vm.c
drm_vma_manager.c
drm_writeback.c
Kconfig drm: fb_helper: improve CONFIG_FB dependency 2021-11-05 18:52:47 +01:00
Makefile