CVE-2022-39842

Public on 2022-09-05
Modified on 2023-03-28
Description
An issue was discovered in the Linux kernel before 5.19. In pxa3xx_gcu_write in drivers/video/fbdev/pxa3xx-gcu.c, the count parameter has a type conflict of size_t versus int, causing an integer overflow and bypassing the size check. After that, because it is used as the third argument to copy_from_user(), a heap overflow may occur.
Severity
Medium severity
Medium
CVSS v3 Base Score
6.1
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 N/A Not Affected
Amazon Linux 2 - Core N/A Not Affected
Amazon Linux 2023 N/A Not Affected
Amazon Linux 1 kernel 2022-12-01 ALAS-2022-1645 Fixed
Amazon Linux 2 - Core kernel 2022-10-31 ALAS2-2022-1876 Fixed
Amazon Linux 2 - Kernel-5.10 Extra kernel 2022-10-17 ALAS2KERNEL-5.10-2022-021 Fixed
Amazon Linux 2 - Kernel-5.15 Extra kernel 2022-10-17 ALAS2KERNEL-5.15-2022-009 Fixed
Amazon Linux 2 - Kernel-5.4 Extra kernel 2022-10-17 ALAS2KERNEL-5.4-2022-037 Fixed
Amazon Linux 2023 kernel 2023-02-17 ALAS2023-2023-070 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 6.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
NVD CVSSv3 6.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H