CVE-2022-39842 Integer overflow in n/a
Integer overflow in the pxa3xx_gcu driver allows heap overflow, potentially leading to code execution or privilege escalation in the Linux kernel.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-39842?
CVE-2022-39842 is a medium-severity vulnerability in Debian Debian Linux, published on 5 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-190
Which versions are affected by CVE-2022-39842?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2022-39842?
Apply the vendor's patch.
Is CVE-2022-39842 being exploited?
There is no known exploitation of CVE-2022-39842 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as A-245928838, ASB-A-245928838, AZL-10861, DEBIAN-CVE-2022-39842, GHSA-8cq9-p78m-67v8, UBUNTU-CVE-2022-39842.