Integer overflow in Linux Kernel
CVE-2022-39842
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H.
EPSS exploit prediction
EPSS 0.006, 49.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel — versions 5.19
- Debian Linux — versions 10.0, 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19 (Release Notes, Vendor Advisory)
- github.com/torvalds/linux/commit/a09d2d00af53b43c6f11e6ab3cb58443c2cac8a7 (Patch, Third Party Advisory)
- [debian-lts-announce] 20221002 [SECURITY] [DLA 3131-1] linux security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-5257 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20221101 [SECURITY] [DLA 3173-1] linux-5.10 security update (mailing-list, Mailing List, Third Party Advisory)
- lore.kernel.org/all/YylaC1wHHyLw22D3@kadam/T/