CVE-2022-49875
Last modified
CVE-2022-49875 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE When using bpftool to pin {PROG, MAP, LINK} without FILE, segmentation fault will occur. The reson is that the lack of FILE will cause strlen to trigger NULL pointer dereference. The corresponding stacktrace is shown below: do_pin do_pin_any do_pin_fd mount_bpffs_for_pin strlen(name) <- NULL pointer dereference Fix it by adding validation to the common process.. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE When using bpftool to pin {PROG, MAP, LINK} without FILE, segmentation fault will occur. The reson is that the lack of FILE will cause strlen to trigger NULL pointer dereference. The corresponding stacktrace is shown below: do_pin do_pin_any do_pin_fd mount_bpffs_for_pin strlen(name) <- NULL pointer dereference Fix it by adding validation to the common process.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.7, < 5.10.155 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.79 | — |
| Linux | Linux Kernel | >= 5.16, < 6.0.9 | — |
| Linux | Linux Kernel | 6.1 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-49875?
How severe is CVE-2022-49875?
How do I fix CVE-2022-49875?
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-4987Hirschmann Industrial HiVision version 08.1.03 prior to 08.1…7.3
- CVE-2022-49870In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-49871In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49872In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49873In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49874In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49876In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49877In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49878In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49879In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4988Alien::FreeImage versions through 1.001 for Perl contains se…7.3
- CVE-2022-49880In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-49875?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
