Kernel stack disclosure via uncleared RDMA fields
Published Mar 27, 2023 · Updated Feb 24, 2025
Information disclosure in Linux Kernel allows local users to read kernel stack data through RDMA connection-manager commands. The ib_copy_ah_attr_to_user function clears only the reserved member instead of the entire GRH structure, so ucma_init_qp_attr copies 20 uninitialized bytes to user space when is_global is unset. Access requires a privileged local account and the rdma_cm device node; the disclosed stack data can help defeat kernel protections.
Summary
What happened
Information disclosure in Linux Kernel allows local users to read kernel stack data through RDMA connection-manager commands. The ib_copy_ah_attr_to_user function clears only the reserved member instead of the entire GRH structure, so ucma_init_qp_attr copies 20 uninitialized bytes to user space when is_global is unset. Access requires a privileged local account and the rdma_cm device node; the disclosed stack data can help defeat kernel protections.
The record
- CVE
- CVE-2021-3923
- Published
- Mar 27, 2023
- Updated
- Feb 24, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-200
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Mar 27, 2023CVE publishedPublication date reported by the CVE source.
- Feb 24, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unknown
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo