CVE-2022-49548
Last modified
CVE-2022-49548 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: bpf: Fix potential array overflow in bpf_trampoline_get_progs() The cnt value in the 'cnt >= BPF_MAX_TRAMP_PROGS' check does not include BPF_TRAMP_MODIFY_RETURN bpf programs, so the number of the attached BPF_TRAMP_MODIFY_RETURN bpf programs in a trampoline can exceed BPF_MAX_TRAMP_PROGS. When this happens, the assignment '*progs++ = aux->prog' in bpf_trampoline_get_progs() will cause progs array overflow as the progs field in the bpf_tramp_progs struct can only hold at most BPF_MAX_TRAMP_PROGS bpf programs.. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix potential array overflow in bpf_trampoline_get_progs() The cnt value in the 'cnt >= BPF_MAX_TRAMP_PROGS' check does not include BPF_TRAMP_MODIFY_RETURN bpf programs, so the number of the attached BPF_TRAMP_MODIFY_RETURN bpf programs in a trampoline can exceed BPF_MAX_TRAMP_PROGS. When this happens, the assignment '*progs++ = aux->prog' in bpf_trampoline_get_progs() will cause progs array overflow as the progs field in the bpf_tramp_progs struct can only hold at most BPF_MAX_TRAMP_PROGS bpf programs.
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 |
|---|---|---|
| Linux | Linux Kernel | >= 5.7, < 5.10.120 |
| Linux | Linux Kernel | >= 5.11, < 5.15.45 |
| Linux | Linux Kernel | >= 5.16, < 5.17.13 |
| Linux | Linux Kernel | >= 5.18, < 5.18.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-49548?
How severe is CVE-2022-49548?
How do I fix CVE-2022-49548?
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-49542In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49543In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49544In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49545In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49546In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49547In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49549In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4955Inappropriate implementation in DevTools in Google Chrome pr…6.5
- CVE-2022-49550In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49551In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-49552In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49553In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-49548?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
