Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-98360

HIGH 7.0EPSS 3%

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

Mitigation

  • Upgrade Linux to 1caceeb2d74bbe88223aea55eb8626b4c5f076fd or later.

Who should check

  • Anyone running Linux >= a926a903b7dc39a8a949150258c09290998dd812, < ddb43ac0926d4a931bc9b7744b93627f627457e5; >= a926a903b7dc39a8a949150258c09290998dd812, < c79a789aa15180a1543b5db49c343d12e3ec214d; >= a926a903b7dc39a8a949150258c09290998dd812, < faae1fb4ccf8205806a8802c008798dabeb0205b; >= a926a903b7dc39a8a949150258c09290998dd812, < 02c0a2fa69c16248a7432af8a6d64ab2a73a5283; >= a926a903b7dc39a8a949150258c09290998dd812, < d4fc4e37f8a143b0fe83b42c8fb48cf542154fee; >= a926a903b7dc39a8a949150258c09290998dd812, < 1caceeb2d74bbe88223aea55eb8626b4c5f076fd
  • Anyone running Linux 5.18

Vulnerability facts

Affected
Linux >= a926a903b7dc39a8a949150258c09290998dd812, < ddb43ac0926d4a931bc9b7744b93627f627457e5; >= a926a903b7dc39a8a949150258c09290998dd812, < c79a789aa15180a1543b5db49c343d12e3ec214d; >= a926a903b7dc39a8a949150258c09290998dd812, < faae1fb4ccf8205806a8802c008798dabeb0205b; >= a926a903b7dc39a8a949150258c09290998dd812, < 02c0a2fa69c16248a7432af8a6d64ab2a73a5283; >= a926a903b7dc39a8a949150258c09290998dd812, < d4fc4e37f8a143b0fe83b42c8fb48cf542154fee; >= a926a903b7dc39a8a949150258c09290998dd812, < 1caceeb2d74bbe88223aea55eb8626b4c5f076fd; Linux 5.18
Fixed in
Linux 02c0a2fa69c16248a7432af8a6d64ab2a73a5283, Linux 1caceeb2d74bbe88223aea55eb8626b4c5f076fd
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= a926a903b7dc39a8a949150258c09290998dd812, < ddb43ac0926d4a931bc9b7744b93627f627457e5; >= a926a903b7dc39a8a949150258c09290998dd812, < c79a789aa15180a1543b5db49c343d12e3ec214d; >= a926a903b7dc39a8a949150258c09290998dd812, < faae1fb4ccf8205806a8802c008798dabeb0205b; >= a926a903b7dc39a8a949150258c09290998dd812, < 02c0a2fa69c16248a7432af8a6d64ab2a73a5283; >= a926a903b7dc39a8a949150258c09290998dd812, < d4fc4e37f8a143b0fe83b42c8fb48cf542154fee; >= a926a903b7dc39a8a949150258c09290998dd812, < 1caceeb2d74bbe88223aea55eb8626b4c5f076fd—cvelist
Linux5.18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-98360. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98360.md
Affected: Linux >= a926a903b7dc39a8a949150258c09290998dd812, < ddb43ac0926d4a931bc9b7744b93627f627457e5; >= a926a903b7dc39a8a949150258c09290998dd812, < c79a789aa15180a1543b5db49c343d12e3ec214d; >= a926a903b7dc39a8a949150258c09290998dd812, < faae1fb4ccf8205806a8802c008798dabeb0205b; >= a926a903b7dc39a8a949150…
Fixed in: Linux 02c0a2fa69c16248a7432af8a6d64ab2a73a5283, Linux 1caceeb2d74bbe88223aea55eb8626b4c5f076fd

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-98360 being exploited?

There is no confirmed exploitation: CVE-2026-98360 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-98360?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-98360?

Linux >= a926a903b7dc39a8a949150258c09290998dd812, < ddb43ac0926d4a931bc9b7744b93627f627457e5; >= a926a903b7dc39a8a949150258c09290998dd812, < c79a789aa15180a1543b5db49c343d12e3ec214d; >= a926a903b7dc39a8a949150258c09290998dd812, < faae1fb4ccf8205806a8802c008798dabeb0205b; >= a926a903b7dc39a8a949150258c09290998dd812, < 02c0a2fa69c16248a7432af8a6d64ab2a73a5283; >= a926a903b7dc39a8a949150258c09290998dd812, < d4fc4e37f8a143b0fe83b42c8fb48cf542154fee; >= a926a903b7dc39a8a949150258c09290998dd812, < 1caceeb2d74bbe88223aea55eb8626b4c5f076fd; Linux 5.18.

Is there a fix for CVE-2026-98360?

Yes. Fixed in Linux 02c0a2fa69c16248a7432af8a6d64ab2a73a5283, Linux 1caceeb2d74bbe88223aea55eb8626b4c5f076fd. Upgrade Linux to 1caceeb2d74bbe88223aea55eb8626b4c5f076fd or later.

How do I check if I'm affected by CVE-2026-98360?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors