CVE-2025-71298

Source
https://cve.org/CVERecord?id=CVE-2025-71298
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71298.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-71298
Downstream
Published
2026-05-08T13:11:09.797Z
Modified
2026-07-15T01:49:12.348659437Z
Summary
drm/tests: shmem: Hold reservation lock around madvise
Details

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 drmgemshmemmadvise_locked+0xde/0x140

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71298.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
954907f7147dc43e0d1cd4d430c21d143d5fdf55
Fixed
9cc77691b5fd615625955cedf726da57543088f1
Fixed
07cfcab370da06f26c273306571cbb0bfa3b9c52
Fixed
607d07d8cc0b835a8701259f08a03dc149b79b4f

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71298.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.18.16
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71298.json"