[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220804124125.3506755-1-zheyuma97@gmail.com>
Date: Thu, 4 Aug 2022 20:41:22 +0800
From: Zheyu Ma <zheyuma97@...il.com>
To: deller@....de, adaplas@...il.com, santiago@...reenet.org,
akpm@...ux-foundation.org
Cc: linux-fbdev@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org, Zheyu Ma <zheyuma97@...il.com>
Subject: [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(+)
--
2.25.1
Powered by blists - more mailing lists