CVE-2026-98524·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: rds: ib: Clear the sg list when mapping an MR fails rds_ib_map_frmr() stores the caller's scatterlist in the MR before DMA mapping and registration can fail. On failure, __rds_rdma_map() unpins the pages and frees the scatterlist, but rds_ib_free_frmr() can still return the MR to the pool with the stale pointer set. This leaves the pool with a dangling scatterlist and can lead to local privilege escalation. KASAN detects the resulting use-after-free when the MR is later torn down: BUG: KASAN: slab-use-after-free in __rds_ib_teardown_mr Read of size 8 Call Trace: __rds_ib_teardown_mr rds_ib_unreg_frmr rds_ib_flush_mr_pool rds_ib_flush_mrs rds_free_mr rds_setsockopt Store the scatterlist in the MR only after DMA mapping succeeds. If DMA mapping fails, return directly while the MR fields remain clear; the caller keeps ownership of the scatterlist and its pinned pages. If a later registration step fails, unmap the scatterlist and clear the MR fields before returning.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.55, 7.2.9, 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.22% — higher than 12% 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-98524 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.22%, 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 stable release to resolve a local privilege escalation vulnerability in the RDS (Reliable Datagram Sockets) IB module. If you run kernel 5.10, update to 5.10.271 or later; if you run 5.15, update to 5.15.222 or later; if you run 6.1, update to 6.1.189 or later; if you run 6.6, update to 6.6.158 or later; if you run 6.12, update to 6.12.112 or later; if you run 6.18, update to 6.18.55 or later; or if you run 7.2, update to 7.2.9 or later. Most users should install their distribution's patched kernel package rather than switching to mainline.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if RDS/RDMA modules are loaded: lsmod | grep rds
- Check for KASAN slab-use-after-free errors in system logs: sudo journalctl -xe | grep -i 'kasan\|use-after-free\|__rds_ib_teardown_mr'
- After patching, confirm the new kernel version loaded: uname -r (should show updated version after reboot)
FAQ
What is CVE-2026-98524?
This is a local privilege escalation vulnerability in the Linux kernel's RDS IB (Remote Direct Memory Access over InfiniBand) module where a stale scatterlist pointer can remain in a memory registration pool after a DMA mapping failure, leading to use-after-free conditions that allow local attackers to escalate privileges.
Is CVE-2026-98524 being actively exploited?
No, this vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, the vulnerability is high severity (CVSS 7.8) and allows local privilege escalation, so prompt patching is still recommended.
What versions of Kernel are affected by CVE-2026-98524?
The vulnerability affects kernel versions prior to the following fixed releases: 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.55, 7.2.9, and mainline 7.3. Systems running earlier versions within each stable branch are vulnerable.
How do I check if my server is vulnerable to CVE-2026-98524?
Run 'uname -r' to get your kernel version, then compare it against the fixed versions above for your kernel series. Additionally, check if RDS modules are loaded with 'lsmod | grep rds'. Servers without RDS/RDMA functionality enabled have reduced risk.
Does Defensia detect CVE-2026-98524?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-98524 will appear in your dashboard with remediation steps tailored to your kernel version.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1be3211e6ac77adbb1eac01314d989d243b32c59
- https://git.kernel.org/stable/c/4468df5bcdef959fd96494e9968f323561a45f4c
- https://git.kernel.org/stable/c/49ba5ed0129906e0362c2e4b5e21c89b2a41e115
- https://git.kernel.org/stable/c/58eb1b3325edac42dc6df72c80962bd53a3c8ca7
- https://git.kernel.org/stable/c/8dca3c81344532a7f05edb3d12f31f3009410a90
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98524. Free for 1 server.
Get started free