CVE-2025-71298: drm/tests: shmem: Hold reservation lock around madvise
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
Remediation
Event History
Frequently Asked Questions
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.
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.
What systems are affected by CVE-2025-71298?
CVE-2025-71298 affects the Linux kernel, specifically those components related to DRM and memory management.
What type of vulnerability is CVE-2025-71298?
CVE-2025-71298 is a memory management vulnerability involving improper locking during madvise operations.
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.