CVE-2025-71298
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
6.16
and later are affected. Fixed in
6.18.16,
6.19.6,
7.0
and their respective stable series.
References
The following references provide additional information about CVE-2025-71298 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/07cfcab370da06f26c273306571cbb0bfa3b9c52
-
PatchKernel patch commithttps://git.kernel.org/stable/c/607d07d8cc0b835a8701259f08a03dc149b79b4f
-
PatchKernel patch commithttps://git.kernel.org/stable/c/9cc77691b5fd615625955cedf726da57543088f1
Frequently asked questions
-
What is CVE-2025-71298?
CVE-2025-71298 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 6.16 onward and has been patched in 6.18.16, 6.19.6 and 7.0. CVE-2025-71298 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-71298?
CVE-2025-71298 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-71298?
Yes — CVE-2025-71298 has been patched. Fixed versions include 6.18.16, 6.19.6 and 7.0. If you are running Linux kernel 6.16 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-71298 actively exploited?
No — CVE-2025-71298 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.