VDB

CVE-2022-39842

CVE-2022-39842 PUBLISHED

Reported by mitre · Published September 5, 2022

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linuxArch Linux6.2-1
kernel-toolsAmazon Linux6.1.10-15.42.amzn2023, 4.14.296-222.539.amzn2
kernel-headersAmazon Linux6.1.10-15.42.amzn2023, 4.14.296-222.539.amzn2
linux-zenArch Linux6.2-1
kernel-tools-develAmazon Linux6.1.10-15.42.amzn2023, 4.14.296-222.539.amzn2
perfAmazon Linux6.1.10-15.42.amzn2023, 4.14.296-222.539.amzn2
bpftoolAmazon Linux6.1.10-15.42.amzn2023
kernel-libbpf-staticAmazon Linux6.1.10-15.42.amzn2023
kernel-livepatch-4.14.296-222.539Amazon Linux1.0-0.amzn2
kernelAmazon Linux6.1.10-15.42.amzn2023
linux-hardenedArch Linux6.2-1
python-perfAmazon Linux4.14.296-222.539.amzn2

5 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
n/an/an/a
archlinux0
amazon:2023kernel-tools0
amazon:2023kernel-headers0
archlinux-zen0
amazon:2023kernel-tools-devel0
amazon:2023perf0
amazon:2kernel-headers0
amazon:2023bpftool0
amazon:2023kernel-libbpf-static0
amazon:2kernel-livepatch-4.14.296-222.5390
amazon:2023kernel0
amazon:2perf0
amazon:2kernel-tools-devel0
archlinux-hardened0
amazon:2python-perf0
amazon:2023kernel-devel0
amazon:2023kernel-libbpf-devel0
amazon:2kernel-tools0
amazon:2023python3-perf0

…and 6 more

Timeline

  • Sep 5, 2022 CVE Published
  • Sep 5, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2026 Distribution Patch (49 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (54 in total, the first dated here)
  • Jun 17, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-39842
vulnetix vdb fixes CVE-2022-39842

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-39842/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›