CVE-2022-50543
published high CVSS 3.1 · 7.8RDMA/rxe: Fix mr->map double free
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1e75550648da1fa1cd1969e7597355de8fe8caf6 to < 6ce577f09013206e36e674cd27da3707b2278268 · 1e75550648da1fa1cd1969e7597355de8fe8caf6 to < 06f73568f553b5be6ba7f6fe274d333ea29fc46d · 1e75550648da1fa1cd1969e7597355de8fe8caf6 to < 7d984dac8f6bf4ebd3398af82b357e1d181ecaac · e004a35e8148ad9fc438b0479884641acf382896 · 5.19.4 to < 5.20 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.0 (affected) · 0 to < 6.0 (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 | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-553.89.1.el8_10 | ELSA-2025-22801 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-553.89.1.el8_10 | RHSA-2025:22801 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-477.124.1.el8_8 | RHSA-2026:0532 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-553.89.1.el8_10 | RHSA-2025:22801 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-553.89.1.el8_10 | RHSA-2025:22801 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-477.124.1.el8_8 | RHSA-2026:0532 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-553.89.1.el8_10 | RHSA-2025:22801 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-553.89.1.el8_10 | RHSA-2025:22801 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-477.124.1.el8_8 | RHSA-2026:0532 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-553.89.1.el8_10 | RHSA-2025:22801 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-553.89.1.el8_10 | RHSA-2025:22801 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-477.124.1.el8_8 | RHSA-2026:0532 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-553.89.1.el8_10 | RHSA-2025:22801 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-553.89.1.el8_10 | RHSA-2025:22801 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-477.124.1.el8_8 | RHSA-2026:0532 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-553.89.1.el8_10 | RHSA-2025:22801 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
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/rxe: Fix mr->map double free rxe_mr_cleanup() which tries to free mr->map again will be called when rxe_mr_init_user() fails: CPU: 0 PID: 4917 Comm: rdma_flush_serv Kdump: loaded Not tainted 6.1.0-rc1-roce-flush+ #25 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0x45/0x5d panic+0x19e/0x349 end_report.part.0+0x54/0x7c kasan_report.cold+0xa/0xf rxe_mr_cleanup+0x9d/0xf0 [rdma_rxe] __rxe_cleanup+0x10a/0x1e0 [rdma_rxe] rxe_reg_user_mr+0xb7/0xd0 [rdma_rxe] ib_uverbs_reg_mr+0x26a/0x480 [ib_uverbs] ib_uverbs_handler_UVERBS_METHOD_INVOKE_WRITE+0x1a2/0x250 [ib_uverbs] ib_uverbs_cmd_verbs+0x1397/0x15a0 [ib_uverbs] This issue was firstly exposed since commit b18c7da63fcb ("RDMA/rxe: Fix memory leak in error path code") and then we fixed it in commit 8ff5f5d9d8cf ("RDMA/rxe: Prevent double freeing rxe_map_set()") but this fix was reverted together at last by commit 1e75550648da (Revert "RDMA/rxe: Create duplicate mapping tables for FMRs") Simply let rxe_mr_cleanup() always handle freeing the mr->map once it is successfully allocated.
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 the local InfiniBand uverbs REG_MR command path (ib_uverbs_reg_mr → rxe_reg_user_mr → rxe_mr_init_user), not via received RDMA/Ethernet packets or any network-facing handler. AC:L - The attacker can reliably force the error path by inducing GFP_KERNEL pressure so rxe_mr_alloc() partially fails and leaves a dangling mr->map, or on highmem systems via page_address() returning NULL; both sides of the resulting double-free are under attacker control with no race. PR:L - Creating the SoftRoCE device requires CAP_NET_ADMIN, but once present /dev/infiniband/uverbs* is mode 0666 with no capability check on open or reg_mr, so any unprivileged local user can trigger the bug. UI:N - Exploitation requires only the attacker's own uverbs calls (open device, alloc PD, reg MR); no victim action is needed. S:U - The double-free corrupts kernel heap memory within the same host kernel authority; it does not cross a VM, IOMMU, or other security boundary. C:H - A kernel heap double-free enables use-after-free style heap spraying and reclaim of the freed objects, which can be leveraged for arbitrary kernel memory disclosure. I:H - The same double-free/UAF primitive enables heap corruption sufficient for arbitrary kernel writes and control-flow hijacking / privilege escalation. A:H - The double-free immediately triggers KASAN reports, oopses, or panics (as shown in the fix commit call trace), so availability impact is total kernel crash.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1e75550648da1fa1cd1969e7597355de8fe8caf6 to < 6ce577f09013206e36e674cd27da3707b2278268 (affected · git)1e75550648da1fa1cd1969e7597355de8fe8caf6 to < 06f73568f553b5be6ba7f6fe274d333ea29fc46d (affected · git)1e75550648da1fa1cd1969e7597355de8fe8caf6 to < 7d984dac8f6bf4ebd3398af82b357e1d181ecaac (affected · git)e004a35e8148ad9fc438b0479884641acf382896 (affected · git)5.19.4 to < 5.20 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.0 (affected)0 to < 6.0 (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
3Provider assertions
2Linux · cna
RDMA/rxe: Fix mr->map double free
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0519796b71b12f4db76fb3cf60244bab838fae6a575a5683c286385d0045c4b2
- Ingested
- 23 Sep 2026, 08:04:48 UTC
- Source record
- Official CVE record