CVE Database›Document archive›CVE-2025-71298

CVE-2025-71298

kernel: drm/tests: shmem: Hold reservation lock around madvise

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · May 8, 2026

Updated · October 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/tests: shmem: Hold reservation lock around madvise

Acquire and release the GEM object's reservation lock around calls to the object's madvide operation. The tests use drm_gem_shmem_madvise_locked(), which led to errors such as show below.

[ 58.339389] WARNING: CPU: 1 PID: 1352 at drivers/gpu/drm/drm_gem_shmem_helper.c:499 drm_gem_shmem_madvise_locked+0xde/0x140

Only export the new helper drm_gem_shmem_madvise() for Kunit tests. This is not an interface for regular drivers.

Statement

This vulnerability is rated as Moderate impact because exploitation is restricted to local environments and only causes a kernel warning or denial of service rather than unauthorized privilege escalation or data exposure. The issue exists specifically within the Direct Rendering Manager (DRM) shared memory test suite, which is not triggered during standard production operations. Consequently, systems running default Red Hat configurations are not exposed during normal system use.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

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

CWE-413 · Improper Resource Locking