CVE-2026-98524
Description
A flaw was found in the Linux kernel's Reliable Datagram Sockets (RDS) subsystem. When memory region mapping fails during InfiniBand operations, the kernel can retain a stale reference to memory buffers that have already been released. A local attacker could exploit this flaw to trigger a use-after-free condition, potentially leading to local privilege escalation or a denial of service through a system crash.
Mitigation
--- CME Mitigation Guidance (2026-10-20) ---
Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.
The highest-value action is to disable or restrict the RDS protocol and prevent unprivileged local users from creating RDS sockets or invoking rds_setsockopt on InfiniBand-enabled Linux systems: upgrade to the fixed release, which store the scatterlist in the MR only after DMA mapping succeeds, and unmap and clear MR fields if registration fails, closing RDS setsockopt calls triggering InfiniBand memory region mapping failures. Until patched, this is only a concern on Linux systems with local unprivileged user access permitting the creation of RDS sockets and invocation of rds_setsockopt — Non-Linux operating systems are unaffected — so Blacklist the rds and rds_ib kernel modules or restrict local unprivileged user permissions to open RDS sockets and execute rds_setsockopt operations. As a compensating measure, Deploy runtime memory error detection like KASAN to detect slab use-after-free conditions when the dangling scatterlist pointer is dereferenced during memory region teardown, Enable SLAB freelist randomization and pointer integrity verification to hinder exploitation of kernel slab memory corruption, Enforce SELinux in enforcing mode to restrict socket operations and confine post-exploitation actions of compromised processes, Deploy eBPF runtime security monitoring with Falco to detect anomalous kernel-level behavior or privilege escalation attempts via RDS setsockopt calls, Enable SMEP and SMAP to prevent the kernel from executing userspace code or directly accessing userspace data during memory corruption exploitation, and Enable kernel Control Flow Integrity and shadow call stack validation on indirect call targets to prevent control-flow hijacking. These controls limit blast radius and contain exploitation, but they do not fix the underlying slab use-after-free defect — apply the upstream patch to fully remediate.
Highest-impact CME: CME-301 SELinux (Enforcing Mode) (medium)
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 7.8 | N/A | N/A |
| Attack Vector | Local | N/A | N/A |
| Attack Complexity | Low | N/A | N/A |
| Privileges Required | Low | N/A | N/A |
| User Interaction | None | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | High | N/A | N/A |
| Integrity Impact | High | N/A | N/A |
| Availability Impact | High | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Understanding the Weakness (CWE)
Confidentiality
Technical Impact: Read Memory
If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
If the expired pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.
Integrity,Confidentiality,Availability
Technical Impact: Execute Unauthorized Code or Commands
If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.