CVE-2022-39842Integer Overflow or Wraparound in Kernel

Severity
6.1MEDIUMNVD
OSV7.8OSV6.7OSV5.5
EPSS
0.0%
top 99.26%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 5
Latest updateFeb 13

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. NOTE: the original discoverer disputes that the overflow can actually happen.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:HExploitability: 1.8 | Impact: 4.2

Affected Packages7 packages

NVDlinux/linux_kernel< 5.19+1
Debianlinux/linux_kernel< 5.10.149-1+3
Ubuntulinux/linux_kernel< 4.15.0-204.215+2
debiandebian/linux< linux 5.19.6-1 (bookworm)

Also affects: Debian Linux 10.0, 11.0

Patches

🔴Vulnerability Details

18
OSV
linux-gcp vulnerabilities2023-04-11
OSV
linux-azure vulnerabilities2023-03-27
OSV
linux-azure, linux-azure, linux-azure vulnerabilities2023-03-06
OSV
linux-hwe vulnerabilities2023-02-22
OSV
linux-gke-5.15 vulnerabilities2023-02-15

📋Vendor Advisories

20
CISA ICS
Siemens SCALANCE W7002025-02-13
Ubuntu
Linux kernel (GCP) vulnerabilities2023-04-11
Ubuntu
Linux kernel vulnerabilities2023-03-27
Ubuntu
Linux kernel (Azure) vulnerabilities2023-03-06
Ubuntu
Linux kernel (HWE) vulnerabilities2023-02-22
CVE-2022-39842 — Integer Overflow or Wraparound | cvebase