Vulnerability · Published Oct 7, 2025 · Assigned by Linux
CVE-2022-50543RDMA/rxe: Fix mr->map double free
High 7.8
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-core | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-debug | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-devel | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-doc | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-headers | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-modules | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-rt | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux:8 | kernel-rt-core | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux:8 | kernel-rt-debug | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux:8 | kernel-rt-debug-core | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux:8 | kernel-rt-debug-devel | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux:8 | kernel-rt-debug-modules | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux:8 | kernel-rt-devel | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux:8 | kernel-rt-modules | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux:8 | kernel-rt-modules-extra | 4.18.0-553.89.1.rt7.430.el8_10 | ALSA-2025:22800 |
| AlmaLinux:8 | kernel-tools | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | perf | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| AlmaLinux:8 | python3-perf | 4.18.0-553.89.1.el8_10 | ALSA-2025:22801 |
| Debian:12 | linux | 6.1.4-1 | DEBIAN-CVE-2022-50543 |
| Debian:13 | linux | 6.1.4-1 | DEBIAN-CVE-2022-50543 |
| Debian:14 | linux | 6.1.4-1 | DEBIAN-CVE-2022-50543 |
| Rocky Linux:8 | kernel | 0:4.18.0-553.89.1.el8_10 | RLSA-2025:22801 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-553.89.1.rt7.430.el8_10 | RLSA-2025:22800 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:24.04:LTS | linux-intel | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2022-50543 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2022-50543 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1e75550648da1fa1cd1969e7597355de8fe8caf6 – before 6ce577f09013206e36e674cd27da3707b22782681e75550648da1fa1cd1969e7597355de8fe8caf6 – before 06f73568f553b5be6ba7f6fe274d333ea29fc46d1e75550648da1fa1cd1969e7597355de8fe8caf6 – before 7d984dac8f6bf4ebd3398af82b357e1d181ecaace004a35e8148ad9fc438b0479884641acf3828965.19.4 – before 5.20 |
| Linux | Linux | 6.0 |