CVE-2022-39842
JSON

6.1medium

An issue was discovered in the Linux kernel before 5.19.

Severity
6.1medium CVSS:3.1 by NVD
Exploit likelihood
0.60% (higher than 49% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
linux linux_kernelbefore 5.19, 5.19NVD
debian debian_linux10.0, 11.0NVD

Classification

What each source says

CVE List

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.

NVD (es)

Se ha detectado un problema en el kernel de Linux versiones anteriores a 5.19. En la función pxa3xx_gcu_write en el archivo drivers/video/fbdev/pxa3xx-gcu.c, el parámetro count presenta un conflicto de tipo size_t frente a int, causando un desbordamiento de enteros y omite la comprobación de tamaño. Además, al ser usado como tercer argumento de copy_from_user(), puede producirse un desbordamiento de pila

References

Sources

SourceRecordLicence
CVE ListCVE-2022-39842 changed 2024-08-03CVE Terms of Use
NVDCVE-2022-39842 changed 2026-06-17Public domain