Skip to content

Fix bugs in *_set_par() caused by user input

Zheyu Ma dri-devel linux-fbdev lkml 1 version Applied

Status from this message: applied all 3 patches to fbdev git tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3video: fbdev: vt8623fb: Check the size of screen before memset_io()drivers/video/fbdev/vt8623fb.c+2 -00 replies
2/3video: fbdev: arkfb: Check the size of screen before memset_io()drivers/video/fbdev/arkfb.c+2 -00 replies
3/3video: fbdev: s3fb: Check the size of screen before memset_io()drivers/video/fbdev/s3fb.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Fix bugs in *_set_par() caused by user input

In the function *_set_par(), the value of 'screen_size' is calculated by the user input. If the user provides the improper value, the value of 'screen_size' may larger than 'info->screen_size', which may cause a bug in the memset_io().

Zheyu Ma (3):
video: fbdev: vt8623fb: Check the size of screen before memset_io()
video: fbdev: arkfb: Check the size of screen before memset_io()
video: fbdev: s3fb: Check the size of screen before memset_io()

 drivers/video/fbdev/arkfb.c    | 2 ++
 drivers/video/fbdev/s3fb.c     | 2 ++
 drivers/video/fbdev/vt8623fb.c | 2 ++
 3 files changed, 6 insertions(+)
Signature · 1 line
2.25.1