CVE-2026-98360·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8, 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98360 scores 7 on CVSS, so a successful attack would be serious — but at 0.13%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to a patched version to resolve a use-after-free vulnerability in RDMA multicast group handling. Apply kernel version 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8 or later depending on your current stable branch, or install your distribution's patched kernel package. This fix ensures multicast groups are only added to the kernel tree after successfully programming the backing Ethernet interface, preventing memory corruption when attachment failures occur.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with 'uname -r' and compare against the fixed versions (6.1.189+, 6.6.158+, 6.12.112+, 6.18.54+, 7.2.8+)
- Step 2: Verify if RDMA over Converged Ethernet (RoCE) is in use by checking 'lsmod | grep rdma' and 'lsmod | grep rxe' for the vulnerable rxe driver
- Step 3: Search kernel logs for 'slab-use-after-free' or 'rxe_lookup_mcg' errors with 'sudo dmesg | grep -i 'use-after-free\|rxe'
- Step 4: After patching, confirm the new kernel version is loaded with 'uname -r' and reboot if necessary with 'sudo reboot'
FAQ
What is CVE-2026-98360?
CVE-2026-98360 is a use-after-free vulnerability in the Linux kernel's RDMA/RXE (software RDMA) driver where a multicast group becomes accessible before the underlying network interface is properly configured, leading to potential memory corruption if configuration fails.
Is CVE-2026-98360 being actively exploited?
No, CVE-2026-98360 is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are available. However, local RDMA clients with unprivileged access can trigger the vulnerability.
What versions of Kernel are affected by CVE-2026-98360?
All kernel versions prior to 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8 and mainline 7.3 are affected. The vulnerability impacts stable branch kernels across multiple release lines.
How do I check if my server is vulnerable to CVE-2026-98360?
Run 'uname -r' to get your kernel version, then verify it against the fixed versions listed above. If your kernel version is earlier than the fixed release in your branch, your system is vulnerable.
Does Defensia detect CVE-2026-98360?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-98360 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/02c0a2fa69c16248a7432af8a6d64ab2a73a5283
- https://git.kernel.org/stable/c/1caceeb2d74bbe88223aea55eb8626b4c5f076fd
- https://git.kernel.org/stable/c/c79a789aa15180a1543b5db49c343d12e3ec214d
- https://git.kernel.org/stable/c/d4fc4e37f8a143b0fe83b42c8fb48cf542154fee
- https://git.kernel.org/stable/c/ddb43ac0926d4a931bc9b7744b93627f627457e5
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98360. Free for 1 server.
Get started free