CVE-2022-39842: Integer Overflow

Published Sep 5, 2022
·
Updated

DISPUTED An issue was discovered in the Linux kernel before 5.19. In pxa3xxgcuwrite in drivers/video/fbdev/pxa3xx-gcu.c, the count parameter has a type conflict of sizet versus int, causing an integer overflow and bypassing the size check. After that, because it is used as the third argument to copyfromuser(), a heap overflow may occur. NOTE: the original discoverer disputes that the overflow can actually happen.

Affected Software

8 affected componentsFixes available
Google Android
Linux Linux Kernel<5.19
Linux Linux Kernel=5.19-rc1
Linux Linux Kernel=5.19-rc2
Linux Linux Kernel=5.19-rc3
Debian Linux=10.0
Debian Linux=11.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.22-1Fixed in 6.12.25-1
  2. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 5.19

Event History

Sep 5, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Disputed
07:15 AM
Jan 12, 2024
Data Sourced
via Launchpad·12:11 AM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·05:02 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203