| { |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038" |
| }, |
| "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": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2", |
| "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": "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:*:*:*:*:*:*:*:*", |
| "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" |
| } |
| } |
| }, |
| "cveMetadata": { |
| "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038", |
| "cveID": "CVE-2024-41008", |
| "requesterUserId": "gregkh@kernel.org", |
| "serial": "1", |
| "state": "PUBLISHED" |
| }, |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0" |
| } |