Skip to main content

Linux Kernel CVE-2025-71298

| EUVDEUVD-2025-209747 MEDIUM
2026-05-08 Linux GHSA-j7c4-w5pq-7cg7
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local user access
  2. Delivery
    Load DRM test module
  3. Exploit
    Execute vulnerable test code
  4. Execution
    Trigger madvise without lock
  5. Impact
    Kernel warning and subsystem instability

Vulnerability Assessment

Exploitation Conditions

Exploitation requires the following specific conditions: (1) The kernel must be compiled with DRM test support enabled (CONFIG_DRM_GEM_SHMEM_HELPER and test module support), which is atypical in production kernels but standard in development and CI builds; (2) The drm_gem_shmem_test module must be loaded and executable by the attacker (requires local user access with module execution permissions); (3) The test code path triggering drm_gem_shmem_madvise_locked() without lock acquisition must be invoked, typically by executing test binaries or running kernel test frameworks (kunit, etc.). Production Linux systems with standard kernel configurations and no test module enablement are NOT affected. The vulnerability is bounded to test infrastructure and does not impact regular driver code or user-facing kernel interfaces. Non-test DRM code properly acquires locks before calling madvise operations.

Impact

This vulnerability presents LOW real-world risk despite moderate CVSS scoring. The CVSS 5.5 reflects local authenticated access (AV:L/PR:L) with high availability impact (A:H), but the exploit surface is severely constrained: the vulnerability exists exclusively in kernel test code (drm/tests), not in production driver code or user-facing interfaces. The EPSS score of 0.02% (percentile 4%) further confirms low exploitation probability, consistent with it being a test-path issue unlikely to affect deployed systems. Active exploitation is not confirmed (no KEV status provided). The practical impact depends entirely on whether a system runs kernel test suites directly-a rare scenario outside development and testing environments. Production Linux systems do not execute drm/tests code paths. Defenders running standard kernels on production systems face negligible risk; kernel developers or CI/CD systems running full test suites should apply the patch. The 'Information Disclosure' tag appears misaligned with the denial-of-service mechanism described; the actual impact is availability degradation through kernel warnings and potential instability in test environments.

Exploit ScenarioDerived

A local user with standard (non-root) privileges on a system running kernel test suites executes the drm_gem_shmem_test test module, triggering the vulnerable code path in drm/tests that calls drm_gem_shmem_madvise_locked() without holding the reservation lock. The kernel logs a CPU warning (WARNING at drivers/gpu/drm/drm_gem_shmem_helper.c:499) and the DRM subsystem may become unstable or unresponsive, degrading graphics functionality or causing test suite failures.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 14, 2026

Denial of service via missing reservation lock in drm/tests shmem allows local authenticated users to trigger a kernel warning and crash the DRM graphics subsystem. The vulnerability exists in DRM test code that calls drm_gem_shmem_madvise_locked() without properly acquiring the GEM object's reservation lock, causing CPU warnings and potential system instability on affected kernel versions.

RemediationAI

Apply vendor-released patches from stable kernel branches: upgrade to kernel version 6.18.16, 6.19.6, 7.0, or later. For systems requiring immediate remediation before kernel upgrade, disable DRM test modules if they are loaded (rmmod drm_gem_shmem_test if available) or disable DRM test compilation entirely by setting CONFIG_DRM_GEM_SHMEM_HELPER=n or excluding test modules from kernel build. The practical mitigation for production systems is simple: do not compile or load DRM test code in production kernels-this is standard practice. Reference the fix commits at git.kernel.org/stable/c/9cc77691b5fd615625955cedf726da57543088f1, git.kernel.org/stable/c/07cfcab370da06f26c273306571cbb0bfa3b9c52, and git.kernel.org/stable/c/607d07d8cc0b835a8701259f08a03dc149b79b4f for implementation details.

Affected VersionsENISA

Linux 954907f7147dc43e0d1cd4d430c21d143d5fdf55 <9cc77691b5fd615625955cedf726da57543088f1
Linux patch: 0
Linux patch: 6.19.6
Linux 954907f7147dc43e0d1cd4d430c21d143d5fdf55 <07cfcab370da06f26c273306571cbb0bfa3b9c52
Linux 954907f7147dc43e0d1cd4d430c21d143d5fdf55 <607d07d8cc0b835a8701259f08a03dc149b79b4f
Linux patch: 6.18.16
Linux 6.16
Linux patch: 7.0

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the Direct Rendering Manager (DRM) subsystem's shared memory (shmem) helper functions, specifically within test code (drm/tests/drm_gem_shmem_test.c). The DRM graphics subsystem uses reservation locks to synchronize access to GEM (Graphics Execution Manager) objects in memory. The madvise operation, when called on shmem objects via drm_gem_shmem_madvise_locked(), requires that the reservation lock be held to prevent concurrent access violations. The test code was invoking this locked variant without acquiring the lock first, leading to kernel warnings logged at drivers/gpu/drm/drm_gem_shmem_helper.c:499. CWE classification not provided, but this is fundamentally a synchronization/locking issue (conceptually similar to CWE-667: Improper Locking). The fix exports a new helper function drm_gem_shmem_madvise() that wraps the locked operation with proper lock acquisition and release for test use only.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
May 14, 2026 - 19:22 NVD
5.5 (MEDIUM)
Patch available
May 08, 2026 - 14:02 EUVD
CVE Published
May 08, 2026 - 13:11 nvd
MEDIUM 5.5
CVE Published
May 08, 2026 - 13:11 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy