cve.bz

CVE-2022-39842 Year 2038 problem, Y2K38, Y2038, Epochalypse

6.1 mediumEPSS 0.6%Fix available

Medium (6.1). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-39842 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-39842?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-39842?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-39842 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 5.19
linux:linux_kernel5.19:rc1
linux:linux_kernel5.19:rc2
linux:linux_kernel5.19:rc3
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.260-1DLA-3131-1
Debian10linux-5.105.10.149-2~deb10u1DLA-3173-1
Debian11linux5.10.149-1DSA-5257-1
Debian12, 13, 14linux5.19.6-1DEBIAN-CVE-2022-39842
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-39842
Ubuntu18.04:LTSlinux4.15.0-204.215UBUNTU-CVE-2022-39842 USN-5854-1
Ubuntu18.04:LTSlinux-aws4.15.0-1150.163UBUNTU-CVE-2022-39842 USN-5854-1
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1093.102~18.04.2UBUNTU-CVE-2022-39842 USN-5791-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1161.176UBUNTU-CVE-2022-39842 USN-5865-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1100.106~18.04.1UBUNTU-CVE-2022-39842 USN-5791-3
Ubuntu18.04:LTSlinux-dell300x4.15.0-1060.65UBUNTU-CVE-2022-39842 USN-5861-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2022-39842
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1145.161UBUNTU-CVE-2022-39842 USN-5854-1
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1097.106~18.04.1UBUNTU-CVE-2022-39842 USN-5791-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-136.153~18.04.1UBUNTU-CVE-2022-39842 USN-5791-1
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1041.46~18.04.1UBUNTU-CVE-2022-39842 USN-5791-1
63 more for Ubuntu in the JSON and on Ubuntu's page.
Azure Linux2kernel5.15.70.1-1AZL-10861

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

There was no shipped kernel version that was seen affected by this problem. These files are not built in our source code.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-39842.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-044-09Siemens SCALANCE W700 IEEE 802.11ax2025-02-11Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSCALANCE WAB762-1 (6GK5762-1AJ00-6AA0), SCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) and 16 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON