linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix bugs in *_set_par() caused by user input
@ 2022-08-04 12:41 Zheyu Ma
  2022-08-04 12:41 ` [PATCH 1/3] video: fbdev: vt8623fb: Check the size of screen before memset_io() Zheyu Ma
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Zheyu Ma @ 2022-08-04 12:41 UTC (permalink / raw)
  To: deller, adaplas, santiago, akpm
  Cc: linux-fbdev, dri-devel, linux-kernel, Zheyu Ma

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(+)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-08-05 16:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-04 12:41 [PATCH 0/3] Fix bugs in *_set_par() caused by user input Zheyu Ma
2022-08-04 12:41 ` [PATCH 1/3] video: fbdev: vt8623fb: Check the size of screen before memset_io() Zheyu Ma
2022-08-04 12:41 ` [PATCH 2/3] video: fbdev: arkfb: " Zheyu Ma
2022-08-04 12:41 ` [PATCH 3/3] video: fbdev: s3fb: " Zheyu Ma
2022-08-04 14:43 ` [PATCH 0/3] Fix bugs in *_set_par() caused by user input Ondrej Zajicek
2022-08-05  2:48   ` Zheyu Ma
2022-08-05 16:47 ` Helge Deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).