Files
android_kernel_motorola_sm6225/drivers
Hyunwoo Kim 5a59256232 video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write
[ Upstream commit a09d2d00af53b43c6f11e6ab3cb58443c2cac8a7 ]

In pxa3xx_gcu_write, a count parameter of type size_t is passed to words of
type int.  Then, copy_from_user() may cause a heap overflow because it is used
as the third argument of copy_from_user().

Mot-CRs-fixed: (CR)
CVE-Fixed: CVE-2022-39842
Bug: 245928838

Change-Id: If3b27ac3720242550e7e9b5547590085a75ee5ba
Signed-off-by: Hyunwoo Kim <imv4bel@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Gajjala Chakradhar <gajjalac@motorola.com>
Reviewed-on: https://gerrit.mot.com/2480183
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2023-06-01 00:54:34 -03:00
..
…
…
…
…
2023-06-01 00:49:00 -03:00
…
2023-06-01 00:51:08 -03:00
2021-09-26 22:35:51 -07:00
2023-06-01 00:47:06 -03:00
2022-11-04 02:36:16 -07:00
…
…
…
…
2023-06-01 00:47:10 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2023-06-01 00:48:50 -03:00
…
…
2023-06-01 00:47:14 -03:00
2023-01-23 12:01:43 +05:30
…
…
…
…
2023-06-01 00:47:05 -03:00
…
…
2023-06-01 00:48:49 -03:00
…
2023-06-01 00:48:49 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2023-06-01 00:47:14 -03:00
…
…
2023-06-01 00:47:13 -03:00
…
2023-06-01 00:51:08 -03:00
…
…
…
…
…
…
…
…