{"id":"CVE-2025-71298","aliases":["CVE-2025-71298"],"related":[],"kind":"vulnerability","state":"published","title":"drm/tests: shmem: Hold reservation lock around madvise","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/tests: shmem: Hold reservation lock around madvise\n\nAcquire and release the GEM object's reservation lock around calls\nto the object's madvide operation. The tests use\ndrm_gem_shmem_madvise_locked(), which led to errors such as show below.\n\n[   58.339389] WARNING: CPU: 1 PID: 1352 at drivers/gpu/drm/drm_gem_shmem_helper.c:499 drm_gem_shmem_madvise_locked+0xde/0x140\n\nOnly export the new helper drm_gem_shmem_madvise() for Kunit tests.\nThis is not an interface for regular drivers.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/tests: shmem: Hold reservation lock around madvise\n\nAcquire and release the GEM object's reservation lock around calls\nto the object's madvide operation. The tests use\ndrm_gem_shmem_madvise_locked(), which led to errors such as show below.\n\n[   58.339389] WARNING: CPU: 1 PID: 1352 at drivers/gpu/drm/drm_gem_shmem_helper.c:499 drm_gem_shmem_madvise_locked+0xde/0x140\n\nOnly export the new helper drm_gem_shmem_madvise() for Kunit tests.\nThis is not an interface for regular drivers.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/tests: shmem: Retener el bloqueo de reserva en torno a madvise\n\nAdquirir y liberar el bloqueo de reserva del objeto GEM en torno a las llamadas a la operación madvise del objeto. Las pruebas utilizan drm_gem_shmem_madvise_locked(), lo que provocó errores como los que se muestran a continuación.\n\n[ 58.339389] WARNING: CPU: 1 PID: 1352 at drivers/gpu/drm/drm_gem_shmem_helper.c:499 drm_gem_shmem_madvise_locked+0xde/0x140\n\nSolo exportar la nueva función auxiliar drm_gem_shmem_madvise() para las pruebas Kunit. Esta no es una interfaz para controladores normales.","source":"nvd"}],"published":"2026-05-08T13:11:09.797Z","modified":"2026-11-05T22:17:41.033Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"954907f7147dc43e0d1cd4d430c21d143d5fdf55","fixed":"9cc77691b5fd615625955cedf726da57543088f1","status":"affected"},{"type":"git","introduced":"954907f7147dc43e0d1cd4d430c21d143d5fdf55","fixed":"07cfcab370da06f26c273306571cbb0bfa3b9c52","status":"affected"},{"type":"git","introduced":"954907f7147dc43e0d1cd4d430c21d143d5fdf55","fixed":"607d07d8cc0b835a8701259f08a03dc149b79b4f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.18.16","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.6","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.16","fixed":"6.18.16"},{"status":"affected","introduced":"6.19","fixed":"6.19.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9cc77691b5fd615625955cedf726da57543088f1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/07cfcab370da06f26c273306571cbb0bfa3b9c52","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/607d07d8cc0b835a8701259f08a03dc149b79b4f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:17:10.526Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71298","url":"https://www.cve.org/CVERecord?id=CVE-2025-71298","licence":"CVE Terms of Use","modified":"2026-11-05T21:23:12.595Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71298","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71298","licence":"Public domain","modified":"2026-11-05T22:17:41.033Z"}],"updatedAt":"2026-11-25T22:59:12.155Z","epss":{"score":0.00121,"percentile":0.02104,"date":"2026-12-01T12:00:22.000Z"}}