CVE-2026-138861

Description

A flaw was found in the Linux kernel's Xen grant device (gntdev) driver. While the driver intends to reject writable private mappings of foreign grant pages, it fails to clear the write permission flags on read-only mappings. A local user can exploit this vulnerability by creating a read-only mapping and subsequently upgrading it to writable using the mprotect() system call, forcing an invalid copy-on-write operation on memory pages without proper backing. This flaw may result in kernel memory corruption or a Denial of Service (DoS) via a system crash.

Statement

This vulnerability is rated as having a Moderate impact because exploitation is restricted to local users and leads to a denial of service (kernel crash) without allowing data leakage or privilege elevation. The flaw is confined to systems operating as Xen guests where the Xen grant device interface is loaded and exposed to userspace. Consequently, standard deployments that do not run under Xen virtualization or do not grant unprivileged access to the device node remain unaffected.

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 Score5.5N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

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

Understanding the Weakness (CWE)

Confidentiality,Integrity

Technical Impact: Read Application Data; Modify Application Data

Frequently Asked Questions

Want to get errata notifications? Sign up here.