CVE-2022-50822
published high CVSS 3.1 · 7.8RDMA/restrack: Release MR restrack when delete
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux13ef5539def732dc7b9c58c320d97a0a95b52634 to < 13586753ae55146269a6dc8b216f17d86b81560c · 13ef5539def732dc7b9c58c320d97a0a95b52634 to < 37c90753079fc95d93cc31b79796dd2ae57ad018 · 13ef5539def732dc7b9c58c320d97a0a95b52634 to < 8731cb5c7820bef577bab4ff17691fbf61c671cb · 13ef5539def732dc7b9c58c320d97a0a95b52634 to < dac153f2802db1ad46207283cb9b2aae3d707a45 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.10 (affected) · 0 to < 5.10 (unaffected · semver) · 5.15.86 through 5.15.* (unaffected · semver) · 6.0.16 through 6.0.* (unaffected · semver) · 6.1.2 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2026-112 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2023-012 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesppc64le | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-moduless390x | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-moduless390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extraaarch64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extraaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrappc64le | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrappc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extras390x | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extras390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrax86_64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrax86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoaarch64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoppc64le | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfos390x | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfos390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfox86_64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfox86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-s390xs390x | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-s390xs390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 4.18.0-477.36.1.el8_8 | RHSA-2023:7539 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached via local InfiniBand uverbs MR deregistration (IB_USER_VERBS_CMD_DEREG_MR / UVERBS_METHOD_MR_DESTROY → uverbs_free_mr → ib_dereg_mr_user → rdma_restrack_del), not by processing remote network packets. AC:L - An attacker can reliably create and destroy MRs through uverbs, and can also drive the concurrent nldev RES_MR_GET path that holds a restrack reference; both sides of the race are attacker-controlled, so no external conditions are required. PR:L - uverbs device nodes are created mode 0666 with no capability check in ib_uverbs_open, and RDMA_NLDEV_CMD_RES_MR_GET does not require RDMA_NL_ADMIN_PERM, so an unprivileged local user on a system with an RDMA device (hardware or SoftRoCE) can trigger the bug. UI:N - Exploitation requires only the attacker's own uverbs and netlink operations; no action by another user is needed. S:U - Impact remains within the local kernel's authority (resource tracking / MR object lifetime); this is not a VM escape, IOMMU bypass, or other cross-boundary break. C:H - Skipping wait_for_completion lets ib_dereg_mr_user free the MR while nldev still holds a restrack kref and fill_res_mr_entry reads MR fields, yielding a use-after-free that can be leveraged for arbitrary disclosure. I:H - The same use-after-free of the MR/restrack object enables heap reuse and corruption primitives sufficient for integrity compromise or control-flow hijacking under the highest-severity interpretation. A:H - The UAF can cause kernel oops/crash, and even without winning the race every MR delete leaks a task_struct reference via the skipped rdma_restrack_put, which can exhaust kernel memory through repeated create/destroy.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 13ef5539def732dc7b9c58c320d97a0a95b52634 to < 13586753ae55146269a6dc8b216f17d86b81560c (affected · git)13ef5539def732dc7b9c58c320d97a0a95b52634 to < 37c90753079fc95d93cc31b79796dd2ae57ad018 (affected · git)13ef5539def732dc7b9c58c320d97a0a95b52634 to < 8731cb5c7820bef577bab4ff17691fbf61c671cb (affected · git)13ef5539def732dc7b9c58c320d97a0a95b52634 to < dac153f2802db1ad46207283cb9b2aae3d707a45 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.10 (affected)0 to < 5.10 (unaffected · semver)5.15.86 through 5.15.* (unaffected · semver)6.0.16 through 6.0.* (unaffected · semver)6.1.2 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
2Linux · cna
RDMA/restrack: Release MR restrack when delete
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0c0824eebbf5778a2ef03dd5f1e37db99b8f050173566007917f70aba394a51c
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record