# CVE-2022-50885: linux: In the Linux kernel, the following vulnerability has been resolved:  RDMA/rxe: Fix NULL-ptr-deref in rxe_qp_do_cleanu...

CVE-2022-50885 is fixed in 63 products on 1 platform, first by RHSA-2023:6583, released November 7, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-50885
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0060
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 7, 2023

## Description

In the Linux kernel, the following vulnerability has been resolved:  RDMA/rxe: Fix NULL-ptr-deref in rxe_qp_do_cleanup() when socket create failed  There is a null-ptr-deref when mount.cifs over rdma:    BUG: KASAN: null-ptr-deref in rxe_qp_do_cleanup+0x2f3/0x360 [rdma_rxe]   Read of size 8 at addr 0000000000000018 by task mount.cifs/3046    CPU: 2 PID: 3046 Comm: mount.cifs Not tainted 6.1.0-rc5+ #62   Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-1.fc3   Call Trace:    <TASK>    dump_stack_lvl+0x34/0x44    kasan_report+0xad/0x130    rxe_qp_do_cleanup+0x2f3/0x360 [rdma_rxe]    execute_in_process_context+0x25/0x90    __rxe_cleanup+0x101/0x1d0 [rdma_rxe]    rxe_create_qp+0x16a/0x180 [rdma_rxe]    create_qp.part.0+0x27d/0x340    ib_create_qp_kernel+0x73/0x160    rdma_create_qp+0x100/0x230    _smbd_get_connection+0x752/0x20f0    smbd_get_connection+0x21/0x40    cifs_get_tcp_session+0x8ef/0xda0    mount_get_conns+0x60/0x750    cifs_mount+0x103/0xd00    cifs_smb3_do_mount+0x1dd/0xcb0    smb3_get_tree+0x1d5/0x300    vfs_get_tree+0x41/0xf0    path_mount+0x9b3/0xdd0    __x64_sys_mount+0x190/0x1d0    do_syscall_64+0x35/0x80    entry_SYSCALL_64_after_hwframe+0x46/0xb0  The root cause of the issue is the socket create failed in rxe_qp_init_req().  So move the reset rxe_qp_do_cleanup() after the NULL ptr check.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bpftool RHEL 9 | 0:7.2.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-64k RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-64k-core RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-64k-debug RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-64k-debug-core RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-64k-debug-devel RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-64k-debug-devel-matched RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-64k-debug-modules RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-64k-debug-modules-core RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-64k-debug-modules-extra RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-64k-devel RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-64k-devel-matched RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-64k-modules RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-64k-modules-core RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-64k-modules-extra RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-abi-stablelists RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-core RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-debug RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-debug-core RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-debug-devel RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-debug-devel-matched RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-debug-modules RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-debug-modules-core RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-debug-modules-extra RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-debug-uki-virt RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-devel RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-devel-matched RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-doc RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-modules RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-modules-core RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-modules-extra RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-rt RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-rt-core RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-rt-debug RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-rt-debug-core RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-rt-debug-devel RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-rt-debug-kvm RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-rt-debug-modules RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-rt-debug-modules-core RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-rt-debug-modules-extra RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-rt-devel RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-rt-kvm RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-rt-modules RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-rt-modules-core RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-rt-modules-extra RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-tools RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-tools-libs RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-tools-libs-devel RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-uki-virt RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-zfcpdump RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-zfcpdump-core RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-zfcpdump-devel RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-zfcpdump-devel-matched RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-zfcpdump-modules RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-zfcpdump-modules-core RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | kernel-zfcpdump-modules-extra RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | libperf RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | linux Debian 12.15 (bookworm) | 6.1.4-1 | [DEBIAN-CVE-2022-50885](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50885.md) | Dec 30, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.1.4-1 | [DEBIAN-CVE-2022-50885](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50885.md) | Dec 30, 2025 |
| Linux | linux Debian 14 | 6.1.4-1 | [DEBIAN-CVE-2022-50885](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50885.md) | Dec 30, 2025 |
| Linux | perf RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | python3-perf RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | rtla RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |
| Linux | rv RHEL 9 | 0:5.14.0-362.8.1.el9_3 | [RHSA-2023:6583](https://patchblox.com/security/data/fix/linux/rhsa-2023-6583.md) | Nov 7, 2023 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
