{"id":"CVE-2026-63840","state":"PUBLISHED","title":"drm/amdgpu/jpeg: set no_user_fence for JPEG v5.3.0 ring","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/jpeg: set no_user_fence for JPEG v5.3.0 ring\n\nJPEG rings do not support 64-bit user fence writes, reject CS\nsubmissions with user fences.\n\n(cherry picked from commit 86ac011ae234c03fb872f4945913391ea1d8862e)","publishedAt":"2026-07-19T14:04:35.890Z","updatedAt":"2026-10-19T20:07:49.767Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4aeaf3cbfa9f967e71849c66c6914ab6c2054581","status":"affected","lessThan":"46ad73aec27d020f103b4262e4da2d2c22f54799","versionType":"git"},{"version":"4aeaf3cbfa9f967e71849c66c6914ab6c2054581","status":"affected","lessThan":"3b0ea2021351b6b813b34fac940957f1f4fad85b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/jpeg_v5_3_0.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","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/amd/amdgpu/jpeg_v5_3_0.c"]}],"references":["https://git.kernel.org/stable/c/46ad73aec27d020f103b4262e4da2d2c22f54799","https://git.kernel.org/stable/c/3b0ea2021351b6b813b34fac940957f1f4fad85b"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/63xxx/CVE-2026-63840.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-63840","state":"PUBLISHED","datePublished":"2026-07-19T14:04:35.890Z","dateUpdated":"2026-10-19T20:07:49.767Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T07:54:57.015Z"},"containers":{"cna":{"title":"drm/amdgpu/jpeg: set no_user_fence for JPEG v5.3.0 ring","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/jpeg: set no_user_fence for JPEG v5.3.0 ring\n\nJPEG rings do not support 64-bit user fence writes, reject CS\nsubmissions with user fences.\n\n(cherry picked from commit 86ac011ae234c03fb872f4945913391ea1d8862e)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4aeaf3cbfa9f967e71849c66c6914ab6c2054581","status":"affected","lessThan":"46ad73aec27d020f103b4262e4da2d2c22f54799","versionType":"git"},{"version":"4aeaf3cbfa9f967e71849c66c6914ab6c2054581","status":"affected","lessThan":"3b0ea2021351b6b813b34fac940957f1f4fad85b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/jpeg_v5_3_0.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","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/amd/amdgpu/jpeg_v5_3_0.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/46ad73aec27d020f103b4262e4da2d2c22f54799"},{"url":"https://git.kernel.org/stable/c/3b0ea2021351b6b813b34fac940957f1f4fad85b"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Exploitation requires submitting DRM_IOCTL_AMDGPU_CS on a local /dev/dri/renderD* device node; the vulnerable JPEG v5.3.0 ring path is only reachable through this local ioctl interface, not over the network.\nAC:L - An attacker with render-node access can reliably craft an AMDGPU_CS submission with a FENCE chunk targeting the JPEG ring (ip_type=AMDGPU_HW_IP_VCN_JPEG) on VCN/JPEG 5.3.0 hardware without races or conditions outside their control.\nPR:L - DRM_IOCTL_AMDGPU_CS is gated by DRM_AUTH|DRM_RENDER_ALLOW, requiring only unprivileged local access to a render node (typical for users in the render/video group, browser GPU processes, or cloud GPU tenants), not root in the init namespace.\nUI:N - No victim interaction is required once the attacker has render-node access; exploitation is achieved entirely through crafted ioctl submissions.\nS:U - Impact is confined to the kernel/GPU driver security domain of the compromised context; this is a standard local GPU driver memory-corruption issue, not a VM escape or cross-security-authority boundary bypass.\nC:H - The unsupported 64-bit user fence path causes the JPEG engine to perform a GPU-initiated memory write to attacker-chosen GPU virtual addresses, providing a memory-corruption primitive that can be leveraged for arbitrary kernel memory disclosure in exploit chains.\nI:H - The malformed fence write is a GPU-driven arbitrary memory write to attacker-controlled GPU VA mappings (including GTT-backed system memory), constituting a memory corruption primitive exploitable for code execution or privilege escalation.\nA:H - Triggering unsupported fence operations on the JPEG engine can cause GPU hangs, engine resets, or kernel warnings/oops, resulting in denial of service affecting system availability."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:36:17.647Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.0.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-63840","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:31:32.881224Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","type":"CWE","description":"CWE-20 Improper Input Validation"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T20:07:49.767Z"}}]}}}