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-98360

published high CVSS 3.1 · 7.0

RDMA/rxe: insert mcg into mcg_tree only after rxe_mcast_add() succeeds

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

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxa926a903b7dc39a8a949150258c09290998dd812 to < ddb43ac0926d4a931bc9b7744b93627f627457e5 · a926a903b7dc39a8a949150258c09290998dd812 to < c79a789aa15180a1543b5db49c343d12e3ec214d · a926a903b7dc39a8a949150258c09290998dd812 to < faae1fb4ccf8205806a8802c008798dabeb0205b · a926a903b7dc39a8a949150258c09290998dd812 to < 02c0a2fa69c16248a7432af8a6d64ab2a73a5283 · a926a903b7dc39a8a949150258c09290998dd812 to < d4fc4e37f8a143b0fe83b42c8fb48cf542154fee · a926a903b7dc39a8a949150258c09290998dd812 to < 1caceeb2d74bbe88223aea55eb8626b4c5f076fd · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 6.1.189 through 6.1.* (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 Advisory build 6.1.190-1 DLA-4841-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Debian bookworm linux-6.12 Advisory build 6.12.113-1~deb12u1 DLA-4850-1
Debian trixie linux Advisory build 6.12.113-1 DSA-6568-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
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

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: insert mcg into mcg_tree only after rxe_mcast_add() succeeds rxe_get_mcg() publishes a newly allocated multicast group in rxe->mcg_tree before programming the backing Ethernet multicast address with rxe_mcast_add(), which runs outside mcg_lock. A local userspace RDMA client reaches this path with ATTACH_MCAST on a UD QP; if rxe_mcast_add() then returns an error (for example -ENODEV when the backing netdev has been removed, or a propagated dev_mc_add() error), the unwind frees the published group without removing it from the tree. A later lookup of the same MGID dereferences the freed struct rxe_mcg from __rxe_lookup_mcg(). Fix this by keeping the new mcg private until rxe_mcast_add() succeeds. Split the tree publication into __rxe_publish_mcg(), call rxe_mcast_add() before taking the tree reference, and free the still-private mcg on failure. Because the group is never visible in mcg_tree until the multicast address is programmed, no concurrent caller can look it up or attach a QP to a group that is about to be torn down, so the error path needs no conditional unwind. If another caller publishes the same MGID while the address is being programmed, the post-add re-check under mcg_lock finds the winner; this caller then drops its private object and balances its own rxe_mcast_add() with rxe_mcast_del() before returning the winner. Reproduced by forcing the rxe_mcast_add() error return under KASAN: without the change the next attach to the same MGID reports a slab-use-after-free in __rxe_lookup_mcg(); with it the forced failure returns cleanly. A no-injection attach/detach regression, including a two-QP shared join/leave and re-attach, stays KASAN- and leak-clean.

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.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The faulty publish-then-free sequence is in rxe_get_mcg(), reached from the uverbs ATTACH_MCAST command (ib_uverbs_attach_mcast -> ib_attach_mcast -> rxe_attach_mcast) on a local UD QP. A remote RoCEv2 multicast packet (rxe_rcv_mcast_pkt -> rxe_lookup_mcg) can only hit the stale node after a local caller has already caused the failure. AC:H - The dangling mcg is only left behind when rxe_mcast_add() fails after the group is published. That needs ib_device_get_netdev() to return NULL while the rxe netdev is being unregistered (an admin or hardware event), or a GFP_ATOMIC failure in __hw_addr_create(). An unprivileged user cannot produce either on demand. PR:L - ib_uverbs_attach_mcast() and rxe_attach_mcast() have no capability check, so any user who can open the rxe uverbs device and create a UD QP can drive rxe_get_mcg(). Creating the rxe link itself (RDMA_NL_ADMIN_PERM, checked with netlink_capable against the init namespace) is admin setup the attacker does not perform. UI:N - The attacker issues ATTACH_MCAST for the failing MGID and then the follow-up attach/detach/lookup themselves; no other user has to act. S:U - The freed rxe_mcg is kernel heap memory in the same kernel security authority; there is no VM, IOMMU or sandbox boundary crossed. C:H - The freed struct rxe_mcg stays linked in rxe->mcg_tree. __rxe_lookup_mcg() walks its rb_node and mgid, and later code follows its qp_list, so reallocating that slab slot with attacker-chosen data gives a heap read primitive. I:H - After the free, __rxe_lookup_mcg() does kref_get() on the stale object, and rxe_attach_mcg() list_add()s an mca into its qp_list and updates qp_num. These are writes into reallocated memory, and the rb-tree insert/erase relinks through the freed node. A:H - The next ATTACH_MCAST, detach, or received multicast lookup for that MGID dereferences the freed rxe_mcg (KASAN slab-use-after-free in __rxe_lookup_mcg()), corrupting the rb-tree and crashing the kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux a926a903b7dc39a8a949150258c09290998dd812 to < ddb43ac0926d4a931bc9b7744b93627f627457e5 (affected · git)a926a903b7dc39a8a949150258c09290998dd812 to < c79a789aa15180a1543b5db49c343d12e3ec214d (affected · git)a926a903b7dc39a8a949150258c09290998dd812 to < faae1fb4ccf8205806a8802c008798dabeb0205b (affected · git)a926a903b7dc39a8a949150258c09290998dd812 to < 02c0a2fa69c16248a7432af8a6d64ab2a73a5283 (affected · git)a926a903b7dc39a8a949150258c09290998dd812 to < d4fc4e37f8a143b0fe83b42c8fb48cf542154fee (affected · git)a926a903b7dc39a8a949150258c09290998dd812 to < 1caceeb2d74bbe88223aea55eb8626b4c5f076fd (affected · git)Default: unaffected Linux · cna
Linux Linux 5.18 (affected)0 to < 5.18 (unaffected · semver)6.1.189 through 6.1.* (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

6

Provider assertions

1

Linux · cna

RDMA/rxe: insert mcg into mcg_tree only after rxe_mcast_add() succeeds

Provenance

Schema
5.2
Searchable
yes
Content hash
1f0692db3a5c6045211daf2ab93be392de77ce53f2ecd3cf7915ab544f180262
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