# CVE-2022-39842: An issue was discovered in the Linux kernel before 5.19.

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Published: 2022-09-05T00:00:00.000Z
- Modified: 2026-06-17T04:58:24.933Z
- Weaknesses: CWE-190
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: before 5.19; 5.19
- debian debian_linux: 10.0; 11.0

## References

- <https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19> (release-notes, vendor-advisory)
- <https://github.com/torvalds/linux/commit/a09d2d00af53b43c6f11e6ab3cb58443c2cac8a7> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/10/msg00000.html> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5257> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html> (mailing-list, third-party-advisory)
- <https://lore.kernel.org/all/YylaC1wHHyLw22D3%40kadam/T/>

## Sources

- CVE List: [CVE-2022-39842](https://www.cve.org/CVERecord?id=CVE-2022-39842), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-39842](https://nvd.nist.gov/vuln/detail/CVE-2022-39842), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39842 · Whole record: https://cve.day/CVE-2022-39842.json · Rebuilt by cve.day 2026-11-25T22:58:14.656Z
