CVE-2022-50543 json
RDMA/rxe: Fix mr->map double free
published 2025-10-07 13 mo ago modified 2026-08-05 3 mo ago also EUVD-2025-31987
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.20, 6.0.16, 6.1.2, 6.2
- linux Debian 14, Debian 13, Debian 12 6.1.4-1
debian advisories DEBIAN-CVE-2022-50543
- kernel-rt RHEL 8 4.18.0-553.89.1.rt7.430.el8_10
- kernel-rt-kvm RHEL 8 4.18.0-553.89.1.rt7.430.el8_10
- kernel-rt-core RHEL 8 4.18.0-553.89.1.rt7.430.el8_10
- kernel-rt-modules RHEL 8 4.18.0-553.89.1.rt7.430.el8_10
- kernel-rt-debug-kvm RHEL 8 4.18.0-553.89.1.rt7.430.el8_10
- kernel-rt-debug-core RHEL 8 4.18.0-553.89.1.rt7.430.el8_10
- kernel-rt-debug-modules RHEL 8 4.18.0-553.89.1.rt7.430.el8_10
- kernel-rt-modules-extra RHEL 8 4.18.0-553.89.1.rt7.430.el8_10
red hat advisories RHSA-2026:0536RHSA-2026:0532RHSA-2025:22800RHSA-2025:22801RHSA-2023:6583RHSA-2023:2951
- kernel-64kb SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS, SLE High Performance Computing 15 SP5-ESPOS 5.14.21-150500.55.127.1
- kernel-syms SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.127.1
- kernel-source SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.127.1
- kernel-default SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +3 more 5.14.21-150500.55.127.1
- kernel-obs-build SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.127.1
- kernel-default-base SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.127.1.150500.6.61.1
- kernel-rt SLE Micro 5.5 5.14.21-150500.13.112.1
- kernel-source-rt SLE Micro 5.5 5.14.21-150500.13.112.1
suse advisories SUSE-SU-2025:4320-1SUSE-SU-2025:4149-1
- kernel-rt AlmaLinux 8 4.18.0-553.89.1.rt7.430.el8_10
- kernel-rt-core AlmaLinux 8 4.18.0-553.89.1.rt7.430.el8_10
- kernel-rt-modules AlmaLinux 8 4.18.0-553.89.1.rt7.430.el8_10
- kernel-rt-debug-core AlmaLinux 8 4.18.0-553.89.1.rt7.430.el8_10
- kernel-rt-debug-modules AlmaLinux 8 4.18.0-553.89.1.rt7.430.el8_10
- kernel-rt-modules-extra AlmaLinux 8 4.18.0-553.89.1.rt7.430.el8_10
- kernel-rt-debug-modules-extra AlmaLinux 8 4.18.0-553.89.1.rt7.430.el8_10
- kernel AlmaLinux 8 4.18.0-553.89.1.el8_10
almalinux advisories ALSA-2025:22800ALSA-2025:22801
- kernel-rt Rocky Linux 8 4.18.0-553.89.1.rt7.430.el8_10
- kernel Rocky Linux 8 4.18.0-553.89.1.el8_10
rocky linux advisories RLSA-2025:22800RLSA-2025:22801
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-50543 updated cvss 7.8
kernel: RDMA/rxe: Fix mr->map double free
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: workaround, no fix available, no fix planned “To mitigate this issue, prevent the rdma_rxe module from loading. See https://access.redhat.com/solutions/41278 for instructions on blacklisting kernel modules.”
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-477.10.1.el8_8, perf 4.18.0-553.89.1.el8_10, kernel 4.18.0-477.10.1.el8_8, bpftool 4.18.0-477.10.1.el8_8, kernel 4.18.0-553.89.1.el8_10, bpftool 4.18.0-553.89.1.el8_10, +36 morefixed: vendor fix “To mitigate this issue, prevent the rdma_rxe module from loading. See https://access.redhat.com/solutions/41278 for instructions on blacklisting kernel modules.” RHSA-2025:22801
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) perf 4.18.0-372.175.1.el8_6, kernel 4.18.0-372.175.1.el8_6, bpftool 4.18.0-372.175.1.el8_6, kernel-core 4.18.0-372.175.1.el8_6, kernel-tools 4.18.0-372.175.1.el8_6, python3-perf 4.18.0-372.175.1.el8_6, +8 more Red Hat Enterprise Linux BaseOS E4S (v.8.6) perf 4.18.0-372.175.1.el8_6, kernel 4.18.0-372.175.1.el8_6, bpftool 4.18.0-372.175.1.el8_6, kernel-core 4.18.0-372.175.1.el8_6, kernel-tools 4.18.0-372.175.1.el8_6, python3-perf 4.18.0-372.175.1.el8_6, +15 morefixed: vendor fix “To mitigate this issue, prevent the rdma_rxe module from loading. See https://access.redhat.com/solutions/41278 for instructions on blacklisting kernel modules.” RHSA-2026:0536
-
Red Hat Enterprise Linux BaseOS E4S (v.8.8) perf 4.18.0-477.124.1.el8_8, kernel 4.18.0-477.124.1.el8_8, bpftool 4.18.0-477.124.1.el8_8, kernel-core 4.18.0-477.124.1.el8_8, kernel-tools 4.18.0-477.124.1.el8_8, python3-perf 4.18.0-477.124.1.el8_8, +9 morefixed: vendor fix “To mitigate this issue, prevent the rdma_rxe module from loading. See https://access.redhat.com/solutions/41278 for instructions on blacklisting kernel modules.” RHSA-2026:0532
-
Red Hat Enterprise Linux BaseOS TUS (v.8.6) perf 4.18.0-372.175.1.el8_6, kernel 4.18.0-372.175.1.el8_6, bpftool 4.18.0-372.175.1.el8_6, kernel-core 4.18.0-372.175.1.el8_6, kernel-tools 4.18.0-372.175.1.el8_6, python3-perf 4.18.0-372.175.1.el8_6, +8 morefixed: vendor fix “To mitigate this issue, prevent the rdma_rxe module from loading. See https://access.redhat.com/solutions/41278 for instructions on blacklisting kernel modules.” RHSA-2026:0536
-
Red Hat Enterprise Linux BaseOS TUS (v.8.8) perf 4.18.0-477.124.1.el8_8, kernel 4.18.0-477.124.1.el8_8, bpftool 4.18.0-477.124.1.el8_8, kernel-core 4.18.0-477.124.1.el8_8, kernel-tools 4.18.0-477.124.1.el8_8, python3-perf 4.18.0-477.124.1.el8_8, +8 morefixed: vendor fix “To mitigate this issue, prevent the rdma_rxe module from loading. See https://access.redhat.com/solutions/41278 for instructions on blacklisting kernel modules.” RHSA-2026:0532
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-477.10.1.el8_8, kernel-debuginfo-common-aarch64 4.18.0-477.10.1.el8_8, kernel-debuginfo-common-ppc64le 4.18.0-477.10.1.el8_8, kernel-debuginfo-common-x86_64 4.18.0-553.89.1.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.89.1.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.89.1.el8_10fixed: vendor fix “To mitigate this issue, prevent the rdma_rxe module from loading. See https://access.redhat.com/solutions/41278 for instructions on blacklisting kernel modules.” RHSA-2025:22801
-
Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-553.89.1.rt7.430.el8_10, kernel-rt-kvm 4.18.0-553.89.1.rt7.430.el8_10, kernel-rt-core 4.18.0-553.89.1.rt7.430.el8_10, kernel-rt-modules 4.18.0-553.89.1.rt7.430.el8_10, kernel-rt-debug-kvm 4.18.0-553.89.1.rt7.430.el8_10, kernel-rt-debug-core 4.18.0-553.89.1.rt7.430.el8_10, +4 more Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-553.89.1.rt7.430.el8_10, kernel-rt-core 4.18.0-553.89.1.rt7.430.el8_10, kernel-rt-modules 4.18.0-553.89.1.rt7.430.el8_10, kernel-rt-debug-core 4.18.0-553.89.1.rt7.430.el8_10, kernel-rt-debug-modules 4.18.0-553.89.1.rt7.430.el8_10, kernel-rt-modules-extra 4.18.0-553.89.1.rt7.430.el8_10, +2 morefixed: vendor fix “To mitigate this issue, prevent the rdma_rxe module from loading. See https://access.redhat.com/solutions/41278 for instructions on blacklisting kernel modules.” RHSA-2025:22800
show 1 moreshow fewer
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-415 Double Free
- Technology feeds
References
Sources
- CVE List CVE-2022-50543
- NVD CVE-2022-50543
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.