CVE-2022-50885
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50885 is a NULL pointer dereference vulnerability in the Linux kernel's RDMA/rxe (Soft RoCE) subsystem, specifically in the rxe_qp_do_cleanup() function. The flaw is triggered when socket creation fails in rxe_qp_init_req(), leaving a NULL pointer that is subsequently dereferenced during queue pair cleanup. It affects Linux kernel versions from 4.8 up through multiple stable branches, with patches available in versions 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, and 6.2. The vulnerability was published on December 30, 2025, and carries an estimated CVSS severity of Medium with an EPSS score of 0.000240 (Feedly, CVE.org).

Technical details

The root cause is a NULL pointer dereference (CWE-476) in the rdma_rxe kernel module. When rxe_qp_init_req() fails to create a socket, the queue pair object is left in a partially initialized state with a NULL socket pointer. The cleanup function rxe_qp_do_cleanup() is then called without first checking for this NULL pointer, resulting in a kernel KASAN-detected read of 8 bytes at address 0x0000000000000018. The fix moves the rxe_qp_do_cleanup() reset logic to occur only after a NULL pointer check, preventing the invalid memory access. The vulnerability is reachable via the mount.cifs over RDMA code path (_smbd_get_connectionrdma_create_qprxe_create_qp) (Feedly).

Impact

Successful triggering of this vulnerability causes a kernel NULL pointer dereference, which can result in a kernel panic or system crash, impacting availability. The flaw is reachable by a local user with sufficient privileges to mount a CIFS share over RDMA, limiting the attack surface. There is no evidence of confidentiality or integrity impact beyond the denial-of-service condition caused by the kernel crash (Feedly).

Mitigation and workarounds

Apply the upstream kernel patches that introduce a NULL pointer check before calling rxe_qp_do_cleanup(). Fixed versions are available across multiple stable branches: 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, and 6.2. As a workaround, systems that do not use CIFS over RDMA (SMB Direct) can disable the rdma_rxe module to eliminate exposure. Users should update to a patched kernel version as soon as possible via their Linux distribution's update mechanism (Feedly, Kernel Patch 5.15).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management