CVE-2021-3923
Linux Kernel vulnerability analysis and mitigation

Overview

A flaw was discovered in the Linux kernel's implementation of RDMA (Remote Direct Memory Access) over InfiniBand. The vulnerability, identified as CVE-2021-3923, allows an attacker with a privileged local account to leak kernel stack information when issuing commands to the /dev/infiniband/rdma_cm device node (NVD, Ubuntu Security).

Technical details

The vulnerability stems from the ibcopyahattrtouser() function, which only initializes 'resp.grh' if the 'resp.isglobal' flag is set. This implementation flaw results in uninitialized stack data being copied to the user, creating an information leak. The vulnerability has been assigned a CVSS v3.1 Base Score of 2.3 (Low) with the vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N (NVD).

Impact

While this vulnerability's direct impact is considered low and unlikely to leak sensitive user information, it can potentially be leveraged to defeat existing kernel protection mechanisms. The information leak from kernel stack memory could provide attackers with valuable system information that might be used in further attacks (Redhat Bugzilla).

Mitigation and workarounds

The vulnerability was fixed in Linux kernel version 5.16. The fix involves zeroing out the whole 'resp' struct to prevent the information leak. Red Hat Enterprise Linux 8 has addressed this vulnerability through kernel updates RHSA-2022:1988 and RHSA-2022:1975 (Redhat Bugzilla, Kernel Patch).

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-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-azure-5.4
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-debug-uki-virt-addons
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • rtla
NoYesDec 09, 2025

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