CVE-2022-50137
published high CVSS 3.1 · 7.8RDMA/irdma: Fix a window for use-after-free
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb48c24c2d710cf34810c555dcef883a3d35a9c08 to < 92520864ef9f912f38b403d172a0ded020683d55 · b48c24c2d710cf34810c555dcef883a3d35a9c08 to < 0abf2eef80295923b819ce89ff9edc1fe61be17c · b48c24c2d710cf34810c555dcef883a3d35a9c08 to < 350ac793a03c8a30a3f2b27fc282cd1c67070763 · b48c24c2d710cf34810c555dcef883a3d35a9c08 to < 8ecef7890b3aea78c8bbb501a4b5b8134367b821 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.14 (affected) · 0 to < 5.14 (unaffected · semver) · 5.15.61 through 5.15.* (unaffected · semver) · 5.18.18 through 5.18.* (unaffected · semver) · 5.19.2 through 5.19.* (unaffected · semver) · 6.0 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.15-2022-008 | 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-372.166.1.el8_6 | RHSA-2025:19222 |
| 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 | bpftoolppc64le | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
Show 97 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.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| 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 | bpftoolx86_64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| 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 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| 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-debuginfoppc64le | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| 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-debuginfos390x | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| 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-debuginfox86_64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| 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 | kernelaarch64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| 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 | kernelppc64le | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| 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 | kernels390x | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesppc64le | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-moduless390x | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-moduless390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extraaarch64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extraaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrappc64le | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrappc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extras390x | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extras390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrax86_64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrax86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoaarch64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoaarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoppc64le | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfos390x | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfos390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfox86_64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfox86_64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-s390xs390x | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-s390xs390x | Advisory build | 4.18.0-477.10.1.el8_8 | RHSA-2023:2951 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 4.18.0-372.166.1.el8_6 | RHSA-2025:19222 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-x86_64x86_64 | 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/irdma: Fix a window for use-after-free During a destroy CQ an interrupt may cause processing of a CQE after CQ resources are freed by irdma_cq_free_rsrc(). Fix this by moving the call to irdma_cq_free_rsrc() after the irdma_sc_cleanup_ceqes(), which is called under the cq_lock.
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 triggered by destroying an irdma completion queue through the RDMA verbs path (/dev/infiniband/uverbs* → ib_uverbs_destroy_cq → irdma_destroy_cq); no remote packet parser reaches this free path. AC:L - An attacker who owns the RDMA context controls both sides of the race—posting work to keep CEQ completions pending and concurrently destroying the CQ—so the window between irdma_cq_free_rsrc() and irdma_sc_cleanup_ceqes() can be hit reliably by retrying. PR:L - InfiniBand user verbs are intended for unprivileged processes, and creating/destroying a CQ requires only an RDMA uverbs context, not capabilities in the init user namespace. UI:N - The attacker performs the verbs operations themselves; no action by another user is required. S:U - The use-after-free corrupts kernel memory within the same OS security authority and does not cross a VM, IOMMU, or sandbox boundary. C:H - Use-after-free of CQ resources while irdma_process_ceq()/irdma_sc_process_ceq() still handles CEQEs allows reclaim of freed DMA/slab state and attacker-controlled reads via the completion path. I:H - The same UAF lets the interrupt path operate on freed/reclaimed CQ state (including irdma_sc_cq_ack() doorbell writes and irdma_iwarp_ce_handler()'s indirect comp_handler call), enabling arbitrary write and control-flow hijack primitives. A:H - Even without full exploitation, processing CEQEs against freed CQ resources causes kernel oops/panic in interrupt/softirq context and takes the system down.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b48c24c2d710cf34810c555dcef883a3d35a9c08 to < 92520864ef9f912f38b403d172a0ded020683d55 (affected · git)b48c24c2d710cf34810c555dcef883a3d35a9c08 to < 0abf2eef80295923b819ce89ff9edc1fe61be17c (affected · git)b48c24c2d710cf34810c555dcef883a3d35a9c08 to < 350ac793a03c8a30a3f2b27fc282cd1c67070763 (affected · git)b48c24c2d710cf34810c555dcef883a3d35a9c08 to < 8ecef7890b3aea78c8bbb501a4b5b8134367b821 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.14 (affected)0 to < 5.14 (unaffected · semver)5.15.61 through 5.15.* (unaffected · semver)5.18.18 through 5.18.* (unaffected · semver)5.19.2 through 5.19.* (unaffected · semver)6.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
RDMA/irdma: Fix a window for use-after-free
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 12d713e636ce12eab17c92b98b5b4164c83f2e5bace757b59ebd48ed71efaa56
- Ingested
- 23 Sep 2026, 08:04:39 UTC
- Source record
- Official CVE record