{"id":"CVE-2025-71314","state":"PUBLISHED","title":"drm/panthor: Recover from panthor_gpu_flush_caches() failures","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panthor: Recover from panthor_gpu_flush_caches() failures\n\nWe have seen a few cases where the whole memory subsystem is blocked\nand flush operations never complete. When that happens, we want to:\n\n- schedule a reset, so we can recover from this situation\n- in the reset path, we need to reset the pending_reqs so we can send\n  new commands after the reset\n- if more panthor_gpu_flush_caches() operations are queued after\n  the timeout, we skip them and return -EIO directly to avoid needless\n  waits (the memory block won't miraculously work again)\n\nNote that we drop the WARN_ON()s because these hangs can be triggered\nwith buggy GPU jobs created by the UMD, and there's no way we can\nprevent it. We do keep the error messages though.\n\nv2:\n- New patch\n\nv3:\n- Collect R-b\n- Explicitly mention the fact we dropped the WARN_ON()s in the commit\n  message\n\nv4:\n- No changes","publishedAt":"2026-06-03T15:49:39.523Z","updatedAt":"2026-06-03T15:49:39.523Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5cd894e258c4b0b92b9b475309cea244e590d194","status":"affected","lessThan":"8ec4f1b14a6147db07d6e51aa1d6bcc799649847","versionType":"git"},{"version":"5cd894e258c4b0b92b9b475309cea244e590d194","status":"affected","lessThan":"57753f2c64c033a21a7400b3a2192db1cd6c890e","versionType":"git"},{"version":"5cd894e258c4b0b92b9b475309cea244e590d194","status":"affected","lessThan":"2c899c6026fc9d39286735b30c4d8550d4ea075b","versionType":"git"},{"version":"5cd894e258c4b0b92b9b475309cea244e590d194","status":"affected","lessThan":"3c0a60195b37af83bbbaf223cd3a78945bace49e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_gpu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.14","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.4","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_gpu.c"]}],"references":["https://git.kernel.org/stable/c/8ec4f1b14a6147db07d6e51aa1d6bcc799649847","https://git.kernel.org/stable/c/57753f2c64c033a21a7400b3a2192db1cd6c890e","https://git.kernel.org/stable/c/2c899c6026fc9d39286735b30c4d8550d4ea075b","https://git.kernel.org/stable/c/3c0a60195b37af83bbbaf223cd3a78945bace49e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/71xxx/CVE-2025-71314.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-71314","state":"PUBLISHED","datePublished":"2026-06-03T15:49:39.523Z","dateUpdated":"2026-06-03T15:49:39.523Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-27T12:23:27.414Z"},"containers":{"cna":{"title":"drm/panthor: Recover from panthor_gpu_flush_caches() failures","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panthor: Recover from panthor_gpu_flush_caches() failures\n\nWe have seen a few cases where the whole memory subsystem is blocked\nand flush operations never complete. When that happens, we want to:\n\n- schedule a reset, so we can recover from this situation\n- in the reset path, we need to reset the pending_reqs so we can send\n  new commands after the reset\n- if more panthor_gpu_flush_caches() operations are queued after\n  the timeout, we skip them and return -EIO directly to avoid needless\n  waits (the memory block won't miraculously work again)\n\nNote that we drop the WARN_ON()s because these hangs can be triggered\nwith buggy GPU jobs created by the UMD, and there's no way we can\nprevent it. We do keep the error messages though.\n\nv2:\n- New patch\n\nv3:\n- Collect R-b\n- Explicitly mention the fact we dropped the WARN_ON()s in the commit\n  message\n\nv4:\n- No changes"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5cd894e258c4b0b92b9b475309cea244e590d194","status":"affected","lessThan":"8ec4f1b14a6147db07d6e51aa1d6bcc799649847","versionType":"git"},{"version":"5cd894e258c4b0b92b9b475309cea244e590d194","status":"affected","lessThan":"57753f2c64c033a21a7400b3a2192db1cd6c890e","versionType":"git"},{"version":"5cd894e258c4b0b92b9b475309cea244e590d194","status":"affected","lessThan":"2c899c6026fc9d39286735b30c4d8550d4ea075b","versionType":"git"},{"version":"5cd894e258c4b0b92b9b475309cea244e590d194","status":"affected","lessThan":"3c0a60195b37af83bbbaf223cd3a78945bace49e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_gpu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.14","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.4","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_gpu.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8ec4f1b14a6147db07d6e51aa1d6bcc799649847"},{"url":"https://git.kernel.org/stable/c/57753f2c64c033a21a7400b3a2192db1cd6c890e"},{"url":"https://git.kernel.org/stable/c/2c899c6026fc9d39286735b30c4d8550d4ea075b"},{"url":"https://git.kernel.org/stable/c/3c0a60195b37af83bbbaf223cd3a78945bace49e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-06-03T15:49:39.523Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.75"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.19.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}