Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-98524

published high CVSS 3.1 · 7.8

rds: ib: Clear the sg list when mapping an MR fails

Published
18 Oct 2026, 15:17:41 UTC
Updated
24 Oct 2026, 14:09:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1659185fb4d0025835eb2058a141f0746c5cab00 to < 1be3211e6ac77adbb1eac01314d989d243b32c59 · 1659185fb4d0025835eb2058a141f0746c5cab00 to < c42d316163f89cd23de2f3e24558177a8c29bad8 · 1659185fb4d0025835eb2058a141f0746c5cab00 to < 8dca3c81344532a7f05edb3d12f31f3009410a90 · 1659185fb4d0025835eb2058a141f0746c5cab00 to < 49ba5ed0129906e0362c2e4b5e21c89b2a41e115 · 1659185fb4d0025835eb2058a141f0746c5cab00 to < 4468df5bcdef959fd96494e9968f323561a45f4c · 1659185fb4d0025835eb2058a141f0746c5cab00 to < e2ee0616260080376123997488b5cf8a3870b8d9 · 1659185fb4d0025835eb2058a141f0746c5cab00 to < b36d32f30c3f1e58e3a5ae79d0f52836a316b36e · 1659185fb4d0025835eb2058a141f0746c5cab00 to < 58eb1b3325edac42dc6df72c80962bd53a3c8ca7 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.6 (affected) · 0 to < 4.6 (unaffected · semver) · 5.10.271 through 5.10.* (unaffected · semver) · 5.15.222 through 5.15.* (unaffected · semver) · 6.1.189 through 6.1.* (unaffected · semver) · 6.6.158 through 6.6.* (unaffected · semver) · 6.12.112 through 6.12.* (unaffected · semver) · 6.18.55 through 6.18.* (unaffected · semver) · 7.2.9 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux-6.12 Advisory build 6.12.113-1~deb12u1 DLA-4850-1
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1119.126~20.04.1 USN-8961-1
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1119 Advisory build 5.15.0-1119.126~20.04.1 USN-8961-1
Ubuntu focal linux-aws-5.15-headers-5.15.0-1119 Advisory build 5.15.0-1119.126~20.04.1 USN-8961-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu focal linux-aws-5.15-tools-5.15.0-1119 Advisory build 5.15.0-1119.126~20.04.1 USN-8961-1
Ubuntu focal linux-azure-5.15 Advisory build 5.15.0-1125.134~20.04.1 USN-8961-1
Ubuntu focal linux-azure-5.15-cloud-tools-5.15.0-1125 Advisory build 5.15.0-1125.134~20.04.1 USN-8961-1
Ubuntu focal linux-azure-5.15-headers-5.15.0-1125 Advisory build 5.15.0-1125.134~20.04.1 USN-8961-1
Ubuntu focal linux-azure-5.15-tools-5.15.0-1125 Advisory build 5.15.0-1125.134~20.04.1 USN-8961-1
Ubuntu focal linux-azure-fde-5.15 Advisory build 5.15.0-1124.133~20.04.1 USN-8961-1
Ubuntu focal linux-azure-fde-5.15-cloud-tools-5.15.0-1124 Advisory build 5.15.0-1124.133~20.04.1 USN-8961-1
Ubuntu focal linux-azure-fde-5.15-headers-5.15.0-1124 Advisory build 5.15.0-1124.133~20.04.1 USN-8961-1
Ubuntu focal linux-azure-fde-5.15-tools-5.15.0-1124 Advisory build 5.15.0-1124.133~20.04.1 USN-8961-1
Ubuntu focal linux-buildinfo-5.15.0-1070-nvidia-tegra Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-buildinfo-5.15.0-1070-nvidia-tegra-rt Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-buildinfo-5.15.0-1113-ibm Advisory build 5.15.0-1113.117~20.04.1 USN-8961-1
Ubuntu focal linux-buildinfo-5.15.0-1114-intel-iotg Advisory build 5.15.0-1114.120~20.04.1 USN-8961-1
Ubuntu focal linux-buildinfo-5.15.0-1116-oracle Advisory build 5.15.0-1116.122~20.04.1 USN-8961-1
Ubuntu focal linux-buildinfo-5.15.0-1119-aws Advisory build 5.15.0-1119.126~20.04.1 USN-8961-1
Ubuntu focal linux-buildinfo-5.15.0-1120-gcp Advisory build 5.15.0-1120.130~20.04.1 USN-8961-1
Ubuntu focal linux-buildinfo-5.15.0-1124-azure-fde Advisory build 5.15.0-1124.133~20.04.1 USN-8961-1
Ubuntu focal linux-buildinfo-5.15.0-1125-azure Advisory build 5.15.0-1125.134~20.04.1 USN-8961-1
Ubuntu focal linux-buildinfo-5.15.0-197-lowlatency Advisory build 5.15.0-197.207~20.04.1 USN-8961-1
Ubuntu focal linux-buildinfo-5.15.0-197-lowlatency-64k Advisory build 5.15.0-197.207~20.04.1 USN-8961-1
Ubuntu focal linux-buildinfo-5.15.0-202-generic Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-buildinfo-5.15.0-202-generic-64k Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-buildinfo-5.15.0-202-generic-lpae Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-cloud-tools-5.15.0-1114-intel-iotg Advisory build 5.15.0-1114.120~20.04.1 USN-8961-1
Ubuntu focal linux-cloud-tools-5.15.0-1119-aws Advisory build 5.15.0-1119.126~20.04.1 USN-8961-1
Ubuntu focal linux-cloud-tools-5.15.0-1124-azure-fde Advisory build 5.15.0-1124.133~20.04.1 USN-8961-1
Ubuntu focal linux-cloud-tools-5.15.0-1125-azure Advisory build 5.15.0-1125.134~20.04.1 USN-8961-1
Ubuntu focal linux-cloud-tools-5.15.0-197-lowlatency Advisory build 5.15.0-197.207~20.04.1 USN-8961-1
Ubuntu focal linux-cloud-tools-5.15.0-202-generic Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1120.130~20.04.1 USN-8961-1
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1120 Advisory build 5.15.0-1120.130~20.04.1 USN-8961-1
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1120 Advisory build 5.15.0-1120.130~20.04.1 USN-8961-1
Ubuntu focal linux-headers-5.15.0-1070-nvidia-tegra Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-headers-5.15.0-1070-nvidia-tegra-rt Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-headers-5.15.0-1113-ibm Advisory build 5.15.0-1113.117~20.04.1 USN-8961-1
Ubuntu focal linux-headers-5.15.0-1114-intel-iotg Advisory build 5.15.0-1114.120~20.04.1 USN-8961-1
Ubuntu focal linux-headers-5.15.0-1116-oracle Advisory build 5.15.0-1116.122~20.04.1 USN-8961-1
Ubuntu focal linux-headers-5.15.0-1119-aws Advisory build 5.15.0-1119.126~20.04.1 USN-8961-1
Ubuntu focal linux-headers-5.15.0-1120-gcp Advisory build 5.15.0-1120.130~20.04.1 USN-8961-1
Ubuntu focal linux-headers-5.15.0-1124-azure-fde Advisory build 5.15.0-1124.133~20.04.1 USN-8961-1
Ubuntu focal linux-headers-5.15.0-1125-azure Advisory build 5.15.0-1125.134~20.04.1 USN-8961-1
Ubuntu focal linux-headers-5.15.0-197-lowlatency Advisory build 5.15.0-197.207~20.04.1 USN-8961-1
Ubuntu focal linux-headers-5.15.0-197-lowlatency-64k Advisory build 5.15.0-197.207~20.04.1 USN-8961-1
Ubuntu focal linux-headers-5.15.0-202-generic Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-headers-5.15.0-202-generic-64k Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-headers-5.15.0-202-generic-lpae Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-hwe-5.15 Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-hwe-5.15-cloud-tools-5.15.0-202 Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-hwe-5.15-headers-5.15.0-202 Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-hwe-5.15-tools-5.15.0-202 Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-ibm-5.15 Advisory build 5.15.0-1113.117~20.04.1 USN-8961-1
Ubuntu focal linux-ibm-5.15-headers-5.15.0-1113 Advisory build 5.15.0-1113.117~20.04.1 USN-8961-1
Ubuntu focal linux-ibm-5.15-source-5.15.0 Advisory build 5.15.0-1113.117~20.04.1 USN-8961-1
Ubuntu focal linux-ibm-5.15-tools-5.15.0-1113 Advisory build 5.15.0-1113.117~20.04.1 USN-8961-1
Ubuntu focal linux-image-5.15.0-202-generic Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-image-5.15.0-202-generic-lpae Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-image-unsigned-5.15.0-1070-nvidia-tegra Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-image-unsigned-5.15.0-1070-nvidia-tegra-rt Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-image-unsigned-5.15.0-1113-ibm Advisory build 5.15.0-1113.117~20.04.1 USN-8961-1
Ubuntu focal linux-image-unsigned-5.15.0-1114-intel-iotg Advisory build 5.15.0-1114.120~20.04.1 USN-8961-1
Ubuntu focal linux-image-unsigned-5.15.0-1116-oracle Advisory build 5.15.0-1116.122~20.04.1 USN-8961-1
Ubuntu focal linux-image-unsigned-5.15.0-1119-aws Advisory build 5.15.0-1119.126~20.04.1 USN-8961-1
Ubuntu focal linux-image-unsigned-5.15.0-1120-gcp Advisory build 5.15.0-1120.130~20.04.1 USN-8961-1
Ubuntu focal linux-image-unsigned-5.15.0-1124-azure-fde Advisory build 5.15.0-1124.133~20.04.1 USN-8961-1
Ubuntu focal linux-image-unsigned-5.15.0-1125-azure Advisory build 5.15.0-1125.134~20.04.1 USN-8961-1
Ubuntu focal linux-image-unsigned-5.15.0-197-lowlatency Advisory build 5.15.0-197.207~20.04.1 USN-8961-1
Ubuntu focal linux-image-unsigned-5.15.0-197-lowlatency-64k Advisory build 5.15.0-197.207~20.04.1 USN-8961-1
Ubuntu focal linux-image-unsigned-5.15.0-202-generic Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-image-unsigned-5.15.0-202-generic-64k Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-intel-iotg-5.15 Advisory build 5.15.0-1114.120~20.04.1 USN-8961-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-5.15.0-1114 Advisory build 5.15.0-1114.120~20.04.1 USN-8961-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-common Advisory build 5.15.0-1114.120~20.04.1 USN-8961-1
Ubuntu focal linux-intel-iotg-5.15-headers-5.15.0-1114 Advisory build 5.15.0-1114.120~20.04.1 USN-8961-1
Ubuntu focal linux-intel-iotg-5.15-tools-5.15.0-1114 Advisory build 5.15.0-1114.120~20.04.1 USN-8961-1
Ubuntu focal linux-intel-iotg-5.15-tools-common Advisory build 5.15.0-1114.120~20.04.1 USN-8961-1
Ubuntu focal linux-intel-iotg-5.15-tools-host Advisory build 5.15.0-1114.120~20.04.1 USN-8961-1
Ubuntu focal linux-lowlatency-hwe-5.15 Advisory build 5.15.0-197.207~20.04.1 USN-8961-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-197 Advisory build 5.15.0-197.207~20.04.1 USN-8961-1
Ubuntu focal linux-lowlatency-hwe-5.15-headers-5.15.0-197 Advisory build 5.15.0-197.207~20.04.1 USN-8961-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-5.15.0-197 Advisory build 5.15.0-197.207~20.04.1 USN-8961-1
Ubuntu focal linux-modules-5.15.0-1070-nvidia-tegra Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-modules-5.15.0-1070-nvidia-tegra-rt Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-modules-5.15.0-1113-ibm Advisory build 5.15.0-1113.117~20.04.1 USN-8961-1
Ubuntu focal linux-modules-5.15.0-1114-intel-iotg Advisory build 5.15.0-1114.120~20.04.1 USN-8961-1
Ubuntu focal linux-modules-5.15.0-1116-oracle Advisory build 5.15.0-1116.122~20.04.1 USN-8961-1
Ubuntu focal linux-modules-5.15.0-1119-aws Advisory build 5.15.0-1119.126~20.04.1 USN-8961-1
Ubuntu focal linux-modules-5.15.0-1120-gcp Advisory build 5.15.0-1120.130~20.04.1 USN-8961-1
Ubuntu focal linux-modules-5.15.0-1124-azure-fde Advisory build 5.15.0-1124.133~20.04.1 USN-8961-1
Ubuntu focal linux-modules-5.15.0-1125-azure Advisory build 5.15.0-1125.134~20.04.1 USN-8961-1
Ubuntu focal linux-modules-5.15.0-197-lowlatency Advisory build 5.15.0-197.207~20.04.1 USN-8961-1
Ubuntu focal linux-modules-5.15.0-197-lowlatency-64k Advisory build 5.15.0-197.207~20.04.1 USN-8961-1
Ubuntu focal linux-modules-5.15.0-202-generic Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-modules-5.15.0-202-generic-64k Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-modules-5.15.0-202-generic-lpae Advisory build 5.15.0-202.212~20.04.1 USN-8961-1
Ubuntu focal linux-modules-extra-5.15.0-1070-nvidia-tegra Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-modules-extra-5.15.0-1113-ibm Advisory build 5.15.0-1113.117~20.04.1 USN-8961-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

27

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The attacker reaches patched rds_ib_map_frmr() through sendmsg() with a local RDS_CMSG_RDMA_MAP control message; no RDS packet field from a remote peer supplies the scatterlist or faulty ownership state. AC:L - On HNS hardware, the attacker can start an outgoing RDS connection and retry sendmsg() while its QP is RESET/INIT/RTR; check_send_valid() makes hns_roce_v2_post_send() return -EINVAL to rds_ib_post_reg_frmr(), creating the required failure. PR:L - rds_create(), rds_bind(), and rds_sendmsg() impose no capability or authentication check, and __rds_rdma_map() accepts an unprivileged process whenever can_do_mlock() sees a nonzero RLIMIT_MEMLOCK; RDS/IB merely requires the host's initial network namespace. UI:N - The attacking process performs both RDS_CMSG_RDMA_MAP and the zero-cookie setsockopt(SOL_RDS, RDS_FREE_MR) that calls rds_ib_flush_mrs(); no victim action is required. S:U - The stale ibmr->sg is consumed by __rds_ib_teardown_mr() within the host kernel, so exploitation elevates authority inside that same kernel rather than crossing a VM, IOMMU, or other security boundary. C:H - __rds_ib_teardown_mr() obtains page pointers with sg_page() from a freed, reclaimable scatterlist; attacker-controlled reclamation and the subsequent invalid free can enable kernel-memory compromise and disclosure. I:H - Teardown passes page pointers taken from the stale scatterlist to unpin_user_pages_dirty_lock() and then kfree()s the already-freed or reallocated array, enabling page-refcount and heap corruption usable for arbitrary writes or control-flow takeover. A:H - The observed slab use-after-free occurs in __rds_ib_teardown_mr(); dereferencing an invalid sg_page(), unpinning the resulting bogus page, or freeing the dangling scatterlist can produce a kernel oops or panic.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1659185fb4d0025835eb2058a141f0746c5cab00 to < 1be3211e6ac77adbb1eac01314d989d243b32c59 (affected · git)1659185fb4d0025835eb2058a141f0746c5cab00 to < c42d316163f89cd23de2f3e24558177a8c29bad8 (affected · git)1659185fb4d0025835eb2058a141f0746c5cab00 to < 8dca3c81344532a7f05edb3d12f31f3009410a90 (affected · git)1659185fb4d0025835eb2058a141f0746c5cab00 to < 49ba5ed0129906e0362c2e4b5e21c89b2a41e115 (affected · git)1659185fb4d0025835eb2058a141f0746c5cab00 to < 4468df5bcdef959fd96494e9968f323561a45f4c (affected · git)1659185fb4d0025835eb2058a141f0746c5cab00 to < e2ee0616260080376123997488b5cf8a3870b8d9 (affected · git)1659185fb4d0025835eb2058a141f0746c5cab00 to < b36d32f30c3f1e58e3a5ae79d0f52836a316b36e (affected · git)1659185fb4d0025835eb2058a141f0746c5cab00 to < 58eb1b3325edac42dc6df72c80962bd53a3c8ca7 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.6 (affected)0 to < 4.6 (unaffected · semver)5.10.271 through 5.10.* (unaffected · semver)5.15.222 through 5.15.* (unaffected · semver)6.1.189 through 6.1.* (unaffected · semver)6.6.158 through 6.6.* (unaffected · semver)6.12.112 through 6.12.* (unaffected · semver)6.18.55 through 6.18.* (unaffected · semver)7.2.9 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

rds: ib: Clear the sg list when mapping an MR fails

Provenance

Schema
5.2
Searchable
yes
Content hash
65cbe4e949c708a045dee24d6b87864765462ad84aaf00c941fd9969d37d0257
Ingested
24 Oct 2026, 14:14:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected