CWE
190
Advisory Published
Updated

CVE-2022-39842: Integer Overflow

First published: Mon Sep 05 2022(Updated: )

** DISPUTED ** 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.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Android
Linux Kernel<5.19
Linux Kernel=5.19-rc1
Linux Kernel=5.19-rc2
Linux Kernel=5.19-rc3
Debian Linux=10.0
Debian Linux=11.0
debian/linux
5.10.223-1
5.10.234-1
6.1.129-1
6.1.128-1
6.12.20-1
6.12.21-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-39842?

    CVE-2022-39842 is classified as a medium severity vulnerability due to the potential for integer overflow.

  • How do I fix CVE-2022-39842?

    To mitigate CVE-2022-39842, upgrade to a kernel version that is 5.19 or higher, or apply the relevant patches provided by your distribution.

  • Which software versions are affected by CVE-2022-39842?

    CVE-2022-39842 affects Linux kernel versions before 5.19, including specific release candidates and certain Debian Linux distributions.

  • What type of vulnerability is CVE-2022-39842?

    CVE-2022-39842 is an integer overflow vulnerability in the pxa3xx_gcu_write function of the Linux kernel.

  • Is there a known exploit for CVE-2022-39842?

    As of now, there are no publicly available exploits reported for CVE-2022-39842, but its nature could allow for potential future exploitation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203