CVE-2022-49030

High

In 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.

Package Linux Kernel
Published 2024-10-21
Last modified 2024-10-24
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.8

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness type

CWE-190

CVE-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.

Affected from
≥ 5.8
Fixed in
✓ 5.10.158 5.10.x ✓ 5.15.82 5.15.x ✓ 6.0.12 6.0.x ✓ 6.1

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.

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 →