cve-2024-41008
Vulnerability from cvelistv5
Published
2024-07-16 08:03
Modified
2024-09-11 17:34
Severity ?
Summary
drm/amdgpu: change vm->task_info handling
Impacted products
LinuxLinux
LinuxLinux
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T04:39:56.069Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/b8f67b9ddf4f8fe6dd536590712b5912ad78f99c"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-41008",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T17:00:49.381223Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:34:18.174Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "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"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b8f67b9ddf4f",
              "status": "affected",
              "version": "1da177e4c3f4",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "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"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.9",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: change vm-\u003etask_info handling\n\nThis patch changes the handling and lifecycle of vm-\u003etask_info object.\nThe major changes are:\n- vm-\u003etask_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-\u003etask_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"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-07-16T08:03:47.091Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b8f67b9ddf4f8fe6dd536590712b5912ad78f99c"
        }
      ],
      "title": "drm/amdgpu: change vm-\u003etask_info handling",
      "x_generator": {
        "engine": "bippy-c9c4e1df01b2"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-41008",
    "datePublished": "2024-07-16T08:03:47.091Z",
    "dateReserved": "2024-07-12T12:17:45.610Z",
    "dateUpdated": "2024-09-11T17:34:18.174Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-41008\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-07-16T08:15:02.240\",\"lastModified\":\"2024-07-16T13:43:58.773\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/amdgpu: change vm-\u003etask_info handling\\n\\nThis patch changes the handling and lifecycle of vm-\u003etask_info object.\\nThe major changes are:\\n- vm-\u003etask_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-\u003etask_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\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/b8f67b9ddf4f8fe6dd536590712b5912ad78f99c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.