# CVE-2022-39842

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-09-05 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2022-39842, DEBIAN-CVE-2022-39842
- Record: https://cvemate.com/vulnerability/CVE-2022-39842 · JSON: https://cvemate.com/vulnerability/CVE-2022-39842/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
- EPSS: 0.596%, percentile 49.976%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 89)

- debian linux (Debian): \< 5.19.6-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.15.0-204.215 \| \< 5.4.0-136.153 \| \< 5.15.0-57.63
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 4.15.0-1150.163 \| \< 5.4.0-1093.101 \| \< 5.15.0-1027.31
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1027.31~20.04.1
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1093.102~18.04.2
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2089.95 \| All versions (No fix recorded) \| \< 5.4.0-1093.101+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1151.164~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1162.177~14.04.1 \| \< 4.15.0-1162.177~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1100.106 \| \< 5.15.0-1030.37
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1161.176
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1030.37~20.04.1
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.4 (Ubuntu): \< 5.4.0-1100.106~18.04.1
- ubuntu linux-azure-5.8 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 26)

- <https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19>
- <https://github.com/torvalds/linux/commit/a09d2d00af53b43c6f11e6ab3cb58443c2cac8a7>
- <https://lists.debian.org/debian-lts-announce/2022/10/msg00000.html>
- <https://www.debian.org/security/2022/dsa-5257>
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html>
- <https://lore.kernel.org/all/YylaC1wHHyLw22D3%40kadam/T/>
- <https://ubuntu.com/security/CVE-2022-39842>
- <https://git.kernel.org/linus/a09d2d00af53b43c6f11e6ab3cb58443c2cac8a7>
- <https://ubuntu.com/security/notices/USN-5791-1>
- <https://ubuntu.com/security/notices/USN-5792-1>
- <https://ubuntu.com/security/notices/USN-5791-2>
- <https://ubuntu.com/security/notices/USN-5792-2>
- <https://ubuntu.com/security/notices/USN-5791-3>
- <https://ubuntu.com/security/notices/USN-5815-1>
- <https://ubuntu.com/security/notices/USN-5854-1>
- <https://ubuntu.com/security/notices/USN-5861-1>
- <https://ubuntu.com/security/notices/USN-5862-1>
- <https://ubuntu.com/security/notices/USN-5865-1>
- <https://ubuntu.com/security/notices/USN-5877-1>
- <https://ubuntu.com/security/notices/USN-5883-1>

---

Data as of 2026-12-06T05:22:56.827Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
