VYPR
Unrated severityNVD Advisory· Published Dec 30, 2025· Updated Apr 15, 2026

CVE-2022-50822

CVE-2022-50822

Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/restrack: Release MR restrack when delete

The MR restrack also needs to be released when delete it, otherwise it cause memory leak as the task struct won't be released.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A memory leak in the Linux kernel's RDMA subsystem occurs when the MR (Memory Region) restrack object is not released upon deletion, preventing the associated task struct from being freed.

Vulnerability

In the Linux kernel's RDMA (Remote Direct Memory Access) subsystem, the restrack (resource tracking) infrastructure is used to track various resources, including Memory Regions (MR). When an MR is deleted, the corresponding restrack entry must also be released. However, a bug was found where the MR restrack object was not freed during deletion, leading to a memory leak [1].

Root

Cause

The root cause is that the code path for deleting an MR did not call the necessary cleanup function to release the restrack entry. This oversight means that the reference to the task struct (which is held by the restrack entry) is never released, preventing the kernel from freeing that task structure [1].

Impact

An attacker who can trigger the creation and deletion of MRs (e.g., via RDMA operations) RDMA operations) can repeatedly exploit this bug to exhaust kernel memory, leading to a denial of service (DoS) condition. The leak is per-MR deletion, so sustained exploitation can cause significant memory pressure on the system [1].

Mitigation

The fix was committed to the Linux kernel stable tree and is included in versions that contain the commit dac153f2802db1ad46207283cb9b2aae3d707a45 [2]. Users should update their kernel to a patched version to resolve the issue.

AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

1

Patches

4

Vulnerability mechanics

Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

4

News mentions

0

No linked articles in our index yet.