CVE-2026-99642

Description

A flaw was found in the Linux kernel's memory management subsystem. The memfd_pin_folios() function pins memory pages from the page cache without acquiring the proper lock, allowing concurrent memory compaction operations to replace pages while they are being pinned. A local user could exploit this race condition during Direct Memory Access (DMA) operations, leading to data corruption and stale memory reads.

Statement

This vulnerability is rated as Moderate severity because exploitation is restricted to local unprivileged users who must win a race condition against kernel memory compaction or huge page collapse mechanisms. The issue only impacts systems utilizing specific direct memory access interfaces such as user device memory buffers or I/O memory management subsystems backed by shared anonymous memory. Because the detached pages remain pinned, the failure does not cross security boundaries to create arbitrary memory disclosure or use-after-free conditions, limiting consequences strictly to data inconsistency or stale reads within the local process's allocated buffers.

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 HatNVDcve.org
Base Score4.4N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityLowN/AN/A
Integrity ImpactLowN/AN/A
Availability ImpactNoneN/AN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Understanding the Weakness (CWE)

Integrity,Availability

Technical Impact: Modify Application Data; DoS: Instability; DoS: Crash, Exit, or Restart

When a resource is not properly locked, an attacker could modify the resource while it is being operated on by the product. This might violate the product's assumption that the resource will not change, potentially leading to unexpected behaviors.

Frequently Asked Questions

Want to get errata notifications? Sign up here.