{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99620","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.425Z","datePublished":"2026-11-20T05:49:40.646Z","dateUpdated":"2026-11-20T05:49:40.646Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-20T05:49:40.646Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: don't walk the CS chunks when allocating them failed\n\namdgpu_cs_pass1() sets p->nchunks before allocating p->chunks, and the\nallocation failure path skips resetting it. amdgpu_cs_parser_fini() then\nfrees the kdata of nchunks chunks from a NULL array. On navi48 with the\nchunk array allocation failed through failslab:\n\n  Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN NOPTI\n  KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]\n  RIP: 0010:amdgpu_cs_parser_fini+0x35d/0x710 [amdgpu]\n   amdgpu_cs_ioctl+0xcae/0x7a20 [amdgpu]\n   drm_ioctl_kernel+0x180/0x320 [drm]\n\nSet nchunks once the array exists.\n\n(cherry picked from commit 0c828445757b86aaa3ed2638832d76f450022bdf)"}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c"],"versions":[{"version":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","lessThan":"be90166ed3be02c13253f54ed2a8fe98a66cea30","status":"affected","versionType":"git"},{"version":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","lessThan":"ade92d50aad6799a5a9d7e73cd1604fd0576e656","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c"],"versions":[{"version":"4.2","status":"affected"},{"version":"0","lessThan":"4.2","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"7.4-rc2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/be90166ed3be02c13253f54ed2a8fe98a66cea30"},{"url":"https://git.kernel.org/stable/c/ade92d50aad6799a5a9d7e73cd1604fd0576e656"}],"title":"drm/amdgpu: don't walk the CS chunks when allocating them failed","x_generator":{"engine":"bippy-1.2.0"}}}}