CVE-2025-71298: drm/tests: shmem: Hold reservation lock around madvise

Published May 8, 2026
·
Updated

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 drmgemshmemmadviselocked(), which led to errors such as show below.

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

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

Affected Software

3 affected components
Linux Linux kernel
Linux Linux kernel>=6.16<6.18.16
Linux Linux kernel>=6.19<6.19.6

Event History

May 8, 2026
CVE Published
via MITRE·01:11 PM
Data Sourced
via MITRE·01:11 PM
Description
Data Sourced
via NVD·02:16 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-71298?

The severity of CVE-2025-71298 is classified as medium due to the potential risk associated with improper handling of memory resourcing in the Linux kernel.

2

How do I fix CVE-2025-71298?

To fix CVE-2025-71298, ensure that you upgrade to the latest version of the Linux kernel where this vulnerability has been patched.

3

What systems are affected by CVE-2025-71298?

CVE-2025-71298 affects the Linux kernel, specifically those components related to DRM and memory management.

4

What type of vulnerability is CVE-2025-71298?

CVE-2025-71298 is a memory management vulnerability involving improper locking during madvise operations.

5

Can CVE-2025-71298 lead to data loss?

Yes, CVE-2025-71298 can potentially lead to data loss due to improper memory management and resource handling.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203