{"api_version":"1","generated_at":"2026-11-20T19:06:10+00:00","cve":"CVE-2026-99620","urls":{"html":"https://cve.report/CVE-2026-99620","api":"https://cve.report/api/cve/CVE-2026-99620.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99620","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99620"},"summary":{"title":"drm/amdgpu: don't walk the CS chunks when allocating them failed","description":"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)","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:17:54","updated_at":"2026-11-20 06:17:54"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/ade92d50aad6799a5a9d7e73cd1604fd0576e656","name":"https://git.kernel.org/stable/c/ade92d50aad6799a5a9d7e73cd1604fd0576e656","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/be90166ed3be02c13253f54ed2a8fe98a66cea30","name":"https://git.kernel.org/stable/c/be90166ed3be02c13253f54ed2a8fe98a66cea30","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99620","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99620","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 be90166ed3be02c13253f54ed2a8fe98a66cea30 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 ade92d50aad6799a5a9d7e73cd1604fd0576e656 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"be90166ed3be02c13253f54ed2a8fe98a66cea30","status":"affected","version":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","versionType":"git"},{"lessThan":"ade92d50aad6799a5a9d7e73cd1604fd0576e656","status":"affected","version":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.2"},{"lessThan":"4.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"4.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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)"}],"providerMetadata":{"dateUpdated":"2026-11-20T05:49:40.646Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99620","datePublished":"2026-11-20T05:49:40.646Z","dateReserved":"2026-09-25T10:25:14.425Z","dateUpdated":"2026-11-20T05:49:40.646Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:17:54","lastModifiedDate":"2026-11-20 06:17:54","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99620","Ordinal":"1","Title":"drm/amdgpu: don't walk the CS chunks when allocating them failed","CVE":"CVE-2026-99620","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99620","Ordinal":"1","NoteData":"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)","Type":"Description","Title":"drm/amdgpu: don't walk the CS chunks when allocating them failed"}]}}}