CVE-2022-50135
Last modified
CVE-2022-50135 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix BUG: KASAN: null-ptr-deref in rxe_qp_do_cleanup The function rxe_create_qp calls rxe_qp_from_init. If some error occurs, the error handler of function rxe_qp_from_init will set both scq and rcq to NULL. Then rxe_create_qp calls rxe_put to handle qp. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix BUG: KASAN: null-ptr-deref in rxe_qp_do_cleanup The function rxe_create_qp calls rxe_qp_from_init. If some error occurs, the error handler of function rxe_qp_from_init will set both scq and rcq to NULL. Then rxe_create_qp calls rxe_put to handle qp. In the end, rxe_qp_do_cleanup is called by rxe_put. rxe_qp_do_cleanup directly accesses scq and rcq before checking them. This will cause null-ptr-deref error. The call graph is as below: rxe_create_qp { ... rxe_qp_from_init { ... err1: ... qp->rcq = NULL; <---rcq is set to NULL qp->scq = NULL; <---scq is set to NULL ... } qp_init: rxe_put{ ... rxe_qp_do_cleanup { ... atomic_dec(&qp->scq->num_wq); <--- scq is accessed ... atomic_dec(&qp->rcq->num_wq); <--- rcq is accessed } }
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 |
|---|---|---|
| Linux | Linux Kernel | >= 5.19, < 5.19.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-50135?
How severe is CVE-2022-50135?
How do I fix CVE-2022-50135?
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-50129In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50130In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50131In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50132In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50133In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50134In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50136In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50137In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50138In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50139In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50140In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50141In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-50135?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
