{"id":40996,"date":"2026-10-19T00:31:47","date_gmt":"2026-10-18T16:31:47","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98524"},"modified":"2026-10-19T00:31:47","modified_gmt":"2026-10-18T16:31:47","slug":"cve-2026-98524","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98524","title":{"rendered":"CVE-2026-98524 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nrds: ib: Clear the sg"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>rds: ib: Clear the sg list when mapping an MR fails<\/p>\n<p>rds_ib_map_frmr() stores the caller&#8217;s scatterlist in the MR before DMA<br \/>\nmapping and registration can fail. On failure, __rds_rdma_map() unpins<br \/>\nthe pages and frees the scatterlist, but rds_ib_free_frmr() can still<br \/>\nreturn the MR to the pool with the stale pointer set.<\/p>\n<p>This leaves the pool with a dangling scatterlist and can lead to local<br \/>\nprivilege escalation. KASAN detects the resulting use-after-free when the<br \/>\nMR is later torn down:<\/p>\n<p>BUG: KASAN: slab-use-after-free in __rds_ib_teardown_mr<br \/>\nRead of size 8<\/p>\n<p>Call Trace:<br \/>\n __rds_ib_teardown_mr<br \/>\n rds_ib_unreg_frmr<br \/>\n rds_ib_flush_mr_pool<br \/>\n rds_ib_flush_mrs<br \/>\n rds_free_mr<br \/>\n rds_setsockopt<\/p>\n<p>Store the scatterlist in the MR only after DMA mapping succeeds. If DMA<br \/>\nmapping fails, return directly while the MR fields remain clear; the caller<br \/>\nkeeps ownership of the scatterlist and its pinned pages. If a later<br \/>\nregistration step fails, unmap the scatterlist and clear the MR fields<br \/>\nbefore returning.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>rds: ib: Clear the sg list when mapping an MR fails<\/p>\n<p>rds_ib_map_frmr() stores the caller&#8217;s scatterlist in the MR before DMA<br \/>\nmapping<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-40996","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/40996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=40996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}