{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-41008","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-07-12T12:17:45.610Z","datePublished":"2024-07-16T08:03:47.091Z","dateUpdated":"2025-09-16T08:02:39.206Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2025-09-16T08:02:39.206Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: change vm->task_info handling\n\nThis patch changes the handling and lifecycle of vm->task_info object.\nThe major changes are:\n- vm->task_info is a dynamically allocated ptr now, and its uasge is\n  reference counted.\n- introducing two new helper funcs for task_info lifecycle management\n    - amdgpu_vm_get_task_info: reference counts up task_info before\n      returning this info\n    - amdgpu_vm_put_task_info: reference counts down task_info\n- last put to task_info() frees task_info from the vm.\n\nThis patch also does logistical changes required for existing usage\nof vm->task_info.\n\nV2: Do not block all the prints when task_info not found (Felix)\n\nV3: Fixed review comments from Felix\n   - Fix wrong indentation\n   - No debug message for -ENOMEM\n   - Add NULL check for task_info\n   - Do not duplicate the debug messages (ti vs no ti)\n   - Get first reference of task_info in vm_init(), put last\n     in vm_fini()\n\nV4: Fixed review comments from Felix\n   - fix double reference increment in create_task_info\n   - change amdgpu_vm_get_task_info_pasid\n   - additional changes in amdgpu_gem.c while porting"}],"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_debugfs.c","drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c","drivers/gpu/drm/amd/amdgpu/amdgpu_job.c","drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c","drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c","drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h","drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c","drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c","drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c","drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c","drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c","drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c","drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c","drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c"],"versions":[{"version":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","lessThan":"b8f67b9ddf4f8fe6dd536590712b5912ad78f99c","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_debugfs.c","drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c","drivers/gpu/drm/amd/amdgpu/amdgpu_job.c","drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c","drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c","drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h","drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c","drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c","drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c","drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c","drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c","drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c","drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c","drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c"],"versions":[{"version":"4.2","status":"affected"},{"version":"0","lessThan":"4.2","status":"unaffected","versionType":"semver"},{"version":"6.9","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":"6.9"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/b8f67b9ddf4f8fe6dd536590712b5912ad78f99c"}],"title":"drm/amdgpu: change vm->task_info handling","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T04:39:56.069Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/b8f67b9ddf4f8fe6dd536590712b5912ad78f99c","tags":["x_transferred"]}]},{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-41008","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T17:00:49.381223Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-09-11T17:34:18.174Z"}}]}}