CVE-2022-39842
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 confl...
Original description
The description as published by the source.
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 packages
Android
:linux_kernel:
[{"type":"ECOSYSTEM","events":[{"introduced":":0"},{"fixed":":2023-02-05"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2022-39842 linux Fixed in: 5.10.149-1
- Ubuntu UBUNTU-CVE-2022-39842 linux-azure Fixed in: 4.15.0-1162.177~14.04.1
References
- advisory source.android.com
- advisory github.com
- advisory nvd.nist.gov
- advisory debian.org
- patch android.googlesource.com
- patch github.com
- web cdn.kernel.org
- web lore.kernel.org
- web lists.debian.org
- web lists.debian.org