{"id":"CVE-2026-63842","state":"PUBLISHED","title":"drm/amdgpu/jpeg: set no_user_fence for JPEG v5.0.0 ring","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/jpeg: set no_user_fence for JPEG v5.0.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 0f43893d3cd478fa57836697525b338817c9c23d)","publishedAt":"2026-07-19T14:04:37.212Z","updatedAt":"2026-10-19T20:07:50.047Z","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":"dfad65c65728401587142577dd283476491bac83","status":"affected","lessThan":"3a55ff19a6ff5e046d6a4a18e36deec5d95d9a2e","versionType":"git"},{"version":"dfad65c65728401587142577dd283476491bac83","status":"affected","lessThan":"a7e63bb93a7fde3c8920984c3deee9acfe461562","versionType":"git"},{"version":"dfad65c65728401587142577dd283476491bac83","status":"affected","lessThan":"69ab75c7c5f378eb46f4c918aa848bb5c5603924","versionType":"git"},{"version":"dfad65c65728401587142577dd283476491bac83","status":"affected","lessThan":"ea7c61c5f895e8f9ea0ffffa180498ef9c740152","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.12.91","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","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_0_0.c"]}],"references":["https://git.kernel.org/stable/c/3a55ff19a6ff5e046d6a4a18e36deec5d95d9a2e","https://git.kernel.org/stable/c/a7e63bb93a7fde3c8920984c3deee9acfe461562","https://git.kernel.org/stable/c/69ab75c7c5f378eb46f4c918aa848bb5c5603924","https://git.kernel.org/stable/c/ea7c61c5f895e8f9ea0ffffa180498ef9c740152"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/63xxx/CVE-2026-63842.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-63842","state":"PUBLISHED","datePublished":"2026-07-19T14:04:37.212Z","dateUpdated":"2026-10-19T20:07:50.047Z","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.0.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.0.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 0f43893d3cd478fa57836697525b338817c9c23d)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dfad65c65728401587142577dd283476491bac83","status":"affected","lessThan":"3a55ff19a6ff5e046d6a4a18e36deec5d95d9a2e","versionType":"git"},{"version":"dfad65c65728401587142577dd283476491bac83","status":"affected","lessThan":"a7e63bb93a7fde3c8920984c3deee9acfe461562","versionType":"git"},{"version":"dfad65c65728401587142577dd283476491bac83","status":"affected","lessThan":"69ab75c7c5f378eb46f4c918aa848bb5c5603924","versionType":"git"},{"version":"dfad65c65728401587142577dd283476491bac83","status":"affected","lessThan":"ea7c61c5f895e8f9ea0ffffa180498ef9c740152","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.12.91","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","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_0_0.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3a55ff19a6ff5e046d6a4a18e36deec5d95d9a2e"},{"url":"https://git.kernel.org/stable/c/a7e63bb93a7fde3c8920984c3deee9acfe461562"},{"url":"https://git.kernel.org/stable/c/69ab75c7c5f378eb46f4c918aa848bb5c5603924"},{"url":"https://git.kernel.org/stable/c/ea7c61c5f895e8f9ea0ffffa180498ef9c740152"}],"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 AMDGPU command buffers via DRM_IOCTL_AMDGPU_CS on a local /dev/dri/renderD* device; the JPEG ring is not reachable over the network.\nAC:L - An attacker with render-node access can deterministically submit a CS with an AMDGPU_CHUNK_ID_FENCE chunk and a JPEG-ring IB (AMDGPU_HW_IP_VCN_JPEG); no race or external timing is required.\nPR:L - The amdgpu_cs_ioctl path is gated by DRM_AUTH|DRM_RENDER_ALLOW, reachable by unprivileged local users with standard render-node access (render group membership), not root.\nUI:N - No victim interaction is required; the attacker triggers the malformed user-fence write through their own ioctl submission.\nS:U - Impact is confined to GPU memory writes within the attacker's amdgpu VM context; this is standard local privilege/resource abuse, not a VM escape or cross-authority boundary crossing.\nC:H - The JPEG engine performs an unsupported 64-bit fence memory write (via jpeg_v4_0_3_dec_ring_emit_fence with AMDGPU_FENCE_FLAG_64BIT), causing GPU memory corruption that can be leveraged for arbitrary read primitives within the attacker's GPU address space.\nI:H - The malformed hardware fence write can corrupt arbitrary GPU-mapped buffers in the submitter's VM, providing a write primitive that could be developed into GPU code execution or further kernel compromise.\nA:H - Incorrect fence handling can hang or reset the GPU (affecting all users of the device) and may trigger kernel GPU driver recovery paths, causing denial of service."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:36:19.801Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.12.91"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.18.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.0.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-63842","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:31:44.407900Z"}}}],"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:50.047Z"}}]}}}