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… (CVE-2026-98524)
Description
A use-after-free vulnerability in the Linux kernel's rds_ib_map_frmr() function was resolved. The issue occurs when DMA mapping fails but the scatterlist pointer remains stored in the memory region (MR) structure, leading to a dangling pointer. This can cause local privilege escalation detected by KASAN during MR teardown.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel involves the rds_ib_map_frmr() function, which stores the caller's scatterlist in the MR before DMA mapping and registration complete. If DMA mapping fails, the scatterlist is freed but the MR may still hold a stale pointer, resulting in a use-after-free condition. This dangling pointer can lead to local privilege escalation. The fix ensures the scatterlist is stored in the MR only after successful DMA mapping, and on failure, the MR fields remain clear while the caller retains ownership of the scatterlist and pinned pages.
Potential Impact
This vulnerability can lead to local privilege escalation on affected Linux kernel systems by causing use-after-free conditions in the RDMA subsystem. It may allow a local attacker to execute code or escalate privileges due to improper memory handling in the rds_ib_map_frmr() function.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by changing the order of operations in rds_ib_map_frmr(). Users should update to the patched kernel version containing this fix. No additional mitigation is required beyond applying the official patch.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-wq82-wxrv-wcj7
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98524"]
Threat ID: 6ad520af2cdf04f656993ad1
Added to database: 10/18/2026, 19:40:31 UTC
Last enriched: 10/18/2026, 20:34:05 UTC
Last updated: 10/18/2026, 22:02:57 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.