android_kernel_motorola_sm6375/drivers/video
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Phillip Potter 4928d3b020 fbdev: zero-fill colormap in fbcmap.c
commit 19ab233989d0f7ab1de19a036e247afa4a0a1e9c upstream.

Use kzalloc() rather than kmalloc() for the dynamically allocated parts
of the colormap in fb_alloc_cmap_gfp, to prevent a leak of random kernel
data to userspace under certain circumstances.

Fixes a KMSAN-found infoleak bug reported by syzbot at:
https://syzkaller.appspot.com/bug?id=741578659feabd108ad9e06696f0c1f2e69c4b6e

Reported-by: [email protected]
Cc: stable <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Phillip Potter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2021-05-11 14:04:04 +02:00
..
backlight backlight: sky81452-backlight: Fix refcount imbalance on error 2020-10-29 09:57:37 +01:00
console fbdev, newport_con: Move FONT_EXTRA_WORDS macros into linux/font.h 2020-10-14 10:32:56 +02:00
fbdev fbdev: zero-fill colormap in fbcmap.c 2021-05-11 14:04:04 +02:00
logo
display_timing.c
hdmi.c
Kconfig
Makefile
of_display_timing.c
of_videomode.c
vgastate.c
videomode.c