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
Linux Linux kernel<5.19
Linux Linux kernel=5.19-rc1
Linux Linux kernel=5.19-rc2
Linux Linux kernel=5.19-rc3
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Google Android
ubuntu/linux<4.15.0-204.215
4.15.0-204.215
ubuntu/linux<5.4.0-136.153
5.4.0-136.153
ubuntu/linux<5.15.0-57.63
5.15.0-57.63
ubuntu/linux<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-aws<4.15.0-1150.163
4.15.0-1150.163
ubuntu/linux-aws<5.4.0-1093.101
5.4.0-1093.101
ubuntu/linux-aws<5.15.0-1027.31
5.15.0-1027.31
ubuntu/linux-aws<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-aws-5.0<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-aws-5.11<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-aws-5.13<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-aws-5.15<5.15.0-1027.31~20.04.1
5.15.0-1027.31~20.04.1
ubuntu/linux-aws-5.15<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-aws-5.3<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-aws-5.4<5.4.0-1093.102~18.04.2
5.4.0-1093.102~18.04.2
ubuntu/linux-aws-5.4<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-aws-5.8<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-aws-6.5<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-aws-fips<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-aws-hwe<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-azure<5.4.0-1100.106
5.4.0-1100.106
ubuntu/linux-azure<5.15.0-1030.37
5.15.0-1030.37
ubuntu/linux-azure<4.15.0-1162.177~14.04.1
4.15.0-1162.177~14.04.1
ubuntu/linux-azure<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-azure<4.15.0-1162.177~16.04.1
4.15.0-1162.177~16.04.1
ubuntu/linux-azure-4.15<4.15.0-1161.176
4.15.0-1161.176
ubuntu/linux-azure-4.15<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-azure-5.11<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-azure-5.13<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-azure-5.15<5.15.0-1030.37~20.04.1
5.15.0-1030.37~20.04.1
ubuntu/linux-azure-5.15<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-azure-5.3<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-azure-5.4<5.4.0-1100.106~18.04.1
5.4.0-1100.106~18.04.1
ubuntu/linux-azure-5.4<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-azure-6.5<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-azure-edge<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-azure-fde<5.4.0-1100.106
5.4.0-1100.106
ubuntu/linux-azure-fde<5.15.0-1030.37.1
5.15.0-1030.37.1
ubuntu/linux-azure-fde<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-azure-fde-5.15<5.15.0-1030.37~20.04.1.1
5.15.0-1030.37~20.04.1.1
ubuntu/linux-azure-fde-5.15<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-azure-fips<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-bluefield<5.4.0-1054.60
5.4.0-1054.60
ubuntu/linux-bluefield<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-dell300x<4.15.0-1060.65
4.15.0-1060.65
ubuntu/linux-dell300x<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-fips<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gcp<5.4.0-1097.106
5.4.0-1097.106
ubuntu/linux-gcp<5.15.0-1026.33
5.15.0-1026.33
ubuntu/linux-gcp<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gcp<4.15.0-1146.162~16.04.1
4.15.0-1146.162~16.04.1
ubuntu/linux-gcp-4.15<4.15.0-1145.161
4.15.0-1145.161
ubuntu/linux-gcp-4.15<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gcp-5.11<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gcp-5.13<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gcp-5.15<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gcp-5.3<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gcp-5.4<5.4.0-1097.106~18.04.1
5.4.0-1097.106~18.04.1
ubuntu/linux-gcp-5.8<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gcp-6.5<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gcp-fips<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gke<5.4.0-1091.98
5.4.0-1091.98
ubuntu/linux-gke<5.15.0-1024.29
5.15.0-1024.29
ubuntu/linux-gke<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gke-4.15<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gke-5.0<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gke-5.15<5.15.0-1027.32~20.04.1
5.15.0-1027.32~20.04.1
ubuntu/linux-gke-5.15<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gke-5.3<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gke-5.4<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gkeop<5.4.0-1061.65
5.4.0-1061.65
ubuntu/linux-gkeop<5.15.0-1012.16
5.15.0-1012.16
ubuntu/linux-gkeop<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gkeop-5.15<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-gkeop-5.4<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-hwe<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-hwe<4.15.0-206.217~16.04.1
4.15.0-206.217~16.04.1
ubuntu/linux-hwe-5.11<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-hwe-5.13<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-hwe-5.15<5.15.0-57.63~20.04.1
5.15.0-57.63~20.04.1
ubuntu/linux-hwe-5.15<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-hwe-5.4<5.4.0-136.153~18.04.1
5.4.0-136.153~18.04.1
ubuntu/linux-hwe-5.4<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-hwe-5.8<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-hwe-6.5<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-hwe-edge<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-ibm<5.4.0-1041.46
5.4.0-1041.46
ubuntu/linux-ibm<5.15.0-1022.25
5.15.0-1022.25
ubuntu/linux-ibm<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-ibm-5.15<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-ibm-5.4<5.4.0-1041.46~18.04.1
5.4.0-1041.46~18.04.1
ubuntu/linux-ibm-5.4<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-intel<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-intel-5.13<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-intel-iotg<5.15.0-1023.28
5.15.0-1023.28
ubuntu/linux-intel-iotg<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-intel-iotg-5.15<5.15.0-1023.28~20.04.1
5.15.0-1023.28~20.04.1
ubuntu/linux-intel-iotg-5.15<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-iot<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-kvm<4.15.0-1135.140
4.15.0-1135.140
ubuntu/linux-kvm<5.4.0-1083.89
5.4.0-1083.89
ubuntu/linux-kvm<5.15.0-1025.30
5.15.0-1025.30
ubuntu/linux-kvm<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-laptop<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-lowlatency<5.15.0-57.63
5.15.0-57.63
ubuntu/linux-lowlatency<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-lowlatency-hwe-5.15<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-lowlatency-hwe-6.5<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-lts-xenial<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-nvidia<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-nvidia-6.5<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-oem<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-oem-5.10<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-oem-5.13<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-oem-5.17<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-oem-5.6<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-oem-6.5<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-oem-6.8<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-oem-osp1<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-oracle<4.15.0-1114.125
4.15.0-1114.125
ubuntu/linux-oracle<5.4.0-1091.100
5.4.0-1091.100
ubuntu/linux-oracle<5.15.0-1026.32
5.15.0-1026.32
ubuntu/linux-oracle<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-oracle-5.0<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-oracle-5.11<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-oracle-5.13<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-oracle-5.15<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-oracle-5.3<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-oracle-5.4<5.4.0-1091.100~18.04.1
5.4.0-1091.100~18.04.1
ubuntu/linux-oracle-6.5<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-raspi<5.4.0-1078.89
5.4.0-1078.89
ubuntu/linux-raspi<5.15.0-1022.24
5.15.0-1022.24
ubuntu/linux-raspi<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-raspi-5.4<5.4.0-1078.89~18.04.1
5.4.0-1078.89~18.04.1
ubuntu/linux-raspi-5.4<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-raspi2<4.15.0-1127.135
4.15.0-1127.135
ubuntu/linux-raspi2<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-raspi2-5.3<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-riscv<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-riscv-5.11<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-riscv-5.15<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-riscv-5.8<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-riscv-6.5<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-snapdragon<4.15.0-1145.155
4.15.0-1145.155
ubuntu/linux-snapdragon<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-starfive<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-starfive-6.5<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
ubuntu/linux-xilinx-zynqmp<5.19~<5.4.215<5.15.70
5.19~
5.4.215
5.15.70
debian/linux
5.10.218-1
6.1.94-1
6.1.90-1
6.9.8-1
6.9.9-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.

Reference Links

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