Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-98366

published high CVSS 3.1 · 7.8

RDMA/rxe: validate access flags before swapping the MR's PD

Published
06 Oct 2026, 08:46:51 UTC
Updated
19 Oct 2026, 09:18:18 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux544c7f62cf32db2bd358f1e8a40a98bf98fa2a5c to < 08f12745cb72981aa2cabe214af0c7a42a856f0a · 544c7f62cf32db2bd358f1e8a40a98bf98fa2a5c to < 7230cc456d4bb2221c20c5f1d22b38b8576aa16f · 544c7f62cf32db2bd358f1e8a40a98bf98fa2a5c to < fe602c91a52e161ace4afd5bdb8f33270c554c6f · 544c7f62cf32db2bd358f1e8a40a98bf98fa2a5c to < 4dd7a53f1c5b44693c26dac4b9b5bd5bb9d604c8 · 544c7f62cf32db2bd358f1e8a40a98bf98fa2a5c to < ae36a5b609ae79f4de966328b78d2584be9719a4 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.5 (affected) · 0 to < 6.5 (unaffected · semver) · 6.6.158 through 6.6.* (unaffected · semver) · 6.12.112 through 6.12.* (unaffected · semver) · 6.18.54 through 6.18.* (unaffected · semver) · 7.2.8 through 7.2.* (unaffected · semver) · 7.3 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
Debian bookworm linux-6.12 Advisory build 6.12.113-1~deb12u1 DLA-4850-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Debian trixie linux Advisory build 6.12.113-1 DSA-6568-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-docaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572

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: validate access flags before swapping the MR's PD rxe_rereg_user_mr() reassigns mr->ibmr.pd first and only then validates the IB_MR_REREG_ACCESS argument: if (flags & IB_MR_REREG_PD) { rxe_put(old_pd); rxe_get(pd); mr->ibmr.pd = ibpd; } if (flags & IB_MR_REREG_ACCESS) { if (access & ~RXE_ACCESS_SUPPORTED_MR) return ERR_PTR(-EOPNOTSUPP); mr->access = access; } Both flags pass the entry check because RXE_MR_REREG_SUPPORTED is IB_MR_REREG_PD | IB_MR_REREG_ACCESS, so a caller can reach the access check with mr->ibmr.pd already reassigned. mr->ibmr.pd is owned by the core, which adjusts pd->usecnt only on the success path: ib_uverbs_rereg_mr() jumps to put_new_uobj on a driver error without undoing the reassignment, so mr->pd == new_pd while the usecnts still charge the MR to orig_pd. ib_dereg_mr_user() then decrements new_pd, whose count can reach zero while a memory window still references it; uverbs_free_pd() frees the PD on that count alone and rxe_mw_cleanup() writes to freed memory: BUG: KASAN: slab-use-after-free in __rxe_put+0x31/0xa0 Write of size 4 at addr ffff8881301dd690 by task rxe_poc/591 __rxe_put+0x31/0xa0 rxe_mw_cleanup+0x42/0x200 __rxe_cleanup+0x115/0x370 rxe_dealloc_mw+0x4c/0x80 Allocated by task 591: ib_uverbs_alloc_pd+0x258/0x540 Freed by task 591: ib_dealloc_pd_user+0x174/0x210 uverbs_free_pd+0x8d/0xc0 ib_uverbs_dealloc_pd+0x18e/0x1d0 Validate the access flags before mutating any state so the callback either applies every requested change or none.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

35

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 bad access_flags/pd_handle reach rxe_rereg_user_mr() only through a local IB_USER_VERBS_CMD_REREG_MR on /dev/infiniband/uverbsN via ib_uverbs_rereg_mr(); no RoCE packet carries rereg arguments, so a remote peer cannot drive it. AC:L - Deterministic: flags IB_MR_REREG_PD|IB_MR_REREG_ACCESS with access=IB_ACCESS_RELAXED_ORDERING passes core ib_check_mr_access() but fails RXE_ACCESS_SUPPORTED_MR after mr->ibmr.pd was swapped; the attacker then deregs the MR and deallocs the PD its own MW still uses. No race. PR:L - uverbs_devnode() creates /dev/infiniband/uverbsN mode 0666 and there is no capability check from ib_uverbs_rereg_mr() to rxe_rereg_user_mr(); any unprivileged local user owning a PD/MR/MW triggers it. Only the one-time admin rxe link creation (RDMA_NL_ADMIN_PERM) is needed. UI:N - The attacker's own process issues alloc_pd, reg_mr, alloc_mw, the failing rereg_mr, dereg_mr and dealloc_pd; no other user or administrator action is involved. S:U - The freed rxe PD and the corrupted refcounts are kernel heap objects within the same kernel security authority; no VM, IOMMU or sandbox boundary is crossed. C:H - After uverbs_free_pd() frees the PD on usecnt alone, the surviving MW still holds a dangling pointer to it; reclaiming that slab object with sprayed data turns later accesses through the MW into a use-after-free read of attacker-shaped memory. I:H - rxe_mw_cleanup() -> __rxe_put() writes (refcount decrement, KASAN write of size 4) into the freed PD, and the inconsistent mr->pd vs usecnt state can be repeated; a decrement into reallocated slab memory is a usable corruption primitive toward privilege escalation. A:H - The use-after-free write in __rxe_put() during rxe_dealloc_mw() corrupts freed slab memory and can oops or panic the kernel, and an unprivileged user can repeat it at will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 544c7f62cf32db2bd358f1e8a40a98bf98fa2a5c to < 08f12745cb72981aa2cabe214af0c7a42a856f0a (affected · git)544c7f62cf32db2bd358f1e8a40a98bf98fa2a5c to < 7230cc456d4bb2221c20c5f1d22b38b8576aa16f (affected · git)544c7f62cf32db2bd358f1e8a40a98bf98fa2a5c to < fe602c91a52e161ace4afd5bdb8f33270c554c6f (affected · git)544c7f62cf32db2bd358f1e8a40a98bf98fa2a5c to < 4dd7a53f1c5b44693c26dac4b9b5bd5bb9d604c8 (affected · git)544c7f62cf32db2bd358f1e8a40a98bf98fa2a5c to < ae36a5b609ae79f4de966328b78d2584be9719a4 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.5 (affected)0 to < 6.5 (unaffected · semver)6.6.158 through 6.6.* (unaffected · semver)6.12.112 through 6.12.* (unaffected · semver)6.18.54 through 6.18.* (unaffected · semver)7.2.8 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

1

Linux · cna

RDMA/rxe: validate access flags before swapping the MR's PD

Provenance

Schema
5.2
Searchable
yes
Content hash
c0b75fbaf856c82212daa6cc9adb8371ebc61d393115c0b830bc09276f0d55d7
Ingested
19 Oct 2026, 09:35:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected