← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel RDS IB Driver Leaves the Scatterlist Pointer Set in the MR After DMA Mapping Fails

Last refreshed2026-11-16

Status: UPDATED  |  Advisory ID: CVE-2026-98524

Key Details

CVECVE-2026-98524
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-10-24
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel
Exploitation prediction (EPSS)
0.17% probability of exploitation in the next 30 days (7% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-98524
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-98524
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.