CVE-2022-49030
Last modified
CVE-2022-49030 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.8, < 5.10.158 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.82 | — |
| Linux | Linux Kernel | >= 5.16, < 6.0.12 | — |
| Linux | Linux Kernel | 6.1 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-49030?
How severe is CVE-2022-49030?
How do I fix CVE-2022-49030?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-49025In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49026In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49027In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49028In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49029In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-4903A vulnerability was found in CodenameOne 7.0.70. It has been…8.1
- CVE-2022-49031In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-49032In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-49033In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49034In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49035In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49036An inclusion of functionality from untrusted control sphere …7.8
Are you affected by CVE-2022-49030?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
