CVE-2022-49030
HighIn the Linux kernel, the following vulnerability has been resolved: libbpf: Handle size overflow for ringbuf mmap The maximum size of ringbuf is 2GB on x86-64 host, so 2 * max_entries will overflow u32 when mapping producer page and data pages. Only casting max_entries to size_t is not enough, because for 32-bits application on 64-bits kernel the size of read-only mmap region also could overflow size_t. So fixing it by casting the size of read-only mmap region into a __u64 and checking whether or not there will be overflow during mmap.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-190CVE-2022-49030 is a Integer Overflow vulnerability
What is Integer Overflow?
The product performs a calculation that can produce an integer overflow, leading to unexpected values. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.8
and later are affected. Fixed in
5.10.158,
5.15.82,
6.0.12,
6.1
and their respective stable series.
References
The following references provide additional information about CVE-2022-49030 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0140e079a42064680394fff1199a7b5483688dec
-
PatchKernel patch commithttps://git.kernel.org/stable/c/535a25ab4f9a45f74ba38ab71de95e97474922ed
-
PatchKernel patch commithttps://git.kernel.org/stable/c/8a549ab6724520aa3c07f47e0eba820293551490
Frequently asked questions
-
What is CVE-2022-49030?
CVE-2022-49030 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Integer Overflow flaw (CWE-190) . It affects Linux kernel versions from 5.8 onward and has been patched in 5.10.158, 5.15.82, 6.0.12 and others. CVE-2022-49030 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49030?
CVE-2022-49030 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2022-49030?
Yes — CVE-2022-49030 has been patched. Fixed versions include 5.10.158, 5.15.82, 6.0.12 and others. If you are running Linux kernel 5.8 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49030 actively exploited?
No — CVE-2022-49030 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Integer Overflow (CWE-190)?
The product performs a calculation that can produce an integer overflow, leading to unexpected values. View CWE-190 on MITRE CWE →